]> git.pld-linux.org Git - packages/perl-GD-Barcode.git/blame - perl-GD-Barcode.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-GD-Barcode.git] / perl-GD-Barcode.spec
CommitLineData
36762072 1%define pdir GD
2%define pnam Barcode
3ab3db98 3Summary: GD::Barcode Perl module - create barcode image with GD
85a58723 4Summary(pl.UTF-8): Moduł Perla GD::Barcode - do tworzenia obrazów z kodem paskowym
3ab3db98 5Name: perl-GD-Barcode
f1396b78 6Version: 1.15
d9488a3b 7Release: 3
61d611fd 8License: GPL or Artistic
3ab3db98 9Group: Development/Languages/Perl
a1598e37 10Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
f1396b78 11# Source0-md5: 53788170efb00b671ffb6ced5b5b897b
e78bf8ac 12URL: http://search.cpan.org/dist/GD-Barcode/
3ab3db98 13BuildRequires: perl-GD
e78bf8ac 14BuildRequires: perl-devel >= 1:5.8.0
935e0d22 15BuildRequires: rpm-perlprov >= 4.1-13
3ab3db98
JB
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20GD::Barcode is a subclass of GD and allows you to create barcode image
21with GD.
22
5ebc0887 23%description -l pl.UTF-8
e78bf8ac
ER
24GD::Barcode jest podklasą klasy GD, pozwalającą na tworzenie obrazów z
25kodem 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
36rm -rf $RPM_BUILD_ROOT
37
38%{__make} install \
39 DESTDIR=$RPM_BUILD_ROOT
40
41%clean
42rm -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/*
This page took 1.370938 seconds and 4 git commands to generate.