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