packages: whohas/whohas.spec - use perl autodeps, cosmetics; rel 1

glen glen at pld-linux.org
Sat Feb 13 19:52:11 CET 2010


Author: glen                         Date: Sat Feb 13 18:52:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use perl autodeps, cosmetics; rel 1

---- Files affected:
packages/whohas:
   whohas.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/whohas/whohas.spec
diff -u packages/whohas/whohas.spec:1.6 packages/whohas/whohas.spec:1.7
--- packages/whohas/whohas.spec:1.6	Sat Feb 13 19:31:57 2010
+++ packages/whohas/whohas.spec	Sat Feb 13 19:52:06 2010
@@ -5,14 +5,13 @@
 Summary(pl.UTF-8):	Konsolowe narzędzie pozwalacjące przeszukiwać kilka list pakietów jednocześnie
 Name:		whohas
 Version:	0.24
-Release:	0.1
+Release:	1
 License:	GPL v2
 Group:		Applications/Terminal
 Source0:	http://www.philippwesche.org/200811/whohas/%{name}-%{version}.tar.gz
 # Source0-md5:	701e14a43ea5de2134d84fe0ecad50b9
 URL:		http://www.philippwesche.org/200811/whohas/intro.html
 BuildRequires:	rpm-perlprov >= 4.1-13
-Requires:	perl-libwww
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,7 +22,9 @@
 FreeBSD, NetBSD, OpenBSD, Fink and MacPorts. whohas is written in Perl
 and was designed to help package maintainers find ebuilds, pkgbuilds
 and similar package definitions from other distributions to learn
-from. However, it can also be used by normal users who want to know:
+from.
+
+However, it can also be used by normal users who want to know:
  - Which distribution provides packages on which the user depends.
  - What version of a given package is in use in each distribution, or
    in each release of a distribution (implemented only for Debian).
@@ -35,6 +36,7 @@
 NetBSD, OpenBSD, Fink és MacPorts támogatott. whohas Perl-ben íródott
 és a csomagkarbantartóknak segít ebuild-ek, pkgbuild-ek és hasonló
 csomagdefiníciók keresésében, hogy tanulhasson más disztribúciókból.
+
 Azonban egyszerű felhasználó is használhatja, aki tudni akarja, hogy
  - Melyik disztribúció szállítja a keresett csomagot
  - Az adott csomag mely verzióit használják az egyes disztribúciókban,
@@ -58,13 +60,15 @@
 
 %prep
 %setup -q
+mv program/* .
+mv usr/share/man .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_mandir}/de/man1}
-install program/whohas $RPM_BUILD_ROOT%{_bindir}
-install usr/share/man/man1/whohas.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install usr/share/man/de/man1/whohas.1 $RPM_BUILD_ROOT%{_mandir}/de/man1
+install -p whohas $RPM_BUILD_ROOT%{_bindir}
+cp -a man/man1/whohas.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -a man/de/man1/whohas.1 $RPM_BUILD_ROOT%{_mandir}/de/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/02/13 18:52:06  glen
+- use perl autodeps, cosmetics; rel 1
+
 Revision 1.6  2010/02/13 18:31:57  pawelz
 - unified, cosmetics
 
@@ -99,4 +106,3 @@
 
 Revision 1.1  2009/02/21 09:24:17  uzsolt
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/whohas/whohas.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list