Last change
on this file was
344,
checked in by nanardon, 5 years ago
|
Ajout le template du spec plutot que le spec lui même
|
File size:
899 bytes
|
Line | |
---|
1 | %define realname obsdata |
---|
2 | %define name obsdata |
---|
3 | %define version @VERSION@ |
---|
4 | %define release 1 |
---|
5 | |
---|
6 | Name: %{name} |
---|
7 | Version: %{version} |
---|
8 | Release: %{release} |
---|
9 | License: GPL or Artistic |
---|
10 | Group: Development/Perl |
---|
11 | Summary: Sort data for LATMOS |
---|
12 | Source: %{realname}-%{version}.tar.gz |
---|
13 | Url: http://search.cpan.org/dist/%{realname} |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: perl(Config::IniFiles) |
---|
18 | |
---|
19 | BuildRequires: lha |
---|
20 | Requires: lha |
---|
21 | BuildRequires: unrar |
---|
22 | Requires: unrar |
---|
23 | |
---|
24 | %description |
---|
25 | Bradypus is not configuration. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q -n %{realname}-%{version} |
---|
29 | |
---|
30 | %build |
---|
31 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
32 | %make |
---|
33 | |
---|
34 | %check |
---|
35 | %make test |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf %buildroot |
---|
39 | %makeinstall_std |
---|
40 | |
---|
41 | %clean |
---|
42 | rm -rf %buildroot |
---|
43 | |
---|
44 | %files |
---|
45 | %defattr(-,root,root) |
---|
46 | %doc NEWS TODO README |
---|
47 | %_bindir/* |
---|
48 | %{_mandir}/man3/* |
---|
49 | %{_mandir}/man1/* |
---|
50 | %perl_vendorlib/* |
---|
Note: See
TracBrowser
for help on using the repository browser.