[drpm] Initial import (#1142407)
Matej Chalk
mchalk at fedoraproject.org
Thu Jan 29 15:03:35 UTC 2015
commit 5512662734037af98fb178bad4a1c3f321a3220b
Author: Matej Chalk <mchalk at redhat.com>
Date: Thu Jan 29 16:03:06 2015 +0100
Initial import (#1142407)
.gitignore | 1 +
drpm.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4eed3bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/drpm-0.1.2.tar.bz2
diff --git a/drpm.spec b/drpm.spec
new file mode 100644
index 0000000..6ed8f90
--- /dev/null
+++ b/drpm.spec
@@ -0,0 +1,69 @@
+%global _hardened_build 1
+
+Name: drpm
+Version: 0.1.2
+Release: 1%{?dist}
+Summary: A small library for fetching information from deltarpm packages
+License: LGPLv3+
+URL: http://fedorahosted.org/%{name}
+Source: http://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
+
+BuildRequires: rpm-devel
+BuildRequires: zlib-devel
+BuildRequires: bzip2-devel
+BuildRequires: xz-devel
+
+%package devel
+Summary: C interface for the drpm library
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description
+The drpm package provides a small library allowing one to fetch
+various info from deltarpm packages.
+
+%description devel
+The drpm-devel package provides a C interface (drpm.h) for the drpm library.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
+
+%install
+%make_install libdir=%{_libdir} includedir=%{_includedir}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%{_libdir}/libdrpm.so.0
+%{_libdir}/libdrpm.so.0.0.0
+%license COPYING COPYING.LESSER
+
+%files devel
+%{_libdir}/libdrpm.so
+%{_includedir}/drpm.h
+%{_libdir}/pkgconfig/drpm.pc
+
+%changelog
+* Fri Dec 19 2014 Matej Chalk <mchalk at redhat.com> 0.1.2-4
+- Enabled hardened build
+
+* Mon Dec 15 2014 Matej Chalk <mchalk at redhat.com> 0.1.2-3
+- Added unversioned .so to package to enable linking with -ldrpm
+
+* Thu Dec 11 2014 Matej Chalk <mchalk at redhat.com> 0.1.2-2
+- Removed unversioned .so from package
+- Included copies of both GPLv3 and LGPLv3
+
+* Wed Dec 3 2014 Matej Chalk <mchalk at redhat.com> 0.1.2-1
+- Bumped version to 0.1.2
+- Added drpm.pc file for pkgconfig tool
+
+* Thu Nov 6 2014 Matej Chalk <mchalk at redhat.com> 0.1.1-1
+- Bumped version to 0.1.1
+
+* Wed Nov 5 2014 Matej Chalk <mchalk at redhat.com> 0.1.0-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..e89b957 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+977b89024fb0634de1bf0490c61a41cc drpm-0.1.2.tar.bz2
More information about the scm-commits
mailing list