source: trunk/server/fedora/specs/php_scripts.spec @ 1828

Last change on this file since 1828 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
RevLine 
[1234]1Summary: scripts.mit.edu php logging module
2Group: Applications/System
3Name: php_scripts
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
[1235]11BuildRequires: php-devel
[1234]12%define debug_package %{nil}
13
14%description 
15
16scripts.mit.edu php logging module
17
18%prep
19%setup -q -n %{name}
20
21%build
22cp php_scripts-config.m4 config.m4
23phpize
24./configure
25make
26
27%install
28[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
29install -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.