Last change
on this file since 1499 was
1235,
checked in by mitchb, 15 years ago
|
Tidy up dependencies for php_scripts
o Add BuildRequires dependency on php-devel (for phpize) in php_scripts
o Add php-devel to scripts install-deps for oursrc packages
o Make php_scripts a dependency of scripts-base
|
File size:
862 bytes
|
Rev | Line | |
---|
[1234] | 1 | Summary: scripts.mit.edu php logging module |
---|
| 2 | Group: Applications/System |
---|
| 3 | Name: php_scripts |
---|
| 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 | Source: %{name}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%(%{__id_u} -n)-%{name}-%{version}-root |
---|
[1235] | 11 | BuildRequires: php-devel |
---|
[1234] | 12 | %define debug_package %{nil} |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | |
---|
| 16 | scripts.mit.edu php logging module |
---|
| 17 | |
---|
| 18 | %prep |
---|
| 19 | %setup -q -n %{name} |
---|
| 20 | |
---|
| 21 | %build |
---|
| 22 | cp php_scripts-config.m4 config.m4 |
---|
| 23 | phpize |
---|
| 24 | ./configure |
---|
| 25 | make |
---|
| 26 | |
---|
| 27 | %install |
---|
| 28 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 29 | install -D .libs/scripts.so $RPM_BUILD_ROOT/usr/lib64/php/modules/scripts.so |
---|
| 30 | |
---|
| 31 | %clean |
---|
| 32 | [ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 33 | |
---|
| 34 | %files |
---|
| 35 | %defattr(0755, root, root) |
---|
| 36 | /usr/lib64/php/modules/scripts.so |
---|
| 37 | |
---|
| 38 | %changelog |
---|
| 39 | |
---|
| 40 | * Fri Jul 03 2009 Mitchell Berger <mitchb@MIT.EDU> 0.00 |
---|
| 41 | - initial version |
---|
Note: See
TracBrowser
for help on using the repository browser.