Blame SPECS/drpm.spec

a0f3b3
Name:           drpm
a0f3b3
Version:        0.3.0
a0f3b3
Release:        14%{?dist}
a0f3b3
Summary:        A library for making, reading and applying deltarpm packages
a0f3b3
a0f3b3
# the entire source code is LGPLv3+, except src/drpm_diff.c and src/drpm_search.c which are BSD
a0f3b3
License:        LGPLv3+ and BSD
a0f3b3
URL:            https://fedorahosted.org/%{name}
a0f3b3
Source:         https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
a0f3b3
a0f3b3
# add workaround for gcc7 on ppc64le temporary before it's fixed in gcc
a0f3b3
# https://bugzilla.redhat.com/show_bug.cgi?id=1420350
a0f3b3
Patch1:         drpm-0.3.0-workaround-ppc64le-gcc.patch
a0f3b3
a0f3b3
BuildRequires:  cmake >= 2.8
a0f3b3
BuildRequires:  gcc
a0f3b3
a0f3b3
BuildRequires:  rpm-devel
a0f3b3
BuildRequires:  openssl-devel
a0f3b3
BuildRequires:  zlib-devel
a0f3b3
BuildRequires:  bzip2-devel
a0f3b3
BuildRequires:  xz-devel
a0f3b3
a0f3b3
BuildRequires:  pkgconfig
a0f3b3
BuildRequires:  doxygen
a0f3b3
a0f3b3
BuildRequires:  libcmocka-devel >= 1.0
a0f3b3
%ifarch %{valgrind_arches}
a0f3b3
BuildRequires:  valgrind
a0f3b3
%endif
a0f3b3
a0f3b3
%description
a0f3b3
The drpm package provides a library for making, reading and applying deltarpms,
a0f3b3
compatible with the original deltarpm packages.
a0f3b3
a0f3b3
%package devel
a0f3b3
Summary:        C interface for the drpm library
a0f3b3
Requires:       %{name}%{?_isa} = %{version}-%{release}
a0f3b3
a0f3b3
%description devel
a0f3b3
The drpm-devel package provides a C interface (drpm.h) for the drpm library.
a0f3b3
a0f3b3
%prep
a0f3b3
%autosetup -p1
a0f3b3
mkdir build
a0f3b3
a0f3b3
%build
a0f3b3
pushd build
a0f3b3
%cmake ..
a0f3b3
%make_build
a0f3b3
make doc
a0f3b3
popd
a0f3b3
a0f3b3
%install
a0f3b3
pushd build
a0f3b3
%make_install
a0f3b3
popd
a0f3b3
a0f3b3
%check
a0f3b3
pushd build
a0f3b3
ctest -VV
a0f3b3
popd
a0f3b3
a0f3b3
%ldconfig_scriptlets
a0f3b3
a0f3b3
%files
a0f3b3
%license COPYING COPYING.LESSER LICENSE.BSD
a0f3b3
%{_libdir}/libdrpm.so.*
a0f3b3
a0f3b3
%files devel
a0f3b3
%doc build/doc/html/
a0f3b3
%{_libdir}/libdrpm.so
a0f3b3
%{_includedir}/drpm.h
a0f3b3
%{_libdir}/pkgconfig/drpm.pc
a0f3b3
a0f3b3
%changelog
a0f3b3
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 0.3.0-14
a0f3b3
- Honor %%{valgrind_arches}
a0f3b3
a0f3b3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-13
a0f3b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a0f3b3
a0f3b3
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-12
a0f3b3
- Switch to %%ldconfig_scriptlets
a0f3b3
a0f3b3
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.3.0-11
a0f3b3
- Rebuilt after RPM update (№ 3)
a0f3b3
a0f3b3
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.3.0-10
a0f3b3
- Rebuilt for RPM soname bump
a0f3b3
a0f3b3
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.3.0-9
a0f3b3
- Rebuilt for RPM soname bump
a0f3b3
a0f3b3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-8
a0f3b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a0f3b3
a0f3b3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
a0f3b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a0f3b3
a0f3b3
* Thu Apr 13 2017 Than Ngo <than@redhat.com> - 0.3.0-6
a0f3b3
- updated workaround patch
a0f3b3
a0f3b3
* Tue Mar 28 2017 Than Ngo <than@redhat.com> - 0.3.0-5
a0f3b3
- added workaround for gcc7 bug on ppc64le temporary
a0f3b3
a0f3b3
* Thu Sep 29 2016 Pete Walter <pwalter@fedoraproject.org> - 0.3.0-4
a0f3b3
- Simplify spec file
a0f3b3
a0f3b3
* Tue May 3 2016 Matej Chalk <mchalk@redhat.com> 0.3.0-3
a0f3b3
- Now contains makedeltarpm and applydeltarpm functionality
a0f3b3
- Added lzlib-devel dependency for OpenSUSE
a0f3b3
a0f3b3
* Tue Apr 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.3.0-2
a0f3b3
- Cleanup spec
a0f3b3
- Make build out-of-tree
a0f3b3
- Sync with valgrind arches
a0f3b3
- Build documentation
a0f3b3
a0f3b3
* Thu Sep 3 2015 Matej Chalk <mchalk@redhat.com> 0.3.0-1
a0f3b3
- Bumped minor version (deltarpm creation added)
a0f3b3
a0f3b3
* Tue Aug 4 2015 Matej Chalk <mchalk@redhat.com> 0.2.1-1
a0f3b3
- Added openssl dependency
a0f3b3
a0f3b3
* Fri Jul 24 2015 Matej Chalk <mchalk@redhat.com> 0.2.0-2
a0f3b3
- Fixed bug in test suite
a0f3b3
a0f3b3
* Tue Jun 23 2015 Matej Chalk <mchalk@redhat.com> 0.2.0-1
a0f3b3
- Bumped minor version
a0f3b3
a0f3b3
* Fri Jun 19 2015 Matej Chalk <mchalk@redhat.com> 0.1.3-4
a0f3b3
- Memory test only for architectures that have valgrind (#1232157)
a0f3b3
a0f3b3
* Wed Mar 11 2015 Matej Chalk <mchalk@redhat.com> 0.1.3-3
a0f3b3
- Added cmocka and valgrind package dependencies
a0f3b3
a0f3b3
* Fri Mar 6 2015 Matej Chalk <mchalk@redhat.com> 0.1.3-2
a0f3b3
- Added check section
a0f3b3
a0f3b3
* Fri Feb 13 2015 Matej Chalk <mchalk@redhat.com> 0.1.3-1
a0f3b3
- Bumped version to 0.1.3
a0f3b3
- Added CMake tool
a0f3b3
a0f3b3
* Fri Dec 19 2014 Matej Chalk <mchalk@redhat.com> 0.1.2-4
a0f3b3
- Enabled hardened build
a0f3b3
a0f3b3
* Mon Dec 15 2014 Matej Chalk <mchalk@redhat.com> 0.1.2-3
a0f3b3
- Added unversioned .so to package to enable linking with -ldrpm
a0f3b3
a0f3b3
* Thu Dec 11 2014 Matej Chalk <mchalk@redhat.com> 0.1.2-2
a0f3b3
- Removed unversioned .so from package
a0f3b3
- Included copies of both GPLv3 and LGPLv3
a0f3b3
a0f3b3
* Wed Dec 3 2014 Matej Chalk <mchalk@redhat.com> 0.1.2-1
a0f3b3
- Bumped version to 0.1.2
a0f3b3
- Added drpm.pc file for pkgconfig tool
a0f3b3
a0f3b3
* Thu Nov 6 2014 Matej Chalk <mchalk@redhat.com> 0.1.1-1
a0f3b3
- Bumped version to 0.1.1
a0f3b3
a0f3b3
* Wed Nov 5 2014 Matej Chalk <mchalk@redhat.com> 0.1.0-1
a0f3b3
- Initial RPM release