source: tools/trunk/sophie-tools.spec.in @ 411

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