Changes of Revision 2
[+] | Deleted | php5-fam.spec |
@@ -1,81 +0,0 @@ -# norootforbuild -%define pkg_name fam -%define pkg_version 5.0.1 -%define php_version %(php-config --version 2>/dev/null) -# -Name: php5-fam -Version: %{pkg_version} -Release: 0 -# -License: PHP -Group: Productivity/Networking/Web/Servers -# -BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build -BuildRequires: php5-devel fam-devel gcc gcc-c++ zlib-devel libpng-devel -Requires: php5 = %{php_version} -# -URL: http://pecl.php.net/ -Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz -Summary: File Alteration Monitor functions - -%description -FAM monitors files and directories, notifying interested -applications of changes. -A PHP script may specify a list of files for FAM to monitor -using the functions provided by this extension. -The FAM process is started when the first connection from -any application to it is opened. It exits after all -connections to it have been closed. - -Authors: ---------- - - Thierry Fournier - Sascha Schumann - -%debug_package - -%prep -%setup -n %{pkg_name}-%{version} - -%{__mkdir} %{name} - -%build -/usr/bin/phpize -pushd %{name} - -CFLAGS="%{optflags} -fno-strict-aliasing" -CXXFLAGS="%{optflags} -fno-strict-aliasing" -%if 0%{?suse_version} > 1000 -CFLAGS="$CFLAGS -fstack-protector" -CXXFLAGS="$CXXFLAGS -fstack-protector" -%endif - -export CFLAGS -export CXXFLAGS - -../configure --with-fam=%{_usr} --with-libdir=%{_lib} - -%{__make} %{?jobs:-j%jobs} -popd - -%install -%makeinstall -C %{name} INSTALL_ROOT=%{buildroot} -%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d -echo "; comment out next line to disable fam extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/fam.ini -echo "extension = fam.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/fam.ini - - -%clean -%{__rm} -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%{_libdir}/php5/extensions/fam.so -%config(noreplace) %{_sysconfdir}/php5/conf.d/fam.ini - -%doc CREDITS - -%changelog -* Tue Nov 10 2009 Carsten Schoene <cs@linux-administrator.com> - 5.0.1-1 -- initial build version 5.0.1 | ||
[-] | Added | php5-inotify.spec ^ |
x 1
2 +# norootforbuild 3 +%define pkg_name inotify 4 +%define pkg_version 0.1.4 5 +%define php_version %(php-config --version 2>/dev/null) 6 +# 7 +Name: php5-inotify 8 +Version: %{pkg_version} 9 +Release: 0 10 +# 11 +License: PHP 12 +Group: Productivity/Networking/Web/Servers 13 +# 14 +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build 15 +BuildRequires: php5-devel inotify-devel gcc gcc-c++ 16 +Requires: php5 = %{php_version} 17 +# 18 +URL: http://pecl.php.net/ 19 +Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz 20 +Summary: The inotify extension allows to use inotify functions in a PHP script 21 + 22 +%description 23 +The inotify extension allows to use inotify functions in a PHP script. 24 +Authors: 25 +--------- 26 + 27 + Arnaud Le Blanc 28 + 29 +%debug_package 30 + 31 +%prep 32 +%setup -n %{pkg_name}-%{version} 33 + 34 +%{__mkdir} %{name} 35 + 36 +%build 37 +/usr/bin/phpize 38 +pushd %{name} 39 + 40 +CFLAGS="%{optflags} -fno-strict-aliasing" 41 +CXXFLAGS="%{optflags} -fno-strict-aliasing" 42 +%if 0%{?suse_version} > 1000 43 +CFLAGS="$CFLAGS -fstack-protector" 44 +CXXFLAGS="$CXXFLAGS -fstack-protector" 45 +%endif 46 + 47 +export CFLAGS 48 +export CXXFLAGS 49 + 50 +../configure --with-inotify=%{_usr} --with-libdir=%{_lib} 51 + 52 +%{__make} %{?jobs:-j%jobs} 53 +popd 54 + 55 +%install 56 +%makeinstall -C %{name} INSTALL_ROOT=%{buildroot} 57 +%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d 58 +echo "; comment out next line to disable inotify extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/inotify.ini 59 +echo "extension = inotify.so" >> %{buildroot}%{_sysconfdir}/php5/conf.d/inotify.ini 60 + 61 + 62 +%clean 63 +%{__rm} -rf %{buildroot} 64 + 65 +%files 66 +%defattr(-,root,root,-) 67 +%{_libdir}/php5/extensions/inotify.so 68 +%config(noreplace) %{_sysconfdir}/php5/conf.d/inotify.ini 69 + 70 +%doc CREDITS 71 + 72 +%changelog 73 +* Wed Dec 30 2009 Carsten Schoene <cs@linux-administrator.com> - 0.1.4-1 74 +- initial build version 0.1.4 75 |
||
Deleted | fam-5.0.1.tgz ^ | |
Added | inotify-0.1.4.tgz ^ |