Name: mimetic Version: 0.9.8 Release: 11%{?dist} Summary: A full featured C++ MIME library License: MIT URL: http://www.codesink.org/mimetic_mime_library.html Source0: http://www.codesink.org/download/mimetic-%{version}.tar.gz Patch0: mimetic-%{version}-signedness-fix.patch BuildRequires: gcc-c++ BuildRequires: doxygen BuildRequires: findutils BuildRequires: make %description mimetic is an Email library (MIME) written in C++ designed to be easy to use and integrate but yet fast and efficient. It has been built around the standard lib. This means that you'll not find yet another string class or list implementation and that you'll feel comfortable in using this library from the very first time. Most classes functionalities and behavior will be clear if you ever studied MIME and its components; if you don't know anything about Internet messages you'll probably want to read some RFCs to understand the topic and, therefore, easily use the library whose names, whenever possible, overlap terms adopted in the standard RFC documents. At the very least: RFC 822, RFC 2045 and RFC 2046. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 %build # hardening library in rhel6,7 %if 0%{?rhel} && 0%{?rhel} <= 7 export CXXFLAGS="%{optflags} -Wl,-z,relro -Wl,-z,now" export LDFLAGS="%{?__global_ldflags} -Wl,-z,now -Wl,--as-needed" %endif %configure --disable-static make %{?_smp_mflags} make docs -C doc %install %make_install find %{buildroot} -name '*.*a' -delete -print %check make check %ldconfig_scriptlets %files %{!?_licensedir:%global license %doc} %license COPYING LICENSE %doc AUTHORS ChangeLog README %{_libdir}/libmimetic.so.* %files devel %doc doc/html/* %{_includedir}/mimetic/ %{_libdir}/libmimetic.so %changelog * Fri Jul 13 2018 Fedora Release Engineering - 0.9.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.9.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.9.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.9.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.9.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Mar 02 2016 Denis Fateyev - 0.9.8-6 - Fixed char type signedness for some arch - Hardening library build for EPEL * Thu Feb 04 2016 Fedora Release Engineering - 0.9.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.9.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.9.8-3 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.9.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Wed Jun 18 2014 Christopher Meng - 0.9.8-1 - Update to 0.9.8 * Wed Sep 12 2012 Christopher Meng - 0.9.7-1 - Initial Package.