source: trunk/server/fedora/specs/accountadm.spec @ 2695

Last change on this file since 2695 was 2591, checked in by achernya, 10 years ago
Reintegrate fc20-dev into trunk
File size: 1.9 KB
RevLine 
[1]1Summary: scripts.mit.edu locker administration system
2Group: Applications/System
[67]3Name: accountadm
[926]4Version: 0.%{scriptsversion}
[120]5Release: 0
[1]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
[2105]11BuildRequires: scripts-openafs-devel, scripts-openafs-authlibs-devel
[2591]12BuildRequires: hesiod
[1327]13BuildRequires: openldap-clients
14BuildRequires: krb5-devel
15BuildRequires: sudo
[2591]16Requires: hesiod
[1327]17Requires: openldap-clients
18Requires: sudo
[1]19%define debug_package %{nil}
[36]20Prereq: /usr/bin/fs, /usr/bin/pts
[1]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 - Perl script that handles signup requests <signup-scripts-backend>
[765]28 - vhostadd,vhostedit: admin tools for adding and editing virtualhosts
29 - cronload: userspace tool for setting crontab from Athena
[1]30See http://scripts.mit.edu/wiki for more information.
31
32%prep
33%setup -q -n %{name}
34
35%build
[36]36./configure --with-fs=/usr/bin/fs --with-pts=/usr/bin/pts
[1]37make
38
39%install
40[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
[89]41make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local
[1]42
43%clean
44[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(0644, root, root)
[134]48/usr/local/etc/mbashrc
[1]49%defattr(0755, root, root)
[134]50/usr/local/bin/mbash
[125]51/usr/local/bin/admof
[765]52/usr/local/bin/cronload
[125]53/usr/local/sbin/ssh-admof
[1]54/usr/local/sbin/signup-scripts-backend
[765]55/usr/local/sbin/vhostadd
56/usr/local/sbin/vhostedit
[1377]57/usr/local/sbin/ldap-backup
[2300]58/usr/local/sbin/get-homedirs
[1]59
60%pre
[392]61groupadd -g 102 signup || [ $? -eq 9 ]
62useradd -u 102 -g signup -d /afs/athena.mit.edu/contrib/scripts/signup -M signup || [ $? -eq 9 ]
[1]63
64%postun
[918]65if [ "$1" = "0" ] ; then
66   userdel signup
67fi
[1]68
69%changelog
[918]70* Wed Dec 31 2008  Quentin Smith <quentin@mit.edu> - 0.917-0
71- don't delete signup user on upgrades
[1]72
73* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
74- prerelease
Note: See TracBrowser for help on using the repository browser.