Name: rudeconfig Version: 5.0.5 Release: 9%{?dist} Summary: Library (C++ API) for reading and writing configuration/.ini files Group: System Environment/Libraries License: GPLv2+ URL: http://www.rudeserver.com/config Source0: http://www.rudeserver.com/config/download/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: rudeconfig-5.0.5-gcc43.patch Patch1: rudeconfig-5.0.5-includes.patch #BuildRequires: #Requires: %description %{name} is a library that allows applications to read, modify and create configuration/.ini files. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel %{name} is a library that allows applications to read, modify and create configuration/.ini files. The %{name}-devel package contains libraries, header files, and documentation needed to develop C++ applications using %{name}. %prep %setup -q %patch0 -p1 -b .gcc43 %patch1 -p1 -b .includes %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING README NEWS ChangeLog %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc %dir %{_includedir}/rude %{_includedir}/rude/config.h %{_libdir}/*.so %{_mandir}/man3/* %changelog * Thu Feb 09 2012 Luis Bazan <lbazan@fedoraproject.org> -5.0.5-9 - rebuilt f16 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 5 2009 Caolán McNamara <caolanm@redhat.com> - 5.0.5-6 - include cstdio for EOF * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.5-4 - fix compile with gcc43 * Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.5-3 - fix license tag * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0.5-2 - Autorebuild for GCC 4.3 * Thu Feb 01 2007 Matt Flood <matt@rudeserver.com> - 5.0.5-1 - Renamed header include guards in config.h - From INCLUDED_CONFIG_H to INCLUDED_RUDE_CONFIG_H * Thu Feb 01 2007 Matt Flood <matt@rudeserver.com> - 5.0.4-3 - Minor amendments to build-related scripts - Added missing include directory to specfile * Thu Feb 01 2007 Matt Flood <matt@rudeserver.com> - 5.0.4-2 - Minor amendments to build-related scripts - Fixed minor typo in changelog (ChangeLog and rudeconfig.spec) - Added --disable-static to configure directive in rudeconfig.spec * Fri Jan 19 2007 Matt Flood <matt@rudeserver.com> - 5.0.4-1 - Created rudeconfig.3 MAN page * Mon Jul 31 2006 Matt Flood <matt@rudeserver.com> - 5.0.3-1 - Minor changes to facilitate Windows builds * changed #include's of <cstring> to <string.h> * added .c_str() to a string object to correct shorthand if statement ( a ? x : y ) * Thu Apr 10 2006 Matt Flood <matt@rudeserver.com> - 5.0.2-1 - First RPM Release * Fri Sep 2 2005 Matt Flood <matt@rudeserver.com> - 5.0.2-0 - Modified source code for DataLine.cpp - removed 'using namespace std' which Visual Studio is too dumb to ignore. - Fixed ParserJuly2004::chompEOL() - was not returning a value - (TODO: consider making the function void)