]>
Commit | Line | Data |
---|---|---|
36762072 | 1 | %define pdir GD |
2 | %define pnam Barcode | |
3ab3db98 | 3 | Summary: GD::Barcode Perl module - create barcode image with GD |
85a58723 | 4 | Summary(pl.UTF-8): Moduł Perla GD::Barcode - do tworzenia obrazów z kodem paskowym |
3ab3db98 | 5 | Name: perl-GD-Barcode |
f1396b78 | 6 | Version: 1.15 |
d9488a3b | 7 | Release: 3 |
61d611fd | 8 | License: GPL or Artistic |
3ab3db98 | 9 | Group: Development/Languages/Perl |
a1598e37 | 10 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
f1396b78 | 11 | # Source0-md5: 53788170efb00b671ffb6ced5b5b897b |
e78bf8ac | 12 | URL: http://search.cpan.org/dist/GD-Barcode/ |
3ab3db98 | 13 | BuildRequires: perl-GD |
e78bf8ac | 14 | BuildRequires: perl-devel >= 1:5.8.0 |
935e0d22 | 15 | BuildRequires: rpm-perlprov >= 4.1-13 |
3ab3db98 JB |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | GD::Barcode is a subclass of GD and allows you to create barcode image | |
21 | with GD. | |
22 | ||
5ebc0887 | 23 | %description -l pl.UTF-8 |
e78bf8ac ER |
24 | GD::Barcode jest podklasą klasy GD, pozwalającą na tworzenie obrazów z |
25 | kodem paskowym przy użyciu GD. | |
3ab3db98 JB |
26 | |
27 | %prep | |
28 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
29 | ||
30 | %build | |
935e0d22 | 31 | %{__perl} Makefile.PL \ |
af64eedc | 32 | INSTALLDIRS=vendor |
3ab3db98 JB |
33 | %{__make} |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc Changes README | |
935e0d22 | 47 | %{perl_vendorlib}/GD/Barcode.pm |
48 | %{perl_vendorlib}/GD/Barcode | |
3ab3db98 | 49 | %{_mandir}/man3/* |