Changeset 1965 for branches/fc15-dev/server/fedora
- Timestamp:
- Sep 4, 2011, 5:08:26 PM (13 years ago)
- Location:
- branches/fc15-dev/server/fedora
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc15-dev/server/fedora/specs/whoisd.spec
r927 r1965 1 Summary: 2 Group: 3 Name: 4 Version: 5 Release: 06 Vendor: 7 URL: 8 License: 9 Source0: 10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1 Summary: whoisd for <scripts.mit.edu> (virtualhost aware) 2 Group: Applications/System 3 Name: whoisd 4 Version: 0.%{scriptsversion} 5 Release: 1 6 Vendor: The scripts.mit.edu Team (scripts@mit.edu) 7 URL: http://scripts.mit.edu 8 License: GPL 9 Source0: %{name}.tar.gz 10 11 11 %define debug_package %{nil} 12 12 13 #BuildRequires: make 14 Requires: python-twisted-core 13 Requires: python-twisted-core 14 BuildRequires: systemd-units 15 16 Requires(post): systemd-units 17 Requires(preun): systemd-units 18 Requires(postun): systemd-units 19 Requires(post): systemd-sysv 15 20 16 21 %description … … 24 29 25 30 %install 26 [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT27 31 make install DESTDIR=$RPM_BUILD_ROOT exec_prefix=/usr/local 28 32 29 %clean 30 [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT 33 %post 34 if [ $1 -eq 1 ] ; then 35 # Initial installation 36 /bin/systemctl enable scripts-whoisd.service >/dev/null 2>&1 || : 37 fi 38 39 %preun 40 if [ $1 -eq 0 ]; then 41 /bin/systemctl --no-reload disable scripts-whoisd.service >/dev/null 2>&1 || : 42 /bin/systemctl stop scripts-whoisd.service > /dev/null 2>&1 || : 43 fi 44 45 %postun 46 /bin/systemctl daemon-reload >/dev/null 2>&1 || : 47 if [ $1 -ge 1 ]; then 48 /bin/systemctl try-restart scripts-whoisd.service >/dev/null 2>&1 || : 49 fi 31 50 32 51 %files 33 52 %defattr(0644,root,root,-) 34 53 /usr/local/libexec/whoisd.tac 35 %defattr(06 00,root,root)36 / etc/cron.d/whoisd54 %defattr(0644,root,root) 55 /lib/systemd/system/scripts-whoisd.service 37 56 38 57 %changelog 58 * Thu Aug 25 2011 Alexander Chernyakhovsky <achernya@mit.edu> 0-1 59 - package systemd service file 39 60 40 61 * Tue Jun 03 2008 Joe Presbrey <presbrey@mit.edu> 0.00
Note: See TracChangeset
for help on using the changeset viewer.