Blame SPECS/libeconf.spec

f0f745
# Force out of source build
f0f745
%undefine __cmake_in_source_build
f0f745
f0f745
%global somajor 0
f0f745
f0f745
Name:           libeconf
f0f745
Version:        0.4.1
f0f745
Release:        2%{?dist}
f0f745
Summary:        Enhanced config file parser library
f0f745
f0f745
License:        MIT
f0f745
URL:            https://github.com/openSUSE/libeconf
f0f745
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
f0f745
f0f745
BuildRequires:  cmake >= 3.12
f0f745
BuildRequires:  gcc
f0f745
BuildRequires:  make
f0f745
f0f745
%description
f0f745
libeconf is a highly flexible and configurable library to parse and manage
f0f745
key=value configuration files. It reads configuration file snippets from
f0f745
different directories and builds the final configuration file from it.
f0f745
f0f745
f0f745
%package        devel
f0f745
Summary:        Development files for %{name}
f0f745
Requires:       %{name}%{?_isa} = %{version}-%{release}
f0f745
f0f745
%description    devel
f0f745
The %{name}-devel package contains libraries and header files for
f0f745
developing applications that use %{name}.
f0f745
f0f745
f0f745
%package        utils
f0f745
Summary:        Utilities for manipulating config files
f0f745
Requires:       %{name}%{?_isa} = %{version}-%{release}
f0f745
f0f745
%description    utils
f0f745
The %{name}-utils package contains utilities for manipulating
f0f745
configuration files from applications that use %{name}.
f0f745
f0f745
f0f745
%prep
f0f745
%autosetup -p1
f0f745
f0f745
f0f745
%build
f0f745
%cmake
f0f745
%cmake_build
f0f745
f0f745
f0f745
%install
f0f745
%cmake_install
f0f745
f0f745
f0f745
%check
f0f745
%cmake_build --target check
f0f745
f0f745
f0f745
%files
f0f745
%license LICENSE
f0f745
%doc NEWS README.md TODO.md
f0f745
%{_libdir}/%{name}.so.%{somajor}{,.*}
f0f745
f0f745
%files devel
f0f745
%doc example/
f0f745
%{_includedir}/*
f0f745
%{_libdir}/%{name}.so
f0f745
%{_libdir}/cmake/%{name}/
f0f745
%{_libdir}/pkgconfig/%{name}.pc
f0f745
%{_mandir}/man3/%{name}.3*
f0f745
f0f745
%files utils
f0f745
%{_bindir}/econftool
f0f745
%{_mandir}/man8/econftool.8* 
f0f745
f0f745
f0f745
%changelog
f0f745
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.1-2
f0f745
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
f0f745
  Related: rhbz#1991688
f0f745
f0f745
* Tue Jul 13 2021 Iker Pedrosa <ipedrosa@redhat.com> - 0.4.1-1
f0f745
- Rebase to 0.4.1. Resolves: #1938762
f0f745
f0f745
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.8-6
f0f745
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
f0f745
f0f745
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-5
f0f745
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f0f745
f0f745
* Sat Aug 08 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.8-4
f0f745
- Use backend-agnostic CMake macro for building and running tests
f0f745
f0f745
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-3
f0f745
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f0f745
f0f745
* Sun Jul 12 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.8-2
f0f745
- Switch to updated and fixed tarball
f0f745
f0f745
* Fri Jul 10 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.8-1
f0f745
- Update to 0.3.8 (RH#1844005)
f0f745
f0f745
* Thu Feb 06 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.5-1
f0f745
- Update to 0.3.5 (RH#1797753)
f0f745
f0f745
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
f0f745
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f0f745
f0f745
* Tue Jan 21 2020 Neal Gompa <ngompa13@gmail.com> - 0.3.4-1
f0f745
- Update to 0.3.4 (RH#1793599)
f0f745
f0f745
* Wed Oct 30 2019 Neal Gompa <ngompa13@gmail.com> - 0.3.3-1
f0f745
- Update to 0.3.3 (RH#1756080)
f0f745
f0f745
* Tue Sep 24 2019 Neal Gompa <ngompa13@gmail.com> - 0.3.1-1
f0f745
- Update to 0.3.1 (RH#1755161)
f0f745
f0f745
* Fri Sep  6 2019 Neal Gompa <ngompa13@gmail.com> - 0.3.0-1
f0f745
- Initial packaging for Fedora (RH#1749869)