diff --git a/README.md b/README.md index e46505d..2b05c98 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libcairomm +cairomm is a C++ wrapper 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. + diff --git a/libcairomm.spec b/libcairomm.spec new file mode 100644 index 0000000..92e8fc6 --- /dev/null +++ b/libcairomm.spec @@ -0,0 +1,113 @@ +Name: libcairomm +Version: 1.10.0 +Release: 1mamba +Summary: A C++ wrapper for the cairo graphics library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cairographics.org/cairomm/ +Source: http://www.cairographics.org/releases/cairomm-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcairo-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libGL-devel +BuildRequires: libpixman-devel +BuildRequires: libpng-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libsigc++-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +BuildRequires: udev-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +cairomm is a C++ wrapper 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. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +cairomm is a C++ wrapper 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. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q -n cairomm-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libcairomm-1.0.so.* +%doc AUTHORS COPYING ChangeLog NEWS README + +%files devel +%defattr(-,root,root) +#%{_libdir}/libcairomm-1.0.a +%{_libdir}/libcairomm-1.0.la +%{_libdir}/libcairomm-1.0.so +%{_libdir}/cairomm-1.0/include/cairommconfig.h +%dir %{_includedir}/cairomm-1.0/cairomm +%{_includedir}/cairomm-1.0/cairomm/*.h +%{_libdir}/pkgconfig/*.pc +%{_datadir}/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2 +%{_datadir}/doc/cairomm-1.0/reference/html/* +%{_docdir}/cairomm-1.0/reference/cairomm-1.0.tag + +%changelog +* Sun Jun 19 2011 Automatic Build System 1.10.0-1mamba +- automatic update by autodist + +* Sun Feb 27 2011 Silvan Calarco 1.8.6-1mamba +- update to 1.8.6 + +* Fri Nov 05 2010 Silvan Calarco 1.8.4-3mamba +- rebuilt + +* Mon Oct 25 2010 Silvan Calarco 1.8.4-2mamba +- rebuilt against libpng 1.4 + +* Mon Oct 26 2009 Automatic Build System 1.8.4-1mamba +- automatic update by autodist + +* Sun Jul 12 2009 Automatic Build System 1.8.2-1mamba +- automatic update by autodist + +* Wed May 20 2009 Automatic Build System 1.8.0-2mamba +- automatic rebuild by autodist + +* Sat Feb 28 2009 Silvan Calarco 1.8.0-1mamba +- automatic update by autodist + +* Tue Aug 19 2008 gil 1.6.2-1mamba +- update to 1.6.2 + +* Thu Jun 05 2008 Silvan Calarco 1.6.0-1mamba +- package created by autospec