]> git.pld-linux.org Git - packages/perl-Mon.git/blobdiff - perl-Mon.spec
- mass commit: cosmetics (removed trailing white spaces)
[packages/perl-Mon.git] / perl-Mon.spec
index 0038b67742a73efba252023aa8e54565b0be169e..b3f9f31fb4ed9d60bf5c660d64a5266eb460e2b1 100644 (file)
@@ -1,19 +1,18 @@
 %include        /usr/lib/rpm/macros.perl
 Summary:       perl-Mon module
 Summary(pl):   Modu³ perla Mon
-Name:          perl-Mon        
-version:       0.11    
-Release:       3       
+Name:          perl-Mon
+version:       0.11
+Release:       6
 License:       GPL
 Group:         Development/Languages/Perl
-Group(de):     Entwicklung/Sprachen/Perl
-Group(pl):     Programowanie/Jêzyki/Perl
-Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Mon/Mon-%{version}.tar.gz
+Source0:       http://www.cpan.org/modules/by-module/Mon/Mon-%{version}.tar.gz
+# Source0-md5: 762a8c6f845f8f1482a696e6f95f4492
 URL:           http://www.kernel.org/software/mon/
-BuildArch:     noarch
 BuildRequires: perl-devel >= 5.6.1
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-   
+
 %description
 This is the Perl5 module for interfacing with the Mon system
 monitoring package. Currently only the client interface is
@@ -28,21 +27,21 @@ Aktualnie zaimplementowany jest tylko interfejs klienta.
 %setup -q -n Mon-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf CHANGES README
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz 
-%{perl_sitelib}/Mon
+%doc CHANGES README
+%{perl_vendorlib}/Mon
 %{_mandir}/man3/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
This page took 0.039424 seconds and 4 git commands to generate.