diff --git a/.gitignore b/.gitignore index e69de29..fb52459 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,6 @@ +/libeconf-0.3.0.tar.gz +/libeconf-0.3.1.tar.xz +/libeconf-0.3.3.tar.xz +/libeconf-0.3.4.tar.xz +/libeconf-0.3.5.tar.xz +/libeconf-0.3.8.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..1d7ee87 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# libeconf + +The libeconf package \ No newline at end of file diff --git a/libeconf.spec b/libeconf.spec new file mode 100644 index 0000000..faeac34 --- /dev/null +++ b/libeconf.spec @@ -0,0 +1,93 @@ +# Force out of source build +%undefine __cmake_in_source_build + +%global somajor 0 + +Name: libeconf +Version: 0.3.8 +Release: 4%{?dist} +Summary: Enhanced config file parser library + +License: MIT +URL: https://github.com/openSUSE/libeconf +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake >= 3.12 +BuildRequires: gcc +BuildRequires: make + +%description +libeconf is a highly flexible and configurable library to parse and manage +key=value configuration files. It reads configuration file snippets from +different directories and builds the final configuration file from it. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 + + +%build +%cmake +%cmake_build + + +%install +%cmake_install + + +%check +%cmake_build --target check + + +%files +%license LICENSE +%doc NEWS README.md TODO.md +%{_libdir}/%{name}.so.%{somajor}{,.*} + +%files devel +%doc example/ +%{_includedir}/* +%{_libdir}/%{name}.so +%{_libdir}/cmake/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Sat Aug 08 2020 Neal Gompa - 0.3.8-4 +- Use backend-agnostic CMake macro for building and running tests + +* Tue Jul 28 2020 Fedora Release Engineering - 0.3.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jul 12 2020 Neal Gompa - 0.3.8-2 +- Switch to updated and fixed tarball + +* Fri Jul 10 2020 Neal Gompa - 0.3.8-1 +- Update to 0.3.8 (RH#1844005) + +* Thu Feb 06 2020 Neal Gompa - 0.3.5-1 +- Update to 0.3.5 (RH#1797753) + +* Wed Jan 29 2020 Fedora Release Engineering - 0.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 21 2020 Neal Gompa - 0.3.4-1 +- Update to 0.3.4 (RH#1793599) + +* Wed Oct 30 2019 Neal Gompa - 0.3.3-1 +- Update to 0.3.3 (RH#1756080) + +* Tue Sep 24 2019 Neal Gompa - 0.3.1-1 +- Update to 0.3.1 (RH#1755161) + +* Fri Sep 6 2019 Neal Gompa - 0.3.0-1 +- Initial packaging for Fedora (RH#1749869) diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..6b189b9 --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = master fedora diff --git a/sources b/sources new file mode 100644 index 0000000..618d869 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libeconf-0.3.8.tar.gz) = 78b2a27748c1dfa9d4a73e99112e2632142136f7d1f842a9a18b1afd26e4238731415c5a103925a8d03941a5cc041288aa5893d5bc86144a1500dad95c362c34