source: branches/fc15-dev/server/fedora/specs/accountadm.spec @ 1911

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