1f1424
%global apiver 1.0
1f1424
1f1424
%global cairo_version 1.10.0
1f1424
%global libsigc_version 2.5.1
1f1424
1f1424
Summary:        C++ API for the cairo graphics library
1f1424
Name:           cairomm
1f1424
Version:        1.12.0
223abf
Release:        8%{?dist}
1f1424
URL:            http://www.cairographics.org
1f1424
License:        LGPLv2+
1f1424
Group:          System Environment/Libraries
1f1424
Source:         http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
1f1424
BuildRequires:  cairo-devel >= %{cairo_version}
1f1424
BuildRequires:  libsigc++20-devel >= %{libsigc_version}
1f1424
BuildRequires:  perl-interpreter
1f1424
BuildRequires:  perl(Getopt::Long)
1f1424
BuildRequires:  pkgconfig
1f1424
1f1424
Requires:       cairo%{?_isa} >= %{cairo_version}
1f1424
Requires:       libsigc++20%{?_isa} >= %{libsigc_version}
1f1424
1f1424
%description
1f1424
Cairomm is the C++ API for the cairo graphics library. It offers all the power
1f1424
of cairo with an interface familiar to C++ developers, including use of the 
1f1424
Standard Template Library where it makes sense.
1f1424
1f1424
%package        devel
1f1424
Summary:        Headers for developing programs that will use %{name}
1f1424
Group:          Development/Libraries
1f1424
Requires:       %{name}%{?_isa} = %{version}-%{release}
1f1424
1f1424
%description    devel
1f1424
Cairomm is the C++ API for the cairo graphics library. It offers all the power
1f1424
of cairo with an interface familiar to C++ developers, including use of the 
1f1424
Standard Template Library where it makes sense.
1f1424
1f1424
This package contains the libraries and header files needed for
1f1424
developing %{name} applications.
1f1424
1f1424
%package        doc
1f1424
Summary:        Developer's documentation for the cairomm library
1f1424
Group:          Documentation
1f1424
BuildArch:      noarch
1f1424
Requires:       %{name} = %{version}-%{release}
1f1424
Requires:       libsigc++20-doc
1f1424
1f1424
%description      doc
1f1424
This package contains developer's documentation for the cairomm
1f1424
library. Cairomm is the C++ API for the cairo graphics library.
1f1424
1f1424
The documentation can be viewed either through the devhelp
1f1424
documentation browser or through a web browser.
1f1424
1f1424
If using a web browser the documentation is installed in the gtk-doc
1f1424
hierarchy and can be found at /usr/share/doc/cairomm-1.0
1f1424
1f1424
%prep
1f1424
%setup -q 
1f1424
1f1424
%build
1f1424
%configure --disable-static
1f1424
make %{?_smp_mflags}
1f1424
1f1424
%install
1f1424
%make_install
1f1424
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
1f1424
1f1424
%ldconfig_scriptlets
1f1424
1f1424
%files
1f1424
%license COPYING
1f1424
%doc AUTHORS README NEWS
1f1424
%{_libdir}/lib*.so.*
1f1424
1f1424
%files devel
1f1424
%doc ChangeLog
1f1424
%{_includedir}/%{name}-%{apiver}
1f1424
%{_libdir}/*.so
1f1424
%{_libdir}/pkgconfig/*
1f1424
%{_libdir}/%{name}-%{apiver}
1f1424
1f1424
%files doc
1f1424
%doc %{_datadir}/doc/%{name}-%{apiver}/
1f1424
%doc %{_datadir}/devhelp/
1f1424
1f1424
%changelog
223abf
* Thu Oct 15 2020 Tomas Popela <tpopela@redhat.com> - 1.12.0-8
223abf
- Rebuild for the annobin fixes
223abf
- Resolves: rhbz#1703971
223abf
1f1424
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.12.0-7
1f1424
- Switch to %%ldconfig_scriptlets
1f1424
1f1424
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-6
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1f1424
1f1424
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-5
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1f1424
1f1424
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.0-4
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
1f1424
1f1424
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-3
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1f1424
1f1424
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1f1424
1f1424
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 1.12.0-1
1f1424
- Update to 1.12.0
1f1424
- Drop manual requires that are automatically handled by pkgconfig dep gen
1f1424
- Use license macro for COPYING
1f1424
- Tighten -devel subpackage deps with the _isa macro
1f1424
- Use make_install macro
1f1424
1f1424
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-12
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1f1424
1f1424
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.10.0-11
1f1424
- Rebuilt for GCC 5 C++11 ABI change
1f1424
1f1424
* Sat Mar 07 2015 Kalev Lember <kalevlember@gmail.com> - 1.10.0-10
1f1424
- Rebuilt for gcc5 ABI change
1f1424
1f1424
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-9
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1f1424
1f1424
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-8
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1f1424
1f1424
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-7
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1f1424
1f1424
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-6
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1f1424
1f1424
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1f1424
1f1424
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-4
1f1424
- Rebuilt for c++ ABI breakage
1f1424
1f1424
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1f1424
1f1424
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.10.0-2
1f1424
- Rebuild for new libpng
1f1424
1f1424
* Fri Jul 29 2011 Kalev Lember <kalevlember@gmail.com> - 1.10.0-1
1f1424
- Update to 1.10.0
1f1424
- Have the -doc subpackage depend on the base package
1f1424
- Modernize the spec file
1f1424
- Really own /usr/share/devhelp directory
1f1424
1f1424
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.8-2
1f1424
- fix documentation location
1f1424
- co-own /usr/share/devhelp
1f1424
1f1424
* Mon Feb 14 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.8-1
1f1424
- upstream 1.9.8
1f1424
- fix issues with f15/rawhide (RHBZ #676878)
1f1424
- drop gtk-doc dependency (RHBZ #604169)
1f1424
1f1424
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1f1424
1f1424
* Wed Jul 14 2010 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.9.1-1
1f1424
- New upstream release
1f1424
- Removed html docs from -devel package
1f1424
- Seperated requires into one per line
1f1424
- Fixed devhelp docs
1f1424
1f1424
* Tue Nov 17 2009 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.8.4-1
1f1424
- New upstream release
1f1424
- Added cairommconfig.h file
1f1424
- Added doc subpackage
1f1424
1f1424
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1f1424
1f1424
* Tue Feb 24 2009 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.8.0-1
1f1424
- Update to 1.8.0
1f1424
- Added libsigc++20-devel dependency
1f1424
1f1424
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
1f1424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1f1424
1f1424
* Fri Aug 29 2008 Denis Leroy <denis@poolshark.org> - 1.6.2-1
1f1424
- Update to upstream 1.6.2
1f1424
- atsui patch upstreamed
1f1424
1f1424
* Sun Mar 23 2008 Denis Leroy <denis@poolshark.org> - 1.5.0-1
1f1424
- Update to 1.5.0
1f1424
- Added patch from Mamoru Tasaka to fix font type enum (#438600)
1f1424
1f1424
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.4-2
1f1424
- Autorebuild for GCC 4.3
1f1424
1f1424
* Fri Aug 17 2007 Denis Leroy <denis@poolshark.org> - 1.4.4-1
1f1424
- Update to upstream version 1.4.4
1f1424
- Fixed License tag
1f1424
1f1424
* Fri Jul 20 2007 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.4.2-1
1f1424
- New upstream release
1f1424
- Changed install to preserve timestamps
1f1424
- Removed mv of docs/reference and include files directly
1f1424
1f1424
* Wed Jan 17 2007 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.4-1
1f1424
- New release
1f1424
1f1424
* Sat Oct 14 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.2-1
1f1424
- New upstream release
1f1424
1f1424
* Sun Aug 27 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-4
1f1424
- Bumped release for make tag
1f1424
1f1424
* Sun Aug 27 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-3
1f1424
- Bumped release for mass rebuild
1f1424
1f1424
* Sun Aug 20 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-2
1f1424
- Bumped release for make tag
1f1424
1f1424
* Sun Aug 20 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.2.0-1
1f1424
- New upstream release
1f1424
- Updated summary and description
1f1424
1f1424
* Thu Aug  3 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.1.10-1
1f1424
- First release for cairo 1.2
1f1424
- Adjusted cairo dependencies for new version
1f1424
- Docs were in html, moved to reference/html
1f1424
1f1424
* Sun Apr  9 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.6.0-1
1f1424
- New upstream version should fix the upstream issues like AUTHORS and README
1f1424
- Added pkgconfig to cairomm BuildRequires and cairomm-devel Requires
1f1424
- Replaced makeinstall
1f1424
- Fixed devel package description
1f1424
- Modified includedir syntax
1f1424
- docs included via the mv in install and in the devel files as html dir
1f1424
1f1424
* Sun Mar  5 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-10
1f1424
- Removed duplicate Group tag in devel
1f1424
- Disabled docs till they're fixed upstream 
1f1424
1f1424
* Sun Mar  5 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-9
1f1424
- Removed requires since BuildRequires is present
1f1424
- Cleaned up Source tag
1f1424
1f1424
* Fri Feb 24 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-7
1f1424
- Fixed URL and SOURCE tags
1f1424
- Fixed header include directory
1f1424
1f1424
* Fri Feb 24 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-6
1f1424
- Fixed URL tag
1f1424
1f1424
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-5
1f1424
- Remove epoch 'leftovers'
1f1424
1f1424
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-4
1f1424
- Cleanup for FE
1f1424
1f1424
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-3
1f1424
- Added pre-release alphatag
1f1424
1f1424
* Wed Feb 22 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-2
1f1424
- Updated to current cairomm CVS
1f1424
- Added documentation to devel package
1f1424
1f1424
* Fri Feb 03 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-1
1f1424
- Updated to current cairomm CVS
1f1424
1f1424
* Fri Jan 27 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.4.0-1
1f1424
- Initial creation from papyrus.spec.in
1f1424