]> git.pld-linux.org Git - packages/whois.git/blobdiff - whois.spec
Massive attack. We use -O0 instead -O flags while debug enabled.
[packages/whois.git] / whois.spec
index 4c26032fe3ca5d646ed6e4f41f6159b7fa925ba8..8249e920b64eeca26dc11402de5bf2f6baf0c8df 100644 (file)
@@ -1,35 +1,39 @@
 Summary:       whois client program 
+Summary(pl):   klient us³ugi whois 
 Name:          whois
-Version:       4.4.6
+Version:       4.5.2
 Release:       1
-Copyright:     GPL
+License:       GPL
 Group:         Networking/Utilities
 Group(pl):     Sieciowe/Narzêdzia
-Source:                http://www.linux.it/~md/software/whois_%{version}.tar.gz
-Patch:         whois-Makefile.patch
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       http://www.linux.it/~md/software/%{name}_%{version}.tar.gz
+Patch0:                whois-Makefile.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This is a new whois (RFC 954) client rewritten from scratch by me.                   
-It is derived from and compatible with the usual BSD and RIPE whois(1)               
-programs.                                                                            
-It is intelligent and can automatically select the appropriate whois                 
-server for most queries.                                                             
-                                                                                    
+This is a new whois (RFC 954) client rewritten from scratch by me. It
+is derived from and compatible with the usual BSD and RIPE whois(1)
+programs. It is intelligent and can automatically select the
+appropriate whois server for most queries.
+
+%description -l pl
+To jest nowy klient us³ugi whois*RFC 954) napisany ca³kowicie od nowa.
+Jest kompatybilny zarówno z whois z BSD oraz RIPE. Jest inteligentny i
+automatycznie dobiera poprawny serwer whois dla wiêkszosci zapytañ.
+
 %prep
 %setup -q 
 %patch -p1
 
 %build
-make OPTS="$RPM_OPTS_FLAGS" LDFLAGS="-s"
+%{__make} OPTS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       README TODO
+gzip -9nf README TODO
 
 %find_lang %{name}
 
This page took 0.067462 seconds and 4 git commands to generate.