~ubuntu-branches/ubuntu/quantal/pp-popularity-contest/quantal

« back to all changes in this revision

Viewing changes to pp-popularity-contest.spec

  • Committer: Package Import Robot
  • Author(s): Laszlo Kajan
  • Date: 2011-10-31 21:36:55 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111031213655-cliv62q9gxm64zjb
Tags: 1.0.4-1
* New upstream release
* fixed cron.daily that called script in pkgdatadir also after package
  uninstall - resulting in cron (error) output after package uninstall
  (Closes: #644057)
* fixed curl issue with handling redirect from server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Summary: PredictProtein popularity contest
2
2
Name: pp-popularity-contest
3
 
Version: 1.0.3
 
3
Version: 1.0.4
4
4
Release: 1
5
5
License: GPL
6
6
Group: Applications/Science
8
8
URL: http://rostlab.org/
9
9
BuildRoot: %{_tmppath}/%{name}-%{version}-root
10
10
BuildRequires: gcc-c++, boost-devel
11
 
Requires: crontabs, curl, perl
 
11
Requires: crontabs, curl, perl, perl-URI
12
12
 
13
13
%define common_desc The pp-popularity-contest package sets up a cron job \
14
14
 that will periodically anonymously submit to the Rost Lab developers \
39
39
mv %{buildroot}%{_bindir}/pp_popcon_cnt.static %{buildroot}%{_bindir}/pp_popcon_cnt
40
40
 
41
41
mkdir -p  %{buildroot}%{_sysconfdir}/cron.daily
42
 
echo -e "#!/bin/sh\n%{_datadir}/%{name}/cron.daily\n" > %{buildroot}%{_sysconfdir}/cron.daily/%{name}
 
42
echo -e "#!/bin/sh\nif [ -x %{_datadir}/%{name}/cron.daily ]; then %{_datadir}/%{name}/cron.daily; fi\n" > %{buildroot}%{_sysconfdir}/cron.daily/%{name}
43
43
chmod +x %{buildroot}%{_sysconfdir}/cron.daily/%{name}
44
44
 
45
45
mkdir -p %{buildroot}%{_var}/spool/pp-popcon
59
59
%dir %attr(1777,root,root) %{_var}/spool/pp-popcon
60
60
 
61
61
%changelog
 
62
* Mon Oct 31 2011 Laszlo Kajan <lkajan@rostlab.org> - 1.0.4-1
 
63
- new upstream release
62
64
* Wed Sep 28 2011 Laszlo Kajan <lkajan@rostlab.org> - 1.0.3-1
63
65
- new upstream release
64
66
* Wed Aug 31 2011 Laszlo Kajan <lkajan@rostlab.org> - 1.0.2-1