source: branches/locker-dev/server/fedora/specs/accountadm.spec

Last change on this file was 933, checked in by andersk, 16 years ago
We need the patched pts in scripts-openafs-devel for accountadm.
File size: 1.8 KB
Line 
1Summary: scripts.mit.edu locker administration system
2Group: Applications/System
3Name: accountadm
4Version: 0.%{scriptsversion}
5Release: 0
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
11BuildRequires: scripts-openafs-devel
12%define debug_package %{nil}
13Prereq: /usr/bin/fs, /usr/bin/pts
14
15%description 
16
17scripts.mit.edu locker administration system
18Contains:
19 - Perl script for checking whether a user is a locker admin <admof>
20 - setuid C program used to start a signup request <signup-scripts-frontend>
21 - Perl script that handles signup requests <signup-scripts-backend>
22 - vhostadd,vhostedit: admin tools for adding and editing virtualhosts
23 - cronload: userspace tool for setting crontab from Athena
24See http://scripts.mit.edu/wiki for more information.
25
26%prep
27%setup -q -n %{name}
28
29%build
30./configure --with-fs=/usr/bin/fs --with-pts=/usr/bin/pts
31make
32
33%install
34[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
35make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local
36
37%clean
38[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(0644, root, root)
42/usr/local/etc/mbashrc
43%defattr(0755, root, root)
44/usr/local/bin/mbash
45/usr/local/bin/admof
46/usr/local/bin/cronload
47/usr/local/sbin/ssh-admof
48/usr/local/sbin/signup-scripts-backend
49/usr/local/sbin/vhostadd
50/usr/local/sbin/vhostedit
51%defattr(4755, signup, signup)
52/usr/local/sbin/signup-scripts-frontend
53
54%pre
55groupadd -g 102 signup || [ $? -eq 9 ]
56useradd -u 102 -g signup -d /afs/athena.mit.edu/contrib/scripts/signup -M signup || [ $? -eq 9 ]
57
58%postun
59if [ "$1" = "0" ] ; then
60   userdel signup
61fi
62
63%changelog
64* Wed Dec 31 2008  Quentin Smith <quentin@mit.edu> - 0.917-0
65- don't delete signup user on upgrades
66
67* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
68- prerelease
Note: See TracBrowser for help on using the repository browser.