diff options
-rw-r--r-- | DJabberd-RosterStorage-SQLite-Fixed.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/DJabberd-RosterStorage-SQLite-Fixed.spec b/DJabberd-RosterStorage-SQLite-Fixed.spec new file mode 100644 index 0000000..d627dc6 --- /dev/null +++ b/DJabberd-RosterStorage-SQLite-Fixed.spec | |||
@@ -0,0 +1,53 @@ | |||
1 | Name: DJabberd-RosterStorage-SQLite-Fixed | ||
2 | Version: 0.02 | ||
3 | Release: 1%{?dist} | ||
4 | Summary: Implements a shared roster for the SQLLite roster storage plugin for DJabberd | ||
5 | License: Artistic | ||
6 | Group: Development/Libraries | ||
7 | URL: http://search.cpan.org/dist/DJabberd-RosterStorage-SQLite-Fixed/ | ||
8 | Source0: http://www.cpan.org/modules/by-module/DJabberd/DJabberd-RosterStorage-SQLite-Fixed-%{version}.tar.gz | ||
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
10 | BuildArch: noarch | ||
11 | BuildRequires: perl(DJabberd) >= 0.83 | ||
12 | BuildRequires: perl(DJabberd::RosterStorage::SQLite) >= 1 | ||
13 | BuildRequires: perl(ExtUtils::MakeMaker) | ||
14 | Requires: perl(DJabberd) >= 0.83 | ||
15 | Requires: perl(DJabberd::RosterStorage::SQLite) >= 1 | ||
16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | ||
17 | |||
18 | %description | ||
19 | perl Makefile.PL make make test make install | ||
20 | |||
21 | %prep | ||
22 | %setup -q | ||
23 | |||
24 | %build | ||
25 | %{__perl} Makefile.PL INSTALLDIRS=vendor | ||
26 | make %{?_smp_mflags} | ||
27 | |||
28 | %install | ||
29 | rm -rf $RPM_BUILD_ROOT | ||
30 | |||
31 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | ||
32 | |||
33 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; | ||
34 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; | ||
35 | |||
36 | %{_fixperms} $RPM_BUILD_ROOT/* | ||
37 | |||
38 | %check | ||
39 | make test | ||
40 | |||
41 | %clean | ||
42 | rm -rf $RPM_BUILD_ROOT | ||
43 | |||
44 | %files | ||
45 | %defattr(-,root,root,-) | ||
46 | %doc Changes README | ||
47 | %{_bindir}/rosteredit.pl | ||
48 | %{perl_vendorlib}/* | ||
49 | %{_mandir}/man3/* | ||
50 | |||
51 | %changelog | ||
52 | * Fri Aug 03 2007 Edward Rudd 0.01-1 | ||
53 | - Specfile autogenerated by cpanspec 1.73. | ||