packages: php-pear-Image_Barcode/php-pear-Image_Barcode.spec - up to 1.1.2

glen glen at pld-linux.org
Sat Mar 24 15:07:55 CET 2012


Author: glen                         Date: Sat Mar 24 14:07:55 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.1.2

---- Files affected:
packages/php-pear-Image_Barcode:
   php-pear-Image_Barcode.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: packages/php-pear-Image_Barcode/php-pear-Image_Barcode.spec
diff -u packages/php-pear-Image_Barcode/php-pear-Image_Barcode.spec:1.23 packages/php-pear-Image_Barcode/php-pear-Image_Barcode.spec:1.24
--- packages/php-pear-Image_Barcode/php-pear-Image_Barcode.spec:1.23	Tue Nov 16 15:28:40 2010
+++ packages/php-pear-Image_Barcode/php-pear-Image_Barcode.spec	Sat Mar 24 15:07:49 2012
@@ -1,20 +1,20 @@
 # $Revision$, $Date$
+%define		status		stable
+%define		pearname	Image_Barcode
 %include	/usr/lib/rpm/macros.php
-%define		_status		stable
-%define		_pearname	Image_Barcode
-Summary:	%{_pearname} - render barcodes
-Summary(pl.UTF-8):	%{_pearname} - rysowanie kodów kreskowych
-Name:		php-pear-%{_pearname}
-Version:	1.1.1
+Summary:	%{pearname} - render barcodes
+Summary(pl.UTF-8):	%{pearname} - rysowanie kodów kreskowych
+Name:		php-pear-%{pearname}
+Version:	1.1.2
 Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	40183315fdb62fe8cd758f33162b520d
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5:	d0fb65ddc48c0caeb0b11686a8528a7c
 URL:		http://pear.php.net/package/Image_Barcode/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.580
 Requires:	php-gd
 Requires:	php-pear
 Suggests:	php-pear-PHP_Compat
@@ -22,7 +22,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(PHP/Compat.*)'
+%define		_noautoreq	pear(PHP/Compat.*)
 
 %description
 With PEAR::Image_Barcode class you can create a barcode representation
@@ -30,7 +30,7 @@
 this the generated graphic can be any of GD supported supported image
 types.
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Przy pomocy klasy PEAR::Image_Barcode można tworzyć reprezentację
@@ -38,16 +38,25 @@
 dzięki czemu generowana grafika może być w dowolnym formacie
 obsługiwanym przez GD.
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
 
+# wtf?
+%{__rm} .%{php_pear_dir}/data/Image_Barcode/Image_Barcode-1.1.1.tgz
+
+mv .%{php_pear_dir}/data/Image_Barcode/README .
+mv docs/%{pearname}/docs/examples .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -58,12 +67,14 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %doc install.log optional-packages.txt
-%doc docs/%{_pearname}/docs/*
+%doc docs/%{pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/Image/Barcode
 %{php_pear_dir}/Image/*.php
 %{php_pear_dir}/Image/Barcode/*.php
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2012/03/24 14:07:49  glen
+- up to 1.1.2
+
 Revision 1.23  2010/11/16 14:28:40  glen
 - updated to: 1.1.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/php-pear-Image_Barcode/php-pear-Image_Barcode.spec?r1=1.23&r2=1.24



More information about the pld-cvs-commit mailing list