root/tags/MogileFS-Client-FilePaths-0.02/MogileFS-Client-FilePaths.spec

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 
1name:      perl-MogileFS-Client-FilePaths
2summary:   perl-MogileFS-Client-FilePaths - Perl subclass of MogileFS::Client that adds features included in the FilePaths plugin.
3version:   0.02
4release:   1
5vendor:    Jonathan Steinert <hachi@cpan.org>
6packager:  Jonathan Steinert <hachi@cpan.org>
7license:   Artistic
8group:     Applications/CPAN
9buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
10buildarch: noarch
11source:    MogileFS-Client-FilePaths-%{version}.tar.gz
12requires:  perl-MogileFS-Client-FilePaths
13
14%description
15Perl subclass of MogileFS::Client that adds features included in the FilePaths plugin.
16
17%prep
18rm -rf "%{buildroot}"
19%setup -n MogileFS-Client-FilePaths-%{version}
20
21%build
22%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix}
23make all
24make test
25
26%install
27make pure_install
28
29[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
30
31
32# remove special files
33find %{buildroot} \(                    \
34       -name "perllocal.pod"            \
35    -o -name ".packlist"                \
36    -o -name "*.bs"                     \
37    \) -exec rm -f {} \;
38
39# no empty directories
40find %{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
Note: See TracBrowser for help on using the browser.