|
Revision 1107, 1.3 kB
(checked in by hachi, 3 years ago)
|
|
Checking in changes prior to tagging of version 0.02. Changelog diff is:
=== CHANGES
==================================================================
--- CHANGES (revision 29217)
+++ CHANGES (local)
@@ -1,3 +1,4 @@
+0.02
-- Add rename support.
0.01
|
| Line | |
|---|
| 1 | name: perl-MogileFS-Client-FilePaths |
|---|
| 2 | summary: perl-MogileFS-Client-FilePaths - Perl subclass of MogileFS::Client that adds features included in the FilePaths plugin. |
|---|
| 3 | version: 0.02 |
|---|
| 4 | release: 1 |
|---|
| 5 | vendor: Jonathan Steinert <hachi@cpan.org> |
|---|
| 6 | packager: Jonathan Steinert <hachi@cpan.org> |
|---|
| 7 | license: Artistic |
|---|
| 8 | group: Applications/CPAN |
|---|
| 9 | buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n) |
|---|
| 10 | buildarch: noarch |
|---|
| 11 | source: MogileFS-Client-FilePaths-%{version}.tar.gz |
|---|
| 12 | requires: perl-MogileFS-Client-FilePaths |
|---|
| 13 | |
|---|
| 14 | %description |
|---|
| 15 | Perl subclass of MogileFS::Client that adds features included in the FilePaths plugin. |
|---|
| 16 | |
|---|
| 17 | %prep |
|---|
| 18 | rm -rf "%{buildroot}" |
|---|
| 19 | %setup -n MogileFS-Client-FilePaths-%{version} |
|---|
| 20 | |
|---|
| 21 | %build |
|---|
| 22 | %{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} |
|---|
| 23 | make all |
|---|
| 24 | make test |
|---|
| 25 | |
|---|
| 26 | %install |
|---|
| 27 | make pure_install |
|---|
| 28 | |
|---|
| 29 | [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | # remove special files |
|---|
| 33 | find %{buildroot} \( \ |
|---|
| 34 | -name "perllocal.pod" \ |
|---|
| 35 | -o -name ".packlist" \ |
|---|
| 36 | -o -name "*.bs" \ |
|---|
| 37 | \) -exec rm -f {} \; |
|---|
| 38 | |
|---|
| 39 | # no empty directories |
|---|
| 40 | find %{buildroot}%{_prefix} \ |
|---|
| 41 | -type d -depth -empty \ |
|---|
| 42 | -exec rmdir {} \; |
|---|
| 43 | |
|---|
| 44 | %clean |
|---|
| 45 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
|---|
| 46 | |
|---|
| 47 | %files |
|---|
| 48 | %defattr(-,root,root) |
|---|
| 49 | %{_prefix}/lib/* |
|---|
| 50 | %{_prefix}/share/man |
|---|