]> git.pld-linux.org Git - packages/php-pear-Image_Barcode.git/commitdiff
- initial release - alpha release
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 2 Jan 2003 23:55:58 +0000 (23:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Image_Barcode.spec -> 1.1

php-pear-Image_Barcode.spec [new file with mode: 0644]

diff --git a/php-pear-Image_Barcode.spec b/php-pear-Image_Barcode.spec
new file mode 100644 (file)
index 0000000..4be0ab9
--- /dev/null
@@ -0,0 +1,51 @@
+%include       /usr/lib/rpm/macros.php
+%define                _class          Image
+%define                _subclass       Barcode
+%define                _status         alpha
+
+%define                _pearname       %{_class}_%{_subclass}
+Summary:       %{_pearname} - render barcodes
+Summary(pl):   %{_pearname} - rysowanie kodów kreskowych
+Name:          php-pear-%{_pearname}
+Version:       0.3
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+URL:           http://pear.php.net/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires:      php-gd
+Requires:      php-pear
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+With PEAR::Image_Barcode class you can create a barcode representation
+of description a given string. This class uses GD functions because of
+this the generated graphic can be any of GD supported supported image
+types.
+
+This class has in PEAR status: %{_status}
+
+%description -l pl
+Ta klasa ma w PEAR status: %{_status}
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+
+install %{_pearname}-%{version}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}/{*.txt,ChangeLog,*test*.php,barcode_img.php}
+%dir %{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/%{_class}/%{_subclass}/*.php
This page took 0.077666 seconds and 4 git commands to generate.