*** empty log message ***

This commit is contained in:
Rick L. Vinyard, Jr. 2010-07-14 15:01:58 +00:00
parent 44f9327bdd
commit 311a0e6489
3 changed files with 25 additions and 8 deletions

View File

@ -1 +1 @@
cairomm-1.8.4.tar.gz
cairomm-1.9.1.tar.gz

View File

@ -1,13 +1,17 @@
%global apiver 1.0
%define cairover 1.9.5
Summary: C++ API for the cairo graphics library
Name: cairomm
Version: 1.8.4
Version: 1.9.1
Release: 1%{?dist}
URL: http://www.cairographics.org
License: LGPLv2+
Group: System Environment/Libraries
Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cairo-devel >= 1.5.10 pkgconfig
BuildRequires: cairo-devel >= %{cairover}
BuildRequires: pkgconfig
BuildRequires: libsigc++20-devel
%description
@ -19,7 +23,8 @@ Standard Template Library where it makes sense.
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: cairo-devel >= 1.4.0 pkgconfig
Requires: cairo-devel >= %{cairover}
Requires: pkgconfig
Requires: libsigc++20-devel
%description devel
@ -61,6 +66,13 @@ hierarchy and can be found at /usr/share/doc/cairomm-1.0
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
# Fix documentation installation, put everything under gtk-doc
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/cairomm-%{apiver}
mv $RPM_BUILD_ROOT%{_docdir}/cairomm-%{apiver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/cairomm-%{apiver}/
mv $RPM_BUILD_ROOT%{_datadir}/devhelp/books/cairomm-%{apiver}/*.devhelp2 $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/cairomm-%{apiver}
# Fix devhelp broken base tag
sed -i 's:base="[^\"]*":base="%{_datadir}/gtk-doc/html/cairomm-%{apiver}/reference/html":' $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/cairomm-%{apiver}/*.devhelp2
%clean
%{__rm} -rf $RPM_BUILD_ROOT
@ -79,14 +91,19 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/*
%{_libdir}/cairomm-1.0/include/cairommconfig.h
%{_includedir}/cairomm-1.0/
%doc ChangeLog docs/reference
%doc ChangeLog
%files doc
%defattr(-,root,root,-)
%doc %{_datadir}/doc/cairomm-1.0/
%doc %{_datadir}/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2
%doc %{_datadir}/gtk-doc/html/cairomm-%{apiver}/
%changelog
* Wed Jul 14 2010 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.9.1-1
- New upstream release
- Removed html docs from -devel package
- Seperated requires into one per line
- Fixed devhelp docs
* Tue Nov 17 2009 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 1.8.4-1
- New upstream release
- Added cairommconfig.h file

View File

@ -1 +1 @@
559afbc47484ba3fad265e38a3dafe90 cairomm-1.8.4.tar.gz
71be2a2fc450637d55cd8239b8691933 cairomm-1.9.1.tar.gz