Name: llconf Version: 0.4.6 Release: 22%{?dist} Summary: Loss-less configuration file parser License: LGPLv2+ # The code.google.com home is dead. There is # but its 0.4.6 archive contains some # additional files (e.g. src/parsers/cron.c copied into src/cron.c with # changes license text.) URL: http://code.google.com/p/%{name}/ Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz Patch0: llconf-0.4.6-Install-parsers-headers-into-subdirectory.patch Patch1: llconf-0.4.6-Unify-paths-in-examples.patch # Fix a use-after-free in cnf_del_branch(), # Patch2: llconf-0.4.6-llconf-entry-fix-use-after-free-condition.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: findutils BuildRequires: gcc BuildRequires: libtool BuildRequires: make Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description llconf (loss-less configuration) tool is meant as a middle ware to unify control over configuration files. It tries to parse different configuration files using different modules, and rewrite them after applying changes, without destroying user changes and comments, so that it is still possible to edit the files with a common text editor. %package libs Summary: Loss-less configuration file parser library %description libs llconf (loss-less configuration) is meant as a middle ware to unify control over configuration files. It tries to parse different configuration files using different modules, and rewrite them after applying changes, without destroying user changes and comments, so that it is still possible to edit the files with a common text editor. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: pkgconfig %description devel Libraries and header files needed for developing applications that use %{name}. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 # Update libtool not to inject useless RPATH into resulting executable libtoolize -fi autoreconf -i chmod -x examples/wizard %build %configure --disable-static make %{?_smp_mflags} make -C doc doxygen %install make install DESTDIR=$RPM_BUILD_ROOT find "$RPM_BUILD_ROOT" -name '*.la' -delete %ldconfig_scriptlets libs %files %doc examples/etc examples/wizard README.llconf %{_bindir}/* %files libs %doc COPYING README %{_libdir}/*.so.* %files devel %doc examples/example.c doc/html %{_includedir}/%{name} %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.4.6-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.4.6-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.4.6-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.4.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.4.6-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.4.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.4.6-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.4.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.4.6-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Mar 22 2018 Petr Pisar - 0.4.6-13 - Modernize spec file - Fix a use-after-free in cnf_del_branch() * Thu Feb 08 2018 Fedora Release Engineering - 0.4.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.4.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.4.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.4.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.4.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 09 2014 Petr Pisar - 0.4.6-5 - Allow autoreconf to install missing files (bug #1106112) * Sat Jun 07 2014 Fedora Release Engineering - 0.4.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Apr 27 2011 Petr Pisar - 0.4.6-1 - Version 0.4.6 packaged - Upgrade libtool to get rid of useless RPATH - Do not install libtool archives - Install additional documentation