packages: ipv6calc/ipv6calc.spec - updated to 0.92.0 - enabled GeoIP suppor...

kiesiu kiesiu at pld-linux.org
Tue Dec 6 22:58:17 CET 2011


Author: kiesiu                       Date: Tue Dec  6 21:58:17 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.92.0
- enabled GeoIP support
- added man pages and unpackaged bin files
- revised BRs

---- Files affected:
packages/ipv6calc:
   ipv6calc.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: packages/ipv6calc/ipv6calc.spec
diff -u packages/ipv6calc/ipv6calc.spec:1.28 packages/ipv6calc/ipv6calc.spec:1.29
--- packages/ipv6calc/ipv6calc.spec:1.28	Fri May  6 20:08:54 2011
+++ packages/ipv6calc/ipv6calc.spec	Tue Dec  6 22:58:12 2011
@@ -2,15 +2,14 @@
 Summary:	IPv6 address format change and calculation utility
 Summary(pl.UTF-8):	Narzędzie do zmiany formatu i przeliczania adresów IPv6
 Name:		ipv6calc
-Version:	0.82.1
+Version:	0.92.0
 Release:	1
 License:	GPL v2
 Group:		Networking/Utilities
 Source0:	ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/%{name}-%{version}.tar.gz
-# Source0-md5:	323b23779723fe1608126d17d78c632e
+# Source0-md5:	0517e88f7b70d7b1f5c501ebc59e0c1c
 URL:		http://www.deepspace6.net/projects/ipv6calc.html
-BuildRequires:	openssl-devel >= 0.9.7d
-BuildRequires:	perl-base
+BuildRequires:	GeoIP-devel >= 1.4.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,19 +33,14 @@
 %setup -q
 
 %build
-./configure
-%{__make} \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -I../getopt/ -I../ -I../lib/"
-
-cd ipv6calcweb
-%{__perl} -pi -e "s:../ipv6calc/ipv6calc:%{_bindir}/ipv6calc:" ipv6calcweb.cgi
+%configure \
+	--enable-geoip
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-
-install ipv6calc/ipv6calc $RPM_BUILD_ROOT%{_bindir}
+%{__make} install \
+    DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +49,13 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README CREDITS TODO doc/ipv6calc.html ipv6calcweb/ipv6calcweb.cgi
 %attr(755,root,root) %{_bindir}/ipv6calc
+%attr(755,root,root) %{_bindir}/ipv6loganon
+%attr(755,root,root) %{_bindir}/ipv6logconv
+%attr(755,root,root) %{_bindir}/ipv6logstats
+%{_mandir}/man8/ipv6calc.8*
+%{_mandir}/man8/ipv6loganon.8*
+%{_mandir}/man8/ipv6logconv.8*
+%{_mandir}/man8/ipv6logstats.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +63,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2011/12/06 21:58:12  kiesiu
+- updated to 0.92.0
+- enabled GeoIP support
+- added man pages and unpackaged bin files
+- revised BRs
+
 Revision 1.28  2011/05/06 18:08:54  marti
 - up to 0.82.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipv6calc/ipv6calc.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list