X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=cairomm%2Fmingw32-cairomm.spec;fp=cairomm%2Fmingw32-cairomm.spec;h=63406941fc8f2b02e492646e42813a103ba865a9;hb=cdc4c6f64aa11a6e62288e78e3ae00e3dbb5e674;hp=0000000000000000000000000000000000000000;hpb=381e64d03983258cfcc81cd307944dbc4367a091;p=fedora-mingw.git diff --git a/cairomm/mingw32-cairomm.spec b/cairomm/mingw32-cairomm.spec new file mode 100644 index 0000000..6340694 --- /dev/null +++ b/cairomm/mingw32-cairomm.spec @@ -0,0 +1,61 @@ +%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.6.2 +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-binutils +BuildRequires: mingw32-cairo + + +%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 + + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%{_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_includedir}/cairomm-1.0 + + +%changelog +* Fri Oct 24 2008 Richard W.M. Jones - 1.6.2-1 +- Initial RPM release.