|
Last change
on this file since 2666 was
926,
checked in by quentin, 17 years ago
|
|
Use an RPM macro instead of sed to specify package versions
|
|
File size:
934 bytes
|
| Line | |
|---|
| 1 | Summary: Signup interface to <sql.mit.edu> for <scripts.mit.edu>. |
|---|
| 2 | Group: Applications/System |
|---|
| 3 | Name: sql-signup |
|---|
| 4 | Version: 0.%{scriptsversion} |
|---|
| 5 | Release: 0 |
|---|
| 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 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|---|
| 11 | %define debug_package %{nil} |
|---|
| 12 | |
|---|
| 13 | BuildRequires: make |
|---|
| 14 | Requires: pam, usermode |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | %prep |
|---|
| 20 | %setup -q -n %{name} |
|---|
| 21 | |
|---|
| 22 | %build |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | %install |
|---|
| 26 | rm -rf $RPM_BUILD_ROOT |
|---|
| 27 | make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr/local |
|---|
| 28 | |
|---|
| 29 | %clean |
|---|
| 30 | rm -rf $RPM_BUILD_ROOT |
|---|
| 31 | |
|---|
| 32 | %files |
|---|
| 33 | %defattr(-,root,root,-) |
|---|
| 34 | %defattr(755,root,root,-) |
|---|
| 35 | %{_bindir}/sql-signup |
|---|
| 36 | %{_sbindir}/sql-signup |
|---|
| 37 | %defattr(644,root,root,-) |
|---|
| 38 | %config /etc/pam.d/sql-signup |
|---|
| 39 | %config /etc/security/console.apps/sql-signup |
|---|
| 40 | |
|---|
| 41 | %changelog |
|---|
| 42 | |
|---|
| 43 | * Fri Jan 26 2007 Joe Presbrey <presbrey@mit.edu> 0.00 |
|---|
| 44 | - prerelease |
|---|
Note: See
TracBrowser
for help on using the repository browser.