source: bot/trunk/sophie-tools.spec.in @ 398

Last change on this file since 398 was 398, checked in by nanardon, 12 years ago
  • fix buildrequires
  • Property svn:keywords set to Id
File size: 906 bytes
Line 
1# $Id$
2
3%define realname   Sophie-Tools
4%define version    @VERSION@
5%define release    %mkrel %{?svnrelease:0.%{svnrelease}}%{?!svnrelease:1}
6
7Name:       sophie-tools
8Version:    %{version}
9Release:    %{release}
10License:    GPL or Artistic
11Group:      Development/Perl
12Summary:    Sophie's tools
13Source:     %{realname}-%{version}.tar.gz
14Url:        http://search.cpan.org/dist/%{realname}
15BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16BuildArch:  noarch
17BuildRequires: perl(RPC::XML)
18
19Requires: perl-Term-ReadLine-Gnu
20
21%description
22Command line tools to query Sophie website (http://sophie.zarb.org/)
23
24%prep
25%setup -q -n %{realname}-%{version}
26
27%build
28%{__perl} Makefile.PL INSTALLDIRS=vendor
29%make
30
31%check
32make test
33
34%install
35rm -rf %buildroot
36%makeinstall_std
37
38%clean
39rm -rf %buildroot
40
41%files
42%defattr(-,root,root)
43%doc Changes README
44%_bindir/*
45%{_mandir}/*/*
46%perl_vendorlib/*
47
Note: See TracBrowser for help on using the repository browser.