Rev | Line | |
---|
[432] | 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 | mkdir -p %buildroot/etc |
---|
| 51 | install -m 700 sample/latmos-account.ini %buildroot%_sysconfdir/latmos-account.ini |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf %buildroot |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root) |
---|
| 58 | %doc Changes README |
---|
| 59 | %config(noreplace) %_sysconfdir/latmos-account.ini |
---|
| 60 | %_bindir/* |
---|
| 61 | %{_mandir}/man3/* |
---|
| 62 | %{_mandir}/man1/* |
---|
| 63 | %perl_vendorlib/* |
---|
| 64 | |
---|
Note: See
TracBrowser
for help on using the repository browser.