From aa0272aff1de96a4dd0bcda1d4bf411b2f8b0bc2 Mon Sep 17 00:00:00 2001 From: sailer Date: Apr 08 2009 06:46:08 +0000 Subject: import from review https://bugzilla.redhat.com/show_bug.cgi?id=492122 --- diff --git a/.cvsignore b/.cvsignore index e69de29..dbe066e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +cairomm-1.8.0.tar.gz diff --git a/mingw32-cairomm.spec b/mingw32-cairomm.spec new file mode 100644 index 0000000..7c4f492 --- /dev/null +++ b/mingw32-cairomm.spec @@ -0,0 +1,85 @@ +%define __strip %{_mingw32_strip} +%define __objdump %{_mingw32_objdump} +%define _use_internal_dependency_generator 0 +%define __find_requires %{_mingw32_findrequires} +%define __find_provides %{_mingw32_findprovides} + +Name: mingw32-cairomm +Version: 1.8.0 +Release: 1%{?dist} +Summary: MinGW Windows C++ API for the cairo graphics library + +License: LGPLv2+ +Group: Development/Libraries +URL: http://www.cairographics.org +Source0: http://www.cairographics.org/releases/cairomm-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +BuildRequires: mingw32-filesystem >= 30 +BuildRequires: mingw32-gcc +BuildRequires: mingw32-gcc-c++ +BuildRequires: mingw32-binutils +BuildRequires: mingw32-cairo +BuildRequires: mingw32-libsigc++20 +BuildRequires: pkgconfig + +Requires: pkgconfig + + +%description +Cairomm is the C++ API for the cairo graphics library. It offers all the power +of cairo with an interface familiar to C++ developers, including use of the +Standard Template Library where it makes sense. + + +%prep +%setup -q -n cairomm-%{version} + + +%build +%{_mingw32_configure} --enable-static=no --enable-docs=no +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%doc COPYING +%{_mingw32_bindir}/libcairomm-1.0-1.dll +%{_mingw32_libdir}/libcairomm-1.0.dll.a +%{_mingw32_libdir}/libcairomm-1.0.la +%{_mingw32_libdir}/pkgconfig/cairomm-1.0.pc +%{_mingw32_libdir}/pkgconfig/cairomm-pdf-1.0.pc +%{_mingw32_libdir}/pkgconfig/cairomm-png-1.0.pc +%{_mingw32_libdir}/pkgconfig/cairomm-ps-1.0.pc +%{_mingw32_libdir}/pkgconfig/cairomm-svg-1.0.pc +%{_mingw32_libdir}/pkgconfig/cairomm-win32-1.0.pc +%{_mingw32_libdir}/pkgconfig/cairomm-win32-font-1.0.pc +%{_mingw32_includedir}/cairomm-1.0 + + +%changelog +* Wed Mar 25 2009 Thomas Sailer - 1.8.0-1 +- update to 1.8.0 + +* Fri Feb 20 2009 Richard W.M. Jones - 1.6.2-5 +- Rebuild for mingw32-gcc 4.4 + +* Fri Feb 6 2009 Richard W.M. Jones - 1.6.2-4 +- Include license. + +* Fri Jan 23 2009 Richard W.M. Jones - 1.6.2-3 +- Use _smp_mflags. + +* Fri Oct 24 2008 Richard W.M. Jones - 1.6.2-2 +- Initial RPM release. diff --git a/sources b/sources index e69de29..517d0ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +15c0f56eee57bb418c38463a6297d715 cairomm-1.8.0.tar.gz