diff options
author | Edward Rudd | 2010-02-15 14:14:39 -0500 |
---|---|---|
committer | Edward Rudd | 2010-02-15 14:35:27 -0500 |
commit | 62554af9fc4aafeb10d60f61c6b083944c7c905b (patch) | |
tree | bbd0a46b5935ab91fabcabce34a0d2e32b1b94a2 /DJabberd-Authen-LDAP.spec | |
parent | 869bff550c6b5b60d8d1dfa6749fd3dbe47d914f (diff) |
Add in RPM spec file
add reference to git source
Diffstat (limited to 'DJabberd-Authen-LDAP.spec')
-rw-r--r-- | DJabberd-Authen-LDAP.spec | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/DJabberd-Authen-LDAP.spec b/DJabberd-Authen-LDAP.spec new file mode 100644 index 0000000..c262c76 --- /dev/null +++ b/DJabberd-Authen-LDAP.spec | |||
@@ -0,0 +1,55 @@ | |||
1 | Name: DJabberd-Authen-LDAP | ||
2 | Version: 0.04 | ||
3 | Release: 1%{?dist} | ||
4 | Summary: LDAP Authentication Plugin for DJabberd | ||
5 | License: Artistic | ||
6 | Group: Development/Libraries | ||
7 | URL: http://search.cpan.org/dist/DJabberd-Authen-LDAP/ | ||
8 | Source0: http://www.cpan.org/modules/by-module/DJabberd/DJabberd-Authen-LDAP-%{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(ExtUtils::MakeMaker) | ||
13 | BuildRequires: perl(Net::LDAP) >= 0.34 | ||
14 | Requires: perl(DJabberd) >= 0.83 | ||
15 | Requires: perl(Net::LDAP) >= 0.34 | ||
16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | ||
17 | |||
18 | %description | ||
19 | LDAP Authentication module for DJabberd | ||
20 | |||
21 | %prep | ||
22 | %setup -q -n DJabberd-Authen-LDAP-%{version} | ||
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 | %{perl_vendorlib}/* | ||
48 | %{_mandir}/man3/* | ||
49 | |||
50 | %changelog | ||
51 | * Mon Feb 15 2010 Edward Rudd <rpms@outoforder.cc> 0.04-1 | ||
52 | - Updated to 0.04 | ||
53 | |||
54 | * Thu Jul 26 2007 Edward Rudd <rpms@outoforder.cc> 0.01-1 | ||
55 | - Initial package | ||