[createrepo_c/f16] Update to 0.1.7

Tomas Mlcoch tmlcoch at fedoraproject.org
Thu Jul 26 12:28:27 UTC 2012


commit 4979b866dd6499f15dbf2d78ae0b1eaf08ef11cf
Author: Tomas Mlcoch <tmlcoch at redhat.com>
Date:   Thu Jul 26 14:28:39 2012 +0200

    Update to 0.1.7

 .gitignore        |    1 +
 createrepo_c.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++-------
 sources           |    2 +-
 3 files changed, 55 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f9a319d..43b1175 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /createrepo_c-0.1.5.tar.xz
+/createrepo_c-0.1.7.tar.xz
diff --git a/createrepo_c.spec b/createrepo_c.spec
index d013259..90d4621 100644
--- a/createrepo_c.spec
+++ b/createrepo_c.spec
@@ -1,52 +1,97 @@
 Summary:        Creates a common metadata repository
 Name:           createrepo_c
-Version:        0.1.5
+Version:        0.1.7
 Release:        1%{?dist}
-License:        LGPLv2
+License:        GPLv2
 Group:          System Environment/Base
 Source0:        https://fedorahosted.org/releases/c/r/createrepo_c/%{name}-%{version}.tar.xz
 URL:            https://fedorahosted.org/createrepo_c/
 
 BuildRequires:  cmake
-BuildRequires:  glib2-devel >= 2.26.0
+BuildRequires:  glib2-devel >= 2.22.0
 BuildRequires:  file-devel
 BuildRequires:  zlib-devel
 BuildRequires:  bzip2-devel
-BuildRequires:  rpm-devel >= 4.8.1
+BuildRequires:  rpm-devel >= 4.8.0
 BuildRequires:  libxml2-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  expat-devel
 BuildRequires:  xz-devel
+BuildRequires:  sqlite-devel
+BuildRequires:  doxygen
+Requires:       %{name}-libs =  %{version}-%{release}
 
 %description
 C implementation of Createrepo. This utility will generate a common
 metadata repository from a directory of rpm packages
 
+
+%package libs
+Summary:    Library for repodata manipulation
+Group:      Development/Libraries
+
+%description libs
+Libraries for applications using the createrepo_c library
+for easy manipulation with a repodata.
+
+
+%package devel
+Summary:    Library for repodata manipulation
+Group:      Development/Libraries
+Requires:   pkgconfig >= 1:0.14
+Requires:   %{name}-libs =  %{version}-%{release}
+
+%description devel
+This package contains the createrepo_c C library and header files.
+These development files are for easy manipulation with a repodata.
+
+
 %prep
 %setup -q
 
 %build
 %cmake .
 make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+make doc
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT/
 
-%post -p /sbin/ldconfig
+%post -n %{name}-libs -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n %{name}-libs -p /sbin/ldconfig
 
 %files
-%doc AUTHORS
 %doc README
 %doc COPYING
 %_mandir/man8/createrepo_c.8.*
 %_mandir/man8/mergerepo_c.8.*
-%{_libdir}/libcreaterepo_c.so.*
+%config%{_sysconfdir}/bash_completion.d/createrepo_c.bash
 %{_bindir}/createrepo_c
 %{_bindir}/mergerepo_c
 
+%files libs
+%doc COPYING
+%{_libdir}/libcreaterepo_c.so.*
+
+%files devel
+%{_libdir}/libcreaterepo_c.so
+%{_libdir}/pkgconfig/createrepo_c.pc
+%{_includedir}/createrepo_c/*
+%doc COPYING
+%doc doc/html
+
 %changelog
+* Tue Jul  26 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.7-1
+- SQLite support
+- Bash completion
+- createrepo_c support for --compress-type param
+- Improved logging
+- Subpackages -devel and -libsi
+- Relicensed to GPLv2
+- Doxygen documentation in devel package
+- README update
+
 * Tue Jun  11 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.5-1
 - Support for .xz compression
 - Unversioned .so excluded from installation
diff --git a/sources b/sources
index a852fb2..f30d74e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0a98dec2f53407170e550408b74b2e37  createrepo_c-0.1.5.tar.xz
+c594ea4c6c750b2e500ab9bce45714e5  createrepo_c-0.1.7.tar.xz


More information about the scm-commits mailing list