]> git.pld-linux.org Git - packages/perl-Filter.git/blame - perl-Filter.spec
- x32 rebuild
[packages/perl-Filter.git] / perl-Filter.spec
CommitLineData
75c0f05b 1%include /usr/lib/rpm/macros.perl
8cbec567 2Summary: Source filters
2ca40f33 3Summary(pl.UTF-8): Filtry źródeł
75c0f05b 4Name: perl-Filter
01145d7b 5Version: 1.49
bbd83bdd 6Release: 4
8cbec567 7# same as perl
8License: GPL v1+ or Artistic
75c0f05b 9Group: Development/Languages/Perl
b01c7c7d 10Source0: http://www.cpan.org/modules/by-module/Filter/Filter-%{version}.tar.gz
01145d7b 11# Source0-md5: 729118a8493de8a91b95547ce502982a
1531c0f6 12Patch0: %{name}-paths.patch
18fd82f7 13URL: http://search.cpan.org/dist/Filter/
6183d602 14BuildRequires: perl-devel >= 1:5.8.0
64f751ef 15BuildRequires: rpm-perlprov >= 4.1-13
da1252a6 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75c0f05b 17
18%description
8cbec567 19Filter package consists of a number of source filters. Source filters
20alter the program text of a module before Perl sees it, much as a C
21preprocessor alters the source text of a C program before the compiler
22sees it.
75c0f05b 23
077f49c2
JR
24%description -l pl.UTF-8
25Pakiet Filter zawiera zestaw filtrów źródeł. Filtry źródeł ingerują w
26tekst kodu modułu zanim zobaczy go Perl, podobnie jak robi to
18fd82f7 27preprocesor C zanim kompilator ujrzy kod.
75c0f05b 28
29%prep
30%setup -q -n Filter-%{version}
a28f12f6 31%patch0 -p0
75c0f05b 32
33%build
64f751ef 34%{__perl} Makefile.PL \
1358f3ba 35 INSTALLDIRS=vendor
0aa978c2 36%{__make} \
577aa403 37 CC="%{__cc}" \
0aa978c2 38 OPTIMIZE="%{rpmcflags}"
f26dd867 39rm -f decrypt/*.bak examples/*.orig
75c0f05b 40
41%install
42rm -rf $RPM_BUILD_ROOT
f41190c5 43install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
75c0f05b 44
0aa978c2 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
75c0f05b 47
df57c21d 48find examples -name '*.bak' -exec rm -f '{}' ';'
f41190c5 49cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
75c0f05b 50
75c0f05b 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
8062ac6c 56%doc Changes README
64f751ef 57%dir %{perl_vendorarch}/Filter
58%{perl_vendorarch}/Filter/Util
59%{perl_vendorarch}/Filter/*.pm
60%dir %{perl_vendorarch}/auto/Filter
61%dir %{perl_vendorarch}/auto/Filter/Util
62%dir %{perl_vendorarch}/auto/Filter/Util/Call
64f751ef 63%attr(755,root,root) %{perl_vendorarch}/auto/Filter/Util/Call/Call.so
64%dir %{perl_vendorarch}/auto/Filter/Util/Exec
64f751ef 65%attr(755,root,root) %{perl_vendorarch}/auto/Filter/Util/Exec/Exec.so
66%dir %{perl_vendorarch}/auto/Filter/decrypt
64f751ef 67%attr(755,root,root) %{perl_vendorarch}/auto/Filter/decrypt/decrypt.so
68%dir %{perl_vendorarch}/auto/Filter/tee
64f751ef 69%attr(755,root,root) %{perl_vendorarch}/auto/Filter/tee/tee.so
f41190c5 70%{_mandir}/man3/Filter*.3pm*
f41190c5 71%{_examplesdir}/%{name}-%{version}
This page took 0.036773 seconds and 4 git commands to generate.