Blame SPECS/libeconf.spec

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