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