]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- update
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 25 Jun 2009 23:28:11 +0000 (23:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pecl.spec -> 1.30

php-pecl.spec

index 985b50540a5da2f99a71f2f3f43ace4ad32e080a..76cd892eebfbbcc25939dd3644f1b13b8295e350 100644 (file)
@@ -1,13 +1,16 @@
-%define                _modname        -
-%define                _status         -
-Summary:       %{_modname} -
-Summary(pl.UTF-8):     %{_modname} -
-Name:          php-pecl-%{_modname}
+#
+# Conditional build:
+%bcond_without tests           # build without tests
+
+%define                modname -
+Summary:       %{modname} -
+Summary(pl.UTF-8):     %{modname} -
+Name:          php-pecl-%{modname}
 Version:       1.0
 Release:       1
 License:       PHP 3.01
 Group:         Development/Languages/PHP
-Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
+Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 URL:           http://pecl.php.net/package/Modname/
 BuildRequires: php-devel >= 3:5.0.0
 BuildRequires: rpmbuild(macros) >= 1.344
@@ -17,15 +20,11 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 
-In PECL status of this extension is: %{_status}.
-
 %description -l pl.UTF-8
 
-To rozszerzenie ma w PECL status: %{_status}.
-
 %prep
 %setup -q -c
-mv %{_modname}-%{version}/* .
+mv %{modname}-%{version}/* .
 
 %build
 phpize
@@ -39,9 +38,9 @@ install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
 %{__make} install \
        INSTALL_ROOT=$RPM_BUILD_ROOT \
        EXTENSION_DIR=%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-extension=%{_modname}.so
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{modname}.so
 EOF
 
 %clean
@@ -58,5 +57,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc CREDITS EXPERIMENTAL
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{modname}.so
This page took 0.150468 seconds and 4 git commands to generate.