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