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