1b6572
Name:		dotconf
1b6572
Version:	1.3
1b6572
Release:	18%{?dist}
1b6572
Summary:	Libraries to parse configuration files
1b6572
License:	LGPLv2
1b6572
URL:		http://www.azzit.de/dotconf/
1b6572
#SCV https://github.com/williamh/dotconf/tags
1b6572
Source:		%{name}-%{version}.tar.gz
1b6572
 
1b6572
BuildRequires:	findutils
1b6572
BuildRequires:	gcc
1b6572
BuildRequires:	glibc-common
1b6572
BuildRequires:	make
1b6572
1b6572
%description
1b6572
Dotconf is a library used to handle configuration files.
1b6572
1b6572
%package	devel
1b6572
Summary:	Development files for %{name}
1b6572
Requires:	%{name}%{?_isa} = %{version}-%{release}
1b6572
Requires:	pkgconf-pkg-config
1b6572
1b6572
1b6572
%description    devel
1b6572
The %{name}-devel package contains libraries and header files for
1b6572
developing applications that use %{name}.
1b6572
1b6572
1b6572
%prep
1b6572
%setup -q
1b6572
1b6572
%build
1b6572
%configure --disable-static
1b6572
make %{?_smp_mflags}
1b6572
1b6572
%install
1b6572
make install DESTDIR=%{buildroot} INSTALL="install -p"
1b6572
1b6572
iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS
1b6572
mv iconv.tmp AUTHORS
1b6572
iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt
1b6572
mv iconv.tmp doc/dotconf-features.txt
1b6572
rm examples/maketest.sh
1b6572
find %{buildroot} -type f -name "*.a" -o -name "*.la" | xargs rm -f
1b6572
1b6572
# move installed docs to include them in -devel package via %%doc magic
1b6572
rm -rf __tmp_doc ; mkdir __tmp_doc
1b6572
mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}/* __tmp_doc
1b6572
1b6572
%ldconfig_scriptlets
1b6572
1b6572
%files
1b6572
%license COPYING
1b6572
%doc README AUTHORS
1b6572
%{_libdir}/libdotconf*.so.*
1b6572
1b6572
%files devel
1b6572
%doc __tmp_doc/*
1b6572
%{_libdir}/libdotconf*.so
1b6572
%{_includedir}/dotconf.h
1b6572
%{_libdir}/pkgconfig/dotconf.pc
1b6572
1b6572
%changelog
1b6572
* Wed Mar  7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-18
1b6572
- Modernise spec, add BR gcc
1b6572
1b6572
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-17
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1b6572
1b6572
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3-16
1b6572
- Switch to %%ldconfig_scriptlets
1b6572
1b6572
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-15
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1b6572
1b6572
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-14
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1b6572
1b6572
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-13
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1b6572
1b6572
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-12
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1b6572
1b6572
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-11
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1b6572
1b6572
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-10
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1b6572
1b6572
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1b6572
1b6572
* Sat Dec 14 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.3-8
1b6572
- Fix duplicate documentation (#1001258) by using only %%doc magic
1b6572
- pkgconfig dep is automatic
1b6572
- Use %%?_isa in -devel base package dep
1b6572
1b6572
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1b6572
1b6572
* Tue Jul 16 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-6
1b6572
- Fix multilib issues (thanks Rui Matos)
1b6572
1b6572
* Tue Feb  5 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-5
1b6572
- Update URLs and note github SCV url
1b6572
1b6572
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1b6572
1b6572
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1b6572
1b6572
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1b6572
1b6572
* Wed Dec  8 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.3-1
1b6572
- New upstream 1.3 release, update URL/Source
1b6572
1b6572
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-9
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1b6572
1b6572
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-8
1b6572
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1b6572
1b6572
* Thu Jul 03 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.13-7
1b6572
- Override config.{sub,guess} explicitly due to redhat-rpm-build-config
1b6572
  behavior change on F-10+, otherwise build fails on ppc64
1b6572
1b6572
* Sun Mar 09 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-6
1b6572
- fixed m4-underquote error
1b6572
1b6572
* Fri Feb 29 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-5
1b6572
- fixed AUTHORS utf-8
1b6572
- fixed doc/dotconf-features.txt utf-8
1b6572
1b6572
* Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-4
1b6572
- Applied patch macro
1b6572
1b6572
* Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-3
1b6572
- Resolved Multilib issue
1b6572
1b6572
* Fri Feb 22 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-2
1b6572
- Inclusion of pkgconfig
1b6572
- Removal of INSTALL file
1b6572
- Proper placement of Library files
1b6572
- Creating devel sub-package
1b6572
- Chaning source URL
1b6572
1b6572
* Sun Feb 17 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-1
1b6572
- Initial Commit