SPECS: php-pecl-bitset.spec (NEW) - new

adamg adamg at pld-linux.org
Sat Aug 6 19:37:15 CEST 2005


Author: adamg                        Date: Sat Aug  6 17:37:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   php-pecl-bitset.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-pecl-bitset.spec
diff -u /dev/null SPECS/php-pecl-bitset.spec:1.1
--- /dev/null	Sat Aug  6 19:37:15 2005
+++ SPECS/php-pecl-bitset.spec	Sat Aug  6 19:37:10 2005
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+%define		_modname	bitset
+%define		_status		stable
+
+Summary:	%{_modname} - managing sets of bits
+Summary(pl):	%{_modname} - obróbka zbiorów bitów
+Name:		php-pecl-%{_modname}
+Version:	1.0
+Release:	1
+License:	PHP 3.0
+Group:		Development/Languages/PHP
+Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5:	9a4514a398a1b192fe215521db5f7546
+URL:		http://pecl.php.net/package/bitset/
+BuildRequires:	libtool
+BuildRequires:	php-devel >= 3:5.0.0
+Requires:	php-common >= 3:5.0.0
+Obsoletes:	php-pear-%{_modname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/php
+%define		extensionsdir	%{_libdir}/php
+
+%description
+This extension is a library for managing sets of bits in terms of Set
+Theory.
+
+In PECL status of this extension is: %{_status}.
+
+%description -l pl
+Rozszerzenie to jest biblioteką do zarządzania zbiorami bitów w
+rozumieniu Teorii Zbiorów.
+
+To rozszerzenie ma w PECL status: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd %{_modname}-%{version}
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+
+install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+	%{_sbindir}/php-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{_modname}-%{version}/{CREDITS,EXPERIMENTAL,README}
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/08/06 17:37:10  adamg
+- new
+
================================================================



More information about the pld-cvs-commit mailing list