source: server/fedora/specs/tokensys.spec @ 3

Last change on this file since 3 was 2, checked in by jbarnold, 18 years ago
groupdel not needed after userdel
File size: 1.2 KB
Line 
1Summary: scripts.mit.edu AFS administration system
2Group: Applications/System
3Name: tokensys
4Version: 0.00
5Release: scripts
6Vendor: The scripts.mit.edu Team (scripts@mit.edu)
7URL: http://scripts.mit.edu
8License: GPL
9Source: %{name}.tar.gz
10BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root
11%define debug_package %{nil}
12
13%description 
14
15scripts.mit.edu AFS administration system
16Contains:
17 - A shell script for renewing the system's AFS credentials <renew>
18 - A crontab for calling the renew script <crontab>
19See http://scripts.mit.edu/wiki for more information.
20
21%prep
22%setup -q -n %{name}
23
24%build
25./configure
26
27%install
28[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
29install -D renew $RPM_BUILD_ROOT/home/afsagent/renew
30install -D crontab $RPM_BUILD_ROOT/home/afsagent/crontab
31
32%clean
33[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
34
35%files
36%defattr(0644, afsagent, afsagent)
37/home/afsagent/crontab
38%defattr(0755, afsagent, afsagent)
39/home/afsagent/renew
40
41%pre
42groupadd -g 101 afsagent
43useradd -u 101 -g 101 afsagent
44
45%post
46crontab -u afsagent /home/afsagent/crontab
47
48%preun
49crontab -u afsagent -r
50
51%postun
52userdel -r afsagent
53
54%changelog
55
56* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
57- initial prerelease version
Note: See TracBrowser for help on using the repository browser.