%{!?release_func:%global release_func() %1%{?dist}} Name: mimetic Version: 0.9.7 Release: %release_func 1703 Summary: A full featured MIME library written in C++ Group: System Environment/Libraries License: MIT URL: http://www.codesink.org/mimetic_mime_library.html Source0: http://www.codesink.org/download/%name-%version.tar.gz Patch0: mimetic-0.9.2-noconfigh.patch Patch1: undef-op.patch Patch2: mimetic-0.9.7-gcc47.patch BuildRoot: %_tmppath/%name-%version-%release-root BuildRequires: doxygen %package devel Summary: Files for development of applications which will use %name Group: Development/Libraries Requires: %name = %version-%release %description mimetic is a MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient. mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. %description devel mimetic is a MIME library written in C++ designed to be easy to use and integrate but yet fast and efficient. mimetic doesn't use exceptions but it heavily uses templates so a mostly standard compliant C++ compiler is required. This package contains files for the development of applications which will use %name. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %configure --disable-static sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %__make %{?_smp_mflags} %__make docs -C doc %install rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%_libdir/*.la %check %__make check %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING LICENSE ChangeLog README %_libdir/*.so.* %files devel %defattr(-,root,root,-) %doc doc/html %_libdir/*.so %_includedir/%name %changelog * Wed Aug 1 2012 Ville Skyttä - 0.9.7-1703 - Fix build with gcc 4.7. - Remove inaccurate license info from description. * Fri Jul 20 2012 Fedora Release Engineering - 0.9.7-1702 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 0.9.7-1701 - Rebuilt for c++ ABI breakage * Wed Jan 4 2012 Enrico Scholz - 0.9.7-1700 - updated to 0.9.7 - added patch to fix undefined behavior - fixed URIs * Tue Feb 08 2011 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Nov 20 2010 Enrico Scholz - fixed license tag (#650656) * Sat Sep 12 2009 Enrico Scholz - 0.9.6-1 - updated to 0.9.6 * Sat Jul 25 2009 Fedora Release Engineering - 0.9.5-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Mar 7 2009 Enrico Scholz - 0.9.5-0 - updated to 0.9.5 * Wed Feb 25 2009 Fedora Release Engineering - 0.9.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Sep 16 2008 Matt Domsch - 0.9.3-5 - fix FTBFS BR#434086 with several #include s * Fri Aug 8 2008 Tom "spot" Callaway - 0.9.3-4 - fix license tag * Mon Feb 18 2008 Fedora Release Engineering - 0.9.3-3 - Autorebuild for GCC 4.3 * Wed Aug 29 2007 Fedora Release Engineering - 0.9.3-2 - Rebuild for selinux ppc32 issue. * Thu Jun 14 2007 Enrico Scholz - 0.9.3-1 - updated to 0.9.3 * Sat Feb 3 2007 Enrico Scholz - 0.9.2-1 - updated to 0.9.2; rediffed patches - build the library with '-Wl,--as-needed' * Fri Sep 15 2006 Enrico Scholz - 0.9.1-2 - rebuilt * Sun Apr 16 2006 Enrico Scholz - 0.9.1-1 - updated to 0.9.1 - rediffed -noconfigh patch and cover new #ifdef's - removed -gcc41 patch * Sun Mar 12 2006 Enrico Scholz - 0.9.0-2 - fixed a missing case in the noconfigh patch * Sun Mar 12 2006 Enrico Scholz - 0.9.0-1 - updated to 0.9.0 - rediffed/updated the .noconfigh patch * Sat Feb 18 2006 Enrico Scholz - 0.8.9-4 - rebuilt for FC5 * Sun Dec 25 2005 Enrico Scholz - 0.8.9-3 - fixed compilation with gcc41 - first Fedora Extras release (review #171624) * Mon Oct 24 2005 Enrico Scholz - 0.8.9-2 - workaround problems with which conflicts with local files from autoconf/automake * Mon Oct 24 2005 Enrico Scholz - 0.8.9-1 - initial release