summaryrefslogtreecommitdiffstatsabout
path: root/DJabberd-RosterStorage-SQLite-Fixed.spec
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2010-02-15 19:53:09 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2010-02-15 19:53:09 (GMT)
commitd9ee2cfddda50d519aea34be9e92848cff50cf75 (patch)
treeb227f7f47614abe30ec970f69da50d6fed98c96e /DJabberd-RosterStorage-SQLite-Fixed.spec
parent20921d9f5508d74b0e3cbc314c667393251ef909 (diff)
add rpm spec file
Diffstat (limited to 'DJabberd-RosterStorage-SQLite-Fixed.spec')
-rw-r--r--DJabberd-RosterStorage-SQLite-Fixed.spec53
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 @@
1Name: DJabberd-RosterStorage-SQLite-Fixed
2Version: 0.02
3Release: 1%{?dist}
4Summary: Implements a shared roster for the SQLLite roster storage plugin for DJabberd
5License: Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/DJabberd-RosterStorage-SQLite-Fixed/
8Source0: http://www.cpan.org/modules/by-module/DJabberd/DJabberd-RosterStorage-SQLite-Fixed-%{version}.tar.gz
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch: noarch
11BuildRequires: perl(DJabberd) >= 0.83
12BuildRequires: perl(DJabberd::RosterStorage::SQLite) >= 1
13BuildRequires: perl(ExtUtils::MakeMaker)
14Requires: perl(DJabberd) >= 0.83
15Requires: perl(DJabberd::RosterStorage::SQLite) >= 1
16Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%description
19perl Makefile.PL make make test make install
20
21%prep
22%setup -q
23
24%build
25%{__perl} Makefile.PL INSTALLDIRS=vendor
26make %{?_smp_mflags}
27
28%install
29rm -rf $RPM_BUILD_ROOT
30
31make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
32
33find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
34find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
35
36%{_fixperms} $RPM_BUILD_ROOT/*
37
38%check
39make test
40
41%clean
42rm -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.