[svn] r4621 - in trunk/rpms: . geoip python-ctypes python-dialog
python-geoip
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Sun Aug 6 18:08:47 CEST 2006
Author: dag
Date: 2006-08-06 18:08:45 +0200 (Sun, 06 Aug 2006)
New Revision: 4621
Added:
trunk/rpms/geoip/
trunk/rpms/geoip/geoip.spec
trunk/rpms/python-dialog/
trunk/rpms/python-dialog/python-dialog.spec
trunk/rpms/python-geoip/
trunk/rpms/python-geoip/python-geoip.spec
Modified:
trunk/rpms/python-ctypes/python-ctypes.spec
Log:
Updayes
Added: trunk/rpms/geoip/geoip.spec
===================================================================
--- trunk/rpms/geoip/geoip.spec 2006-08-06 14:46:05 UTC (rev 4620)
+++ trunk/rpms/geoip/geoip.spec 2006-08-06 16:08:45 UTC (rev 4621)
@@ -0,0 +1,83 @@
+# $Id$
+# Authority: dag
+
+%define real_name GeoIP
+
+Summary: C library for country/city/organization to IP address or hostname mapping
+Name: geoip
+Version: 1.3.17
+Release: 1
+License: GPL
+Group: Development/Libraries
+URL: http://www.maxmind.com/app/c
+
+Source: http://www.maxmind.com/download/geoip/api/c/GeoIP-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: zlib-devel
+Obsoletes: GeoIP < %{version}-%{release}
+Provides: GeoIP = %{version}-%{release}
+
+%description
+GeoIP is a C library that enables the user to find the country that any IP
+address or hostname originates from. It uses a file based database that is
+accurate as of March 2003. This database simply contains IP blocks as keys, and
+countries as values. This database should be more complete and accurate than
+using reverse DNS lookups.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Provides: GeoIP-devel = %{version}-%{release}
+Obsoletes: GeoIP-devel < %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%configure --disable-static --disable-dependency-tracking
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+#makeinstall
+%{__make} install DESTDIR="%{buildroot}"
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING INSTALL README TODO
+%doc %{_mandir}/man1/geoiplookup.1*
+%doc %{_mandir}/man1/geoipupdate.1*
+%config(noreplace) %{_sysconfdir}/GeoIP.conf.default
+%config(noreplace) %{_sysconfdir}/GeoIP.conf
+%{_bindir}/geoiplookup
+%{_bindir}/geoipupdate
+%{_datadir}/GeoIP/
+%{_libdir}/libGeoIP.so.*
+%{_libdir}/libGeoIPUpdate.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_includedir}/GeoIP.h
+%{_includedir}/GeoIPCity.h
+%{_includedir}/GeoIPUpdate.h
+%exclude %{_libdir}/libGeoIP.la
+%{_libdir}/libGeoIP.so
+%exclude %{_libdir}/libGeoIPUpdate.la
+%{_libdir}/libGeoIPUpdate.so
+
+%changelog
+* Sun Aug 06 2006 Dag Wieers <dag at wieers.com> - 1.3.17-1
+- Initial package. (using DAR)
Property changes on: trunk/rpms/geoip/geoip.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Modified: trunk/rpms/python-ctypes/python-ctypes.spec
===================================================================
--- trunk/rpms/python-ctypes/python-ctypes.spec 2006-08-06 14:46:05 UTC (rev 4620)
+++ trunk/rpms/python-ctypes/python-ctypes.spec 2006-08-06 16:08:45 UTC (rev 4621)
@@ -7,8 +7,8 @@
Summary: Create and manipulate C data types from Python
Name: python-ctypes
-Version: 0.9.1
-Release: 1.2
+Version: 1.0.0
+Release: 1
License: MIT
Group: Development/Libraries
URL: http://starship.python.net/crew/theller/ctypes/
@@ -38,14 +38,14 @@
%files
%defattr(-, root, root, 0755)
-%doc NEWS.txt README* docs/*
+%doc ACKS ANNOUNCE BUGS ChangeLog LICENSE.txt README.*
%{python_sitearch}/_ctypes.so
%{python_sitearch}/_ctypes_test.so
%{python_sitearch}/ctypes/
%changelog
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 0.9.1-1.2
-- Rebuild for Fedora Core 5.
+* Sun Aug 06 2006 Dag Wieers <dag at wieers.com> - 1.0.0-1
+- Updated to release 1.0.0.
* Tue Mar 08 2005 Dag Wieers <dag at wieers.com> - 0.9.1-1
- Initial package. (using DAR)
Added: trunk/rpms/python-dialog/python-dialog.spec
===================================================================
--- trunk/rpms/python-dialog/python-dialog.spec 2006-08-06 14:46:05 UTC (rev 4620)
+++ trunk/rpms/python-dialog/python-dialog.spec 2006-08-06 16:08:45 UTC (rev 4621)
@@ -0,0 +1,50 @@
+# $Id$
+# Authority: dag
+
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+
+%define real_name pythondialog
+
+Summary: Python interface to the Unix dialog utility
+Name: python-dialog
+Version: 2.7
+Release: 1
+License: LGPL
+Group: Development/Languages
+URL: http://pythondialog.sourceforge.net/
+
+Source: http://dl.sf.net/pythondialog/pythondialog-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel
+Requires: dialog
+
+%description
+A Python interface to the Unix dialog utility, designed to provide
+an easy, pythonic and as complete as possible way to use the dialog
+features from Python code.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING DEBUGGING README TODO demo.py
+%{python_sitelib}/dialog.py
+%{python_sitelib}/dialog.pyc
+%ghost %{python_sitelib}/dialog.pyo
+
+%changelog
+* Sun Aug 06 2006 Dag Wieers <dag at wieers.com> - 2.7-1
+- Initial package. (using DAR)
Property changes on: trunk/rpms/python-dialog/python-dialog.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/rpms/python-geoip/python-geoip.spec
===================================================================
--- trunk/rpms/python-geoip/python-geoip.spec 2006-08-06 14:46:05 UTC (rev 4620)
+++ trunk/rpms/python-geoip/python-geoip.spec 2006-08-06 16:08:45 UTC (rev 4621)
@@ -0,0 +1,49 @@
+# $Id$
+# Authority: dag
+
+%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
+
+%define real_name GeoIP-Python
+
+Summary: Python bindings for the GeoIP geographical lookup libraries
+Name: python-geoip
+Version: 1.2.1
+Release: 1
+Group: Development/Languages
+License: GPL
+URL: http://www.maxmind.com/download/geoip/api/python/
+
+Source: http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: python-devel geoip-devel
+Obsoletes: python-GeoIP < %{version}-%{release}
+Provides: python-GeoIP = %{version}-%{release}
+
+%description
+This package contains the Python bindings for the GeoIP API, allowing IP to
+location lookups to country, city and organization level within Python code.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+chmod -x test*.py
+
+%build
+CFLAGS="%{optflags}" %{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc ChangeLog LICENSE README test*.py
+%{python_sitearch}/GeoIP.so
+
+%changelog
+* Sun Aug 06 2006 Dag Wieers <dag at wieers.com> - 1.2.1-1
+- Initial package. (using DAR)
Property changes on: trunk/rpms/python-geoip/python-geoip.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the svn-commits
mailing list