## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: dotconf Version: 1.4.1 Release: %autorelease Summary: Libraries to parse configuration files # src/readdir* are Apache-1.1 License: LGPL-2.1-only AND Apache-1.1 URL: https://github.com/williamh/dotconf/ Source: https://github.com/williamh/dotconf/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: findutils BuildRequires: gcc BuildRequires: glibc-common BuildRequires: libtool BuildRequires: make %description Dotconf is a library used to handle configuration files. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconf-pkg-config %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build autoreconf -fiv %configure --disable-static %make_build %install %make_install iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS mv iconv.tmp AUTHORS iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt mv iconv.tmp doc/dotconf-features.txt rm examples/maketest.sh find %{buildroot} -type f -name "*.a" -o -name "*.la" | xargs rm -f # move installed docs to include them in -devel package via %%doc magic rm -rf __tmp_doc ; mkdir __tmp_doc mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}/* __tmp_doc %ldconfig_scriptlets %files %license COPYING %doc README AUTHORS %{_libdir}/libdotconf*.so.* %files devel %doc __tmp_doc/* %{_libdir}/libdotconf*.so %{_includedir}/dotconf.h %{_libdir}/pkgconfig/dotconf.pc %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 16 2024 Frantisek Sumsal - 1.4.1-2 - Upload (forgotten) new sources * Tue Apr 16 2024 Frantisek Sumsal - 1.4.1-1 - Bump to v1.4.1 (rhbz#2274330) * Tue Apr 16 2024 Frantisek Sumsal - 1.3-42 - Point to GH tarball in sources * Tue Apr 16 2024 Frantisek Sumsal - 1.3-41 - Use %%autosetup * Tue Apr 16 2024 Frantisek Sumsal - 1.3-40 - Unify indent, drop a couple of extraneous whitespaces * Mon Feb 12 2024 Tomas Popela - 1.3-35 - Build for the SPDX license format change * Wed Jan 24 2024 Fedora Release Engineering - 1.3-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.3-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.3-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.3-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.3-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jun 11 2022 Frantisek Sumsal - 1.3-29 - Fix changelog to make rpmbuild happy (recent Rawhide FTBFS) * Thu Jan 20 2022 Fedora Release Engineering - 1.3-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.3-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.3-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.3-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 13 2020 Tom Stellard - 1.3-24 - Use make macros - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro * Tue Jan 28 2020 Fedora Release Engineering - 1.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 13 2019 Wim Taymans - 1.3-22 - Fix URL * Wed Jul 24 2019 Fedora Release Engineering - 1.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 7 2018 Peter Robinson 1.3-18 - Modernise spec, add BR gcc * Wed Feb 07 2018 Fedora Release Engineering - 1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 1.3-16 - Switch to %%ldconfig_scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 1.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Dec 14 2013 Michael Schwendt - 1.3-8 - Fix duplicate documentation (#1001258) by using only %%doc magic - pkgconfig dep is automatic - Use %%?_isa in -devel base package dep * Sat Aug 03 2013 Fedora Release Engineering - 1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 16 2013 Peter Robinson 1.3-6 - Fix multilib issues (thanks Rui Matos) * Tue Feb 5 2013 Peter Robinson 1.3-5 - Update URLs and note github SCV url * Wed Jul 18 2012 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 8 2010 Peter Robinson - 1.3-1 - New upstream 1.3 release, update URL/Source * Fri Jul 24 2009 Fedora Release Engineering - 1.0.13-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 1.0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jul 03 2008 Mamoru Tasaka - 1.0.13-7 - Override config.{sub,guess} explicitly due to redhat-rpm-build-config behavior change on F-10+, otherwise build fails on ppc64 * Sun Mar 09 2008 Assim Deodia 1.0.13-6 - fixed m4-underquote error * Fri Feb 29 2008 Assim Deodia 1.0.13-5 - fixed AUTHORS utf-8 - fixed doc/dotconf-features.txt utf-8 * Sat Feb 23 2008 Assim Deodia 1.0.13-4 - Applied patch macro * Sat Feb 23 2008 Assim Deodia 1.0.13-3 - Resolved Multilib issue * Fri Feb 22 2008 Assim Deodia 1.0.13-2 - Inclusion of pkgconfig - Removal of INSTALL file - Proper placement of Library files - Creating devel sub-package - Chaning source URL * Sun Feb 17 2008 Assim Deodia 1.0.13-1 - Initial Commit ## END: Generated by rpmautospec