[svn] r5163 - in trunk/rpms: . createrepo icmpdn inkscape lshw
pfqueue python-sqlite sqlite yum-metadata-parser
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Wed Feb 14 04:03:08 CET 2007
Author: dag
Date: 2007-02-14 04:03:06 +0100 (Wed, 14 Feb 2007)
New Revision: 5163
Added:
trunk/rpms/icmpdn/
trunk/rpms/icmpdn/icmpdn.spec
trunk/rpms/inkscape/inkscape-0.43.spec
trunk/rpms/sqlite/sqlite-2.8.spec
trunk/rpms/yum-metadata-parser/
trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-files.patch
trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-locationbase.patch
trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-quiet.patch
trunk/rpms/yum-metadata-parser/yum-metadata-parser.spec
Modified:
trunk/rpms/createrepo/createrepo.spec
trunk/rpms/lshw/lshw.spec
trunk/rpms/pfqueue/pfqueue.spec
trunk/rpms/python-sqlite/python-sqlite-1.0.spec
trunk/rpms/python-sqlite/python-sqlite.spec
trunk/rpms/sqlite/sqlite.spec
Log:
Updates
Modified: trunk/rpms/createrepo/createrepo.spec
===================================================================
--- trunk/rpms/createrepo/createrepo.spec 2007-02-13 15:37:15 UTC (rev 5162)
+++ trunk/rpms/createrepo/createrepo.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -3,11 +3,19 @@
# Python name and version, use "--define 'python python2'"
%{!?python: %{expand: %%define python python}}
-%define pyminver 2.1
+%{?dist: %{expand: %%define %dist 1}}
+
+### Ironically yum 2.4 (sqlite2) cannot be installed with createrepo (sqlite3)
+%{?el4:%define _without_sqlite3 1}
+%{?el3:%define _without_sqlite3 1}
+%{?rh9:%define _without_sqlite3 1}
+%{?rh7:%define _without_sqlite3 1}
+%{?el2:%define _without_sqlite3 1}
+
Summary: Creates a common metadata repository
Name: createrepo
-Version: 0.4.6
+Version: 0.4.8
Release: 1
License: GPL
Group: System Environment/Base
@@ -18,7 +26,9 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
-Requires: rpm-python, %{python} >= %{pyminver}, rpm >= 4.1.1, libxml2-python
+BuildRequires: %{python} >= 2.1
+Requires: %{python} >= 2.1, rpm >= 4.1.1, rpm-python, libxml2-python
+%{!?_without_sqlite3:Requires: yum-metadata-parser}
%description
This utility will generate a common metadata repository from a directory of
@@ -44,12 +54,16 @@
%files
%defattr(-, root, root, 0755)
-%doc ChangeLog README
+%doc ChangeLog COPYING* README
%doc %{_mandir}/man8/createrepo.8*
%{_bindir}/createrepo
+%{_bindir}/modifyrepo
%{_datadir}/createrepo/
%changelog
+* Wed Feb 14 2007 Dag Wieers <dag at wieers.com> - 0.4.8-1
+- Updated to release 0.4.8.
+
* Wed Aug 23 2006 Dag Wieers <dag at wieers.com> - 0.4.6-1
- Updated to release 0.4.6.
Added: trunk/rpms/icmpdn/icmpdn.spec
===================================================================
--- trunk/rpms/icmpdn/icmpdn.spec (rev 0)
+++ trunk/rpms/icmpdn/icmpdn.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,63 @@
+# $Id$
+# Authority: dag
+
+%define _libdir /%{_lib}
+
+Summary: ICMP host name utilities
+Name: icmpdn
+Version: 0.4
+Release: 1
+License: GPL
+Group: System Environment/Libraries
+URL: http://www.dolda2000.com/~fredrik/icmp-dn/
+
+Source: http://www.dolda2000.com/~fredrik/icmp-dn/icmpdn-%version.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+icmpdn is an implementation of the RFC 1788 ICMP domain name
+facilities for Linux. It includes icmpdnd, a daemon which responds to
+ICMP domain name requests from other hosts, idnlookup, which requests
+the domain name of another host, and nss_icmp, which is a nameswitch
+module for doing reverse hostname lookups via idnlookup.
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%{__install} -Dp -m0755 admin/icmpdnd %{buildroot}%{_initrddir}/icmpdnd
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING* NEWS README
+%doc %{_mandir}/man1/idnlookup.1*
+%doc %{_mandir}/man5/nss-icmp.conf.5*
+%doc %{_mandir}/man7/nss-icmp.7*
+%doc %{_mandir}/man8/icmpdnd.8*
+%config(noreplace) %{_sysconfdir}/nss-icmp.conf
+%config %{_initrddir}/icmpdnd
+%{_libdir}/libnss_icmp.so
+%{_libdir}/libnss_icmp.so.*
+%{_sbindir}/icmpdnd
+
+%defattr(4755, root, root, 0755)
+%{_bindir}/idnlookup
+
+%exclude %{_libdir}/libnss_icmp.la
+
+%changelog
+* Tue Feb 13 2007 Dag Wieers <dag at wieers.com> - 0.3-1
+- Initial package. (using DAR)
Property changes on: trunk/rpms/icmpdn/icmpdn.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/rpms/inkscape/inkscape-0.43.spec
===================================================================
--- trunk/rpms/inkscape/inkscape-0.43.spec (rev 0)
+++ trunk/rpms/inkscape/inkscape-0.43.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,143 @@
+# $Id: inkscape.spec 4930 2006-11-24 14:05:21Z dries $
+# Authority: dag
+# Upstream: <inkscape-devel$lists,sf,net>
+
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?fc4:%define _without_modxorg 1}
+%{?el4:%define _without_modxorg 1}
+%{?fc3:%define _without_modxorg 1}
+%{?fc2:%define _without_modxorg 1}
+%{?fc1:%define _without_modxorg 1}
+%{?el3:%define _without_modxorg 1}
+%{?rh9:%define _without_modxorg 1}
+%{?rh8:%define _without_modxorg 1}
+%{?rh7:%define _without_modxorg 1}
+%{?el2:%define _without_modxorg 1}
+%{?rh6:%define _without_modxorg 1}
+%{?yd3:%define _without_modxorg 1}
+
+%{?rh7:%define _without_freedesktop 1}
+%{?el2:%define _without_freedesktop 1}
+%{?rh6:%define _without_freedesktop 1}
+
+%define desktop_vendor rpmforge
+
+Summary: Vector drawing application
+Name: inkscape
+Version: 0.43
+Release: 1
+License: GPL
+Group: Applications/Multimedia
+URL: http://inkscape.sourceforge.net/
+
+Source: http://dl.sf.net/inkscape/inkscape-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+#BuildRequires: libsigc++2-devel, gtkmm24-devel, glibmm-devel
+BuildRequires: gtkmm2, lcms-devel
+# >= 2.4
+BuildRequires: libgc-devel, perl(XML::Parser)
+BuildRequires: gcc-c++, pkgconfig
+BuildRequires: gettext, libpng-devel, freetype-devel, zlib-devel
+BuildRequires: gtk2-devel, libxml2-devel, libxslt-devel
+BuildRequires: python-devel
+%{!?_without_freedesktop:BuildRequires: desktop-file-utils}
+#%{?_without_modxorg:BuildRequires: XFree86-devel, XFree86-Mesa-libGLU}
+%{?_without_modxorg:BuildRequires: XFree86-devel, xorg-x11-Mesa-libGLU}
+%{!?_without_modxorg:BuildRequires: mesa-libGL-devel, mesa-libGLU-devel}
+
+%description
+Inkscape is a SVG based generic vector-drawing program.
+
+%prep
+%setup
+
+%{__cat} <<EOF >inkscape.desktop.in
+[Desktop Entry]
+Name=Inkscape Vector Drawing Program
+Comment=Vector drawing program.
+Type=Application
+MimeType=image/svg+xml
+FilePattern=inkscape
+Icon=inkscape.png
+Exec=inkscape %U
+TryExec=inkscape
+Terminal=false
+StartupNotify=true
+Encoding=UTF-8
+Categories=Application;Graphics;
+EOF
+
+%build
+%configure \
+ --with-xinerama \
+ --enable-static="no" \
+ --with-inkjar
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%makeinstall
+%find_lang %{name}
+
+%if %{!?_without_freedesktop:1}0
+ desktop-file-install --delete-original \
+ --vendor %{desktop_vendor} \
+ --add-category X-Red-Hat-Base \
+ --dir %{buildroot}%{_datadir}/applications \
+ %{buildroot}%{_datadir}/applications/inkscape.desktop
+%endif
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files -f %{name}.lang
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING* HACKING*txt NEWS README TRANSLATORS
+%doc %{_mandir}/man1/ink*.1*
+%doc %{_mandir}/*/man1/ink*.1*
+%{_bindir}/ink*
+#%{_libdir}/inkscape
+%{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-inkscape.desktop}
+%{?_without_freedesktop:%{_datadir}/applications/inkscape.desktop}
+%{_datadir}/inkscape/
+%{_datadir}/pixmaps/inkscape.png
+
+%changelog
+* Mon Dec 05 2005 Dries Verachtert <dries at ulyssis.org> - 0.43-1
+- Updated to release 0.43.
+
+* Mon Dec 05 2005 Dries Verachtert <dries at ulyssis.org> - 0.42-2
+- Fixes by Brent Terp.
+
+* Thu Jul 28 2005 Dries Verachtert <dries at ulyssis.org> - 0.42-1
+- Updated to release 0.42.
+
+* Thu Feb 10 2005 Dag Wieers <dag at wieers.com> - 0.41-1
+- Updated to release 0.41.
+
+* Tue Nov 30 2004 Dag Wieers <dag at wieers.com> - 0.40-1
+- Updated to release 0.40.
+
+* Tue Jul 20 2004 Dag Wieers <dag at wieers.com> - 0.39-1
+- Updated to release 0.39.
+
+* Tue Apr 13 2004 Dag Wieers <dag at wieers.com> - 0.38.1-1
+- Updated to release 0.38.1.
+
+* Mon Feb 16 2004 Dag Wieers <dag at wieers.com> - 0.37-0
+- Updated to release 0.37.
+
+* Wed Dec 17 2003 Dag Wieers <dag at wieers.com> - 0.36-0
+- Updated to release 0.36.
+
+* Thu May 01 2003 Christian Schaller <uraeus at gnome.org>
+- Fix up the spec file for current release.
+
+* Mon Sep 23 2002 Dag Wieers <dag at wieers.com> - 0.2.6-1
+- Updated to release 0.2.6.
+
+* Thu Sep 12 2002 Dag Wieers <dag at wieers.com> - 0.2.5-1
+- Updated to release 0.2.5.
+- Changed SPEC to benefit from macros.
Modified: trunk/rpms/lshw/lshw.spec
===================================================================
--- trunk/rpms/lshw/lshw.spec 2007-02-13 15:37:15 UTC (rev 5162)
+++ trunk/rpms/lshw/lshw.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -13,8 +13,8 @@
Summary: Hardware lister
Name: lshw
-%define real_version B.02.09
-Version: 2.09
+%define real_version B.02.10
+Version: 2.10
Release: 1
License: GPL
Group: Applications/System
@@ -96,6 +96,9 @@
%endif
%changelog
+* Wed Feb 14 2007 Dag Wieers <dag at wieers.com> - 2.10-1
+- Updated to release B.02.10.
+
* Wed Nov 08 2006 Dag Wieers <dag at wieers.com> - 2.09-1
- Updated to release B.02.09.
Modified: trunk/rpms/pfqueue/pfqueue.spec
===================================================================
--- trunk/rpms/pfqueue/pfqueue.spec 2007-02-13 15:37:15 UTC (rev 5162)
+++ trunk/rpms/pfqueue/pfqueue.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -3,7 +3,7 @@
Summary: Queue manager for the Postfix and Exim mail transport agents
Name: pfqueue
-Version: 0.5.5.1
+Version: 0.5.6
Release: 1
License: GPL
Group: Applications/System
@@ -46,6 +46,9 @@
%{_libdir}/libpfq*.so*
%changelog
+* Tue Feb 13 2007 Dag Wieers <dag at wieers.com> - 0.5.6-1
+- Updated to release 0.5.6.
+
* Fri Feb 02 2007 Dag Wieers <dag at wieers.com> - 0.5.5.1-1
- Updated to release 0.5.5.1.
Modified: trunk/rpms/python-sqlite/python-sqlite-1.0.spec
===================================================================
--- trunk/rpms/python-sqlite/python-sqlite-1.0.spec 2007-02-13 15:37:15 UTC (rev 5162)
+++ trunk/rpms/python-sqlite/python-sqlite-1.0.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -15,10 +15,9 @@
URL: http://pysqlite.org/
Source: http://initd.org/pub/software/pysqlite/releases/1.0/%{version}/pysqlite-%{version}.tar.gz
-#Source: http://dl.sf.net/pysqlite/pysqlite-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: python-devel, sqlite-devel, python
+BuildRequires: python-devel >= 2.2, sqlite-devel
%description
This packages allows you to use sqlite with python.
@@ -41,8 +40,9 @@
%files
%defattr(-, root, root, 0755)
%doc LICENSE README* doc/rest/manual.txt examples/
-%{python_sitearch}/*
-#%{_bindir}/test-pysqlite
+%{python_sitearch}/_sqlite.so
+%{python_sitearch}/sqlite/
+%ghost %{python_sitearch}/sqlite/*.pyo
%changelog
* Mon Jan 09 2006 Dag Wieers <dag at wieers.com> - 1.0.1-1
Modified: trunk/rpms/python-sqlite/python-sqlite.spec
===================================================================
--- trunk/rpms/python-sqlite/python-sqlite.spec 2007-02-13 15:37:15 UTC (rev 5162)
+++ trunk/rpms/python-sqlite/python-sqlite.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -2,23 +2,25 @@
# Authority: dag
# Upstream: <pysqlite-devel$lists,sf,net>
+# ExcludeDist: el4
+
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
%define real_name pysqlite
Summary: Python bindings for sqlite
Name: python-sqlite
-Version: 2.0.6
-Release: 1.2
+Version: 2.3.3
+Release: 1
License: GPL
Group: Development/Libraries
URL: http://pysqlite.org/
-Source: http://initd.org/pub/software/pysqlite/releases/2.0/%{version}/pysqlite-%{version}.tar.gz
+Source: http://initd.org/pub/software/pysqlite/releases/2.3/%{version}/pysqlite-%{version}.tar.gz
#Source: http://dl.sf.net/pysqlite/pysqlite-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: python-devel, sqlite-devel, python
+BuildRequires: python-devel >= 2.3, sqlite-devel
%description
This packages allows you to use sqlite with python.
@@ -41,14 +43,13 @@
%files
%defattr(-, root, root, 0755)
%doc LICENSE doc/
-%{_bindir}/test-pysqlite
-%{python_sitearch}/_sqlite.so
-%{python_sitearch}/sqlite/
-%exclude %{python_sitearch}/sqlite/*.pyo
+%{python_sitearch}/pysqlite2/
+%ghost %{python_sitearch}/pysqlite2/*.pyo
+%exclude %{_prefix}/pysqlite2-doc/
%changelog
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 2.0.6-1.2
-- Rebuild for Fedora Core 5.
+* Wed Feb 14 2007 Dag Wieers <dag at wieers.com> - 2.3.3-1
+- Updated to release 2.3.3.
* Fri Feb 10 2006 Dag Wieers <dag at wieers.com> - 2.0.6-1
- Updated to release 2.0.6.
Added: trunk/rpms/sqlite/sqlite-2.8.spec
===================================================================
--- trunk/rpms/sqlite/sqlite-2.8.spec (rev 0)
+++ trunk/rpms/sqlite/sqlite-2.8.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,134 @@
+# $Id$
+# Authority: dag
+# Upstream: Richard Hipp <drh$hwaci,com>
+
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?rh9:%define _without_tcltk_devel 1}
+%{?rh8:%define _without_tcltk_devel 1}
+%{?rh7:%define _without_tcltk_devel 1}
+%{?el2:%define _without_tcltk_devel 1}
+
+Summary: Library that implements an embeddable SQL database engine
+Name: sqlite
+Version: 2.8.17
+Release: 1
+License: LGPL
+Group: Applications/Databases
+URL: http://www.sqlite.org/
+Source: http://www.sqlite.org/sqlite-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: gcc-c++, readline-devel
+%{!?_without_tcltk_devel:BuildRequires: tcl-devel >= 8.3}
+%{?_without_tcltk_devel:BuildRequires: tcl >= 8.3}
+Obsoletes: sqlite2 <= %{version}-%{release}
+Provides: sqlite2 = %{version}-%{release}
+
+%description
+SQLite is a C library that implements an SQL database engine. A large
+subset of SQL92 is supported. A complete database is stored in a
+single disk file. The API is designed for convenience and ease of use.
+Applications that link against SQLite can enjoy the power and
+flexiblity of an SQL database without the administrative hassles of
+supporting a separate database server.
+
+Because it omits the client-server interaction overhead and writes
+directly to disk, SQLite is also faster than the big database servers
+for most operations. In addition to the C library, the SQLite
+distribution includes a command-line tool for interacting with SQLite
+databases and SQLite bindings for Tcl/Tk.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Obsoletes: sqlite2-devel <= %{version}-%{release}
+Provides: sqlite2-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
+
+### FIXME: Make Makefile use autotool directory standard. (Please fix upstream)
+%{__perl} -pi.orig -e 's|\$\(exec_prefix\)/lib|\$(libdir)|g' Makefile.in
+
+%build
+CFLAGS="%{optflags} -DNDEBUG=1" \
+CXXFLAGS="%{optflags} -DNDEBUG=1" \
+%configure \
+ --enable-utf8
+%{__make} %{?_smp_mflags}
+%{__make} doc
+
+%install
+%{__rm} -rf %{buildroot}
+
+%makeinstall
+# Install the man page, it's not automatically (2.8.16)
+%{__install} -Dp -m0644 sqlite.1 %{buildroot}%{_mandir}/man1/sqlite.1
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc README
+%{_bindir}/sqlite
+%{_libdir}/libsqlite.so.*
+%{_mandir}/man1/sqlite.1*
+
+%files devel
+%defattr(-, root, root, 0755)
+%doc doc/*
+%{_includedir}/sqlite.h
+%{_libdir}/libsqlite.a
+%exclude %{_libdir}/libsqlite.la
+%{_libdir}/libsqlite.so
+%{_libdir}/pkgconfig/sqlite.pc
+
+%changelog
+* Wed Feb 14 2007 Dag Wieers <dag at wieers.com> - 2.8.17-1
+- Updated to release 2.8.17.
+
+* Tue Feb 15 2005 Dag Wieers <dag at wieers.com> - 2.8.16-1
+- Updated to release 2.8.16.
+
+* Thu Aug 26 2004 Matthias Saou <http://freshrpms.net/> 2.8.15-1
+- Update to 2.8.15.
+- Minor cleanups, removed now unneeded workarounds.
+
+* Sat Jun 19 2004 Dag Wieers <dag at wieers.com> - 2.8.14-1
+- Updated to release 2.8.14.
+
+* Thu Jun 03 2004 Dag Wieers <dag at wieers.com> - 2.8.13-2
+- Added UTF8 support. (Vladimir Vukicevic)
+
+* Sun May 30 2004 Dag Wieers <dag at wieers.com> - 2.8.13-1
+- Fixes for building on x86_64 arch.
+
+* Thu May 27 2004 Matthias Saou <http://freshrpms.net/> 2.8.13-0
+- Updated to release 2.8.13.
+- Added tcl-devel build dependency for Fedora Core 2.
+
+* Sun Feb 29 2004 Dag Wieers <dag at wieers.com> - 2.8.12-0
+- Updated to release 2.8.12.
+
+* Thu Jan 08 2004 Dag Wieers <dag at wieers.com> - 2.8.9-0
+- Updated to release 2.8.9.
+
+* Thu Dec 18 2003 Dag Wieers <dag at wieers.com> - 2.8.8-0
+- Updated to release 2.8.8.
+
+* Mon Jun 30 2003 Dag Wieers <dag at wieers.com> - 2.8.4-0
+- Updated to release 2.8.4.
+
+* Fri Jun 13 2003 Dag Wieers <dag at wieers.com> - 2.8.3-0
+- Initial package. (using DAR)
Property changes on: trunk/rpms/sqlite/sqlite-2.8.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Modified: trunk/rpms/sqlite/sqlite.spec
===================================================================
--- trunk/rpms/sqlite/sqlite.spec 2007-02-13 15:37:15 UTC (rev 5162)
+++ trunk/rpms/sqlite/sqlite.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -2,32 +2,34 @@
# Authority: dag
# Upstream: Richard Hipp <drh$hwaci,com>
+### Builds fine, but related python-sqlite needs python >= 2.3 and yum 2.4 needs sqlite2
+# ExcludeDist: el2 rh7 rh9 el3 el4
+
%{?dist: %{expand: %%define %dist 1}}
+%{?el3:%define _without_tcl 1}
+%{?rh9:%define _without_tcl 1}
%{?rh9:%define _without_tcltk_devel 1}
-%{?rh8:%define _without_tcltk_devel 1}
+%{?rh7:%define _without_tcl 1}
%{?rh7:%define _without_tcltk_devel 1}
+%{?el2:%define _without_tcl 1}
%{?el2:%define _without_tcltk_devel 1}
Summary: Library that implements an embeddable SQL database engine
Name: sqlite
-Version: 2.8.16
-Release: 1.2
+Version: 3.3.13
+Release: 1
License: LGPL
Group: Applications/Databases
URL: http://www.sqlite.org/
+
Source: http://www.sqlite.org/sqlite-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: gcc-c++, readline-devel
+BuildRequires: gcc-c++, libtool, readline-devel, ncurses-devel
%{!?_without_tcltk_devel:BuildRequires: tcl-devel >= 8.3}
%{?_without_tcltk_devel:BuildRequires: tcl >= 8.3}
-#%{?fc1:BuildRequires: tcllib}
-#%{?rh9:BuildRequires: tcllib}
-#%{?rh8:BuildRequires: tcllib}
-#%{?rh7:BuildRequires: tcllib}
-#%{?el2:BuildRequires: tcllib}
-#%{?rh6:BuildRequires: tcllib}
+Obsoletes: sqlite3 <= %{version}-%{release}
%description
SQLite is a C library that implements an SQL database engine. A large
@@ -47,61 +49,78 @@
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Obsoletes: sqlite3-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.
+%package tcl
+Summary: Tcl module for the sqlite3 embeddable SQL database engine.
+Group: Development/Languages
+Requires: %{name} = %{version}-%{release}
+
+%description tcl
+This package contains the tcl modules for %{name}.
+
%prep
%setup
### FIXME: Make Makefile use autotool directory standard. (Please fix upstream)
-%{__perl} -pi.orig -e 's|\$\(exec_prefix\)/lib|\$(libdir)|g' Makefile.in
+%{__perl} -pi.orig -e '
+ s|\$\(exec_prefix\)/lib|\$(libdir)|g;
+ s|/usr/lib|\$(libdir)|g;
+ ' Makefile.in */Makefile.in */*/Makefile.in
%build
-CFLAGS="%{optflags} -DNDEBUG=1" \
-CXXFLAGS="%{optflags} -DNDEBUG=1" \
+export CFLAGS="%{optflags} -DNDEBUG=1 -fno-strict-aliasing"
+export CXXFLAGS="%{optflags} -DNDEBUG=1 -fno-strict-aliasing" \
%configure \
- --enable-utf8
+ --enable-utf8 \
+%{?_without_tcl:--disable-tcl}
%{__make} %{?_smp_mflags}
%{__make} doc
%install
%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
-%makeinstall
# Install the man page, it's not automatically (2.8.16)
-%{__install} -Dp -m0644 sqlite.1 %{buildroot}%{_mandir}/man1/sqlite.1
+%{__install} -Dp -m0644 sqlite3.1 %{buildroot}%{_mandir}/man1/sqlite3.1
-%post
-/sbin/ldconfig 2>/dev/null
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
-%postun
-/sbin/ldconfig 2>/dev/null
-
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc README
-%{_bindir}/sqlite
-%{_libdir}/libsqlite.so.*
-%{_mandir}/man1/sqlite.1*
+%doc %{_mandir}/man1/sqlite3.1*
+%{_bindir}/sqlite3
+%{_libdir}/libsqlite3.so.*
%files devel
%defattr(-, root, root, 0755)
%doc doc/*
-%{_includedir}/sqlite.h
-%{_libdir}/libsqlite.a
-%exclude %{_libdir}/libsqlite.la
-%{_libdir}/libsqlite.so
-%{_libdir}/pkgconfig/sqlite.pc
+%{_includedir}/sqlite3.h
+%{_includedir}/sqlite3ext.h
+%{_libdir}/libsqlite3.a
+%exclude %{_libdir}/libsqlite3.la
+%{_libdir}/libsqlite3.so
+%{_libdir}/pkgconfig/sqlite3.pc
+%if {!?_without_tcl:1}0
+%files tcl
+%defattr(-, root, root, 0755)
+%{_datadir}/tcl*/sqlite3/
+%endif
+
%changelog
-* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 2.8.16-1.2
-- Rebuild for Fedora Core 5.
+* Wed Feb 14 2007 Dag Wieers <dag at wieers.com> - 3.3.13-1
+- Updated to release 3.3.13.
* Tue Feb 15 2005 Dag Wieers <dag at wieers.com> - 2.8.15-1
- Updated to release 2.8.16.
Added: trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-files.patch
===================================================================
--- trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-files.patch (rev 0)
+++ trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-files.patch 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,13 @@
+--- yum-metadata-parser-1.0/db.c.files 2006-06-14 16:25:01.000000000 -0400
++++ yum-metadata-parser-1.0/db.c 2006-06-14 16:25:55.000000000 -0400
+@@ -585,8 +585,8 @@
+ {
+ int rc;
+
+- sqlite3_bind_text (handle, 1, file->type, -1, SQLITE_STATIC);
+- sqlite3_bind_text (handle, 2, file->name, -1, SQLITE_STATIC);
++ sqlite3_bind_text (handle, 1, file->name, -1, SQLITE_STATIC);
++ sqlite3_bind_text (handle, 2, file->type, -1, SQLITE_STATIC);
+ sqlite3_bind_int (handle, 3, pkgKey);
+
+ rc = sqlite3_step (handle);
Added: trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-locationbase.patch
===================================================================
--- trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-locationbase.patch (rev 0)
+++ trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-locationbase.patch 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,13 @@
+--- yum-metadata-parser-1.0/xml-parser.c.locationbase 2006-06-15 13:38:12.000000000 -0400
++++ yum-metadata-parser-1.0/xml-parser.c 2006-06-15 13:38:22.000000000 -0400
+@@ -178,7 +178,9 @@
+ value = attrs[++i];
+
+ if (!strcmp (attr, "href"))
+- p->location_href = g_string_chunk_insert (p->chunk, value);;
++ p->location_href = g_string_chunk_insert (p->chunk, value);
++ else if (!strcmp (attr, "xml:base"))
++ p->location_base = g_string_chunk_insert (p->chunk, value);
+ }
+ }
+ }
Added: trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-quiet.patch
===================================================================
--- trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-quiet.patch (rev 0)
+++ trunk/rpms/yum-metadata-parser/yum-metadata-parser-1.0-quiet.patch 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,16 @@
+--- yum-metadata-parser-1.0/sqlitecache.c.quiet 2006-06-13 23:25:55.000000000 -0400
++++ yum-metadata-parser-1.0/sqlitecache.c 2006-06-13 23:31:23.000000000 -0400
+@@ -115,11 +115,11 @@
+ g_string_chunk_free (info->package_ids_chunk);
+
+ g_timer_stop (info->timer);
+- if (!*err) {
++ /* if (!*err) {
+ g_message ("Added %d new packages, deleted %d old in %.2f seconds",
+ info->add_count, info->del_count,
+ g_timer_elapsed (info->timer, NULL));
+- }
++ }*/
+
+ g_timer_destroy (info->timer);
+ }
Added: trunk/rpms/yum-metadata-parser/yum-metadata-parser.spec
===================================================================
--- trunk/rpms/yum-metadata-parser/yum-metadata-parser.spec (rev 0)
+++ trunk/rpms/yum-metadata-parser/yum-metadata-parser.spec 2007-02-14 03:03:06 UTC (rev 5163)
@@ -0,0 +1,54 @@
+# $Id$
+# Authority: dag
+
+### Ironically, yum 2.4 needs sqlite2, while this needs sqlite3
+# ExcludeDist: el4
+
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
+
+Summary: Fast metadata parser for yum
+Name: yum-metadata-parser
+Version: 1.0
+Release: 1
+License: GPL
+Group: Development/Libraries
+URL: http://linux.duke.edu/projects/yum/
+
+Source: http://linux.duke.edu/projects/yum/download/yum-metadata-parser/yum-metadata-parser-%{version}.tar.gz
+Patch0: yum-metadata-parser-1.0-quiet.patch
+Patch1: yum-metadata-parser-1.0-files.patch
+Patch2: yum-metadata-parser-1.0-locationbase.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: pkgconfig, python-devel, glib2-devel, libxml2-devel, sqlite-devel >= 3.0
+
+%description
+Fast metadata parser for yum implemented in C.
+
+%prep
+%setup
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%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 AUTHORS ChangeLog README
+%{python_sitelib}/_sqlitecache.so
+%{python_sitelib}/sqlitecachec.py
+%{python_sitelib}/sqlitecachec.pyc
+%ghost %{python_sitelib}/sqlitecachec.pyo
+
+%changelog
+* Wed Feb 14 2007 Dag Wieers <dag at wieers.com> - 1.0-1
+- Initial package. (using DAR)
Property changes on: trunk/rpms/yum-metadata-parser/yum-metadata-parser.spec
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the svn-commits
mailing list