Last change
on this file since 548 was
548,
checked in by nanardon, 15 years ago
|
- config file is installed by Makefile, not by rpm
|
File size:
1.5 KB
|
Line | |
---|
1 | %define realname LATMOS-Accounts |
---|
2 | %define version @VERSION@ |
---|
3 | %define release %mkrel 1 |
---|
4 | |
---|
5 | Name: latmos-accounts |
---|
6 | Version: %{version} |
---|
7 | Release: %{release} |
---|
8 | License: GPL or Artistic |
---|
9 | Group: Development/Perl |
---|
10 | Summary: Latmos Account system |
---|
11 | Source: %{realname}-%{version}.tar.gz |
---|
12 | Url: http://search.cpan.org/dist/%{realname} |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
14 | BuildArch: noarch |
---|
15 | |
---|
16 | BuildRequires: perl(Net::LDAP) |
---|
17 | BuildRequires: perl(DBD::Pg) |
---|
18 | BuildRequires: perl(Unicode::Map8) |
---|
19 | BuildRequires: perl(Crypt::RSA) |
---|
20 | BuildRequires: perl(MIME::Base64) |
---|
21 | BuildRequires: perl(Term::ReadKey) |
---|
22 | BuildRequires: perl(Config::IniFiles) |
---|
23 | BuildRequires: perl(Mail::Sendmail) |
---|
24 | BuildRequires: perl(Net::DNS) |
---|
25 | BuildRequires: perl(Template) |
---|
26 | |
---|
27 | Requires: perl(Mail::Sendmail) |
---|
28 | Requires: perl(Net::DNS) |
---|
29 | Requires: perl(Template) |
---|
30 | |
---|
31 | %description |
---|
32 | The core applications tools of the LATMOS-Accounts system. A batch of |
---|
33 | applucations to create user accounts and exchange information through several |
---|
34 | others accounts management system such ldap, nis, etc... |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q -n %{realname}-%{version} |
---|
38 | |
---|
39 | %build |
---|
40 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
41 | %make |
---|
42 | |
---|
43 | %check |
---|
44 | make test |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf %buildroot |
---|
48 | %makeinstall_std |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf %buildroot |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root) |
---|
55 | %doc Changes README |
---|
56 | %attr(0600,root,root) %config(noreplace) %_sysconfdir/latmos-account.ini |
---|
57 | %_bindir/* |
---|
58 | %{_mandir}/man3/* |
---|
59 | %{_mandir}/man1/* |
---|
60 | %perl_vendorlib/* |
---|
61 | |
---|
Note: See
TracBrowser
for help on using the repository browser.