[cairomm/f14/master] rpm spec cleaning

Haïkel Guémar hguemar at fedoraproject.org
Thu Feb 24 12:50:36 UTC 2011


commit 1ff4b5366e6bb42cb3c68cd8792dea6989aa1426
Author: Haikel Guemar <hguemar at fedoraproject.org>
Date:   Thu Feb 24 13:50:29 2011 +0100

    rpm spec cleaning

 cairomm.spec |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/cairomm.spec b/cairomm.spec
index 14d9e2f..480d34d 100644
--- a/cairomm.spec
+++ b/cairomm.spec
@@ -4,7 +4,7 @@
 Summary:          C++ API for the cairo graphics library
 Name:             cairomm
 Version:          1.9.8
-Release:          2%{?dist}
+Release:          2%{?dist}.1
 URL:              http://www.cairographics.org
 License:          LGPLv2+
 Group:            System Environment/Libraries
@@ -41,6 +41,8 @@ Group:            Documentation
 %if 0%{?fedora} > 9 || 0%{?rhel} > 5
 BuildArch:        noarch
 %endif
+BuildRequires:  doxygen graphviz
+Requires:       libsigc++20-doc
 
 %description      doc
 This package contains developer's documentation for the cairomm
@@ -79,17 +81,19 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 
 %files devel
 %defattr(-,root,root,-)
+%doc ChangeLog
+%{_includedir}/%{name}-%{apiver}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*
-%{_libdir}/cairomm-1.0/include/cairommconfig.h
-%{_includedir}/cairomm-1.0/
-%doc ChangeLog
+%{_libdir}/%{name}-%{apiver}
 
 %files doc
 %defattr(-,root,root,-)
+%doc COPYING
 %doc %{_datadir}/doc/%{name}-%{apiver}/*
-# according guidelines, we can co-own this, since devhelp is not required                                                                                             # for accessing documentation
-%{_datadir}/devhelp/
+# according guidelines, we can co-own this, since devhelp is not required
+# for accessing documentation
+%doc %{_datadir}/devhelp/
 
 %changelog
 * Mon Feb 21 2011 Haïkel Guémar <hguemar at fedoraproject.org> - 1.9.8-2


More information about the scm-commits mailing list