[cairomm] rpm spec cleaning

Haïkel Guémar hguemar at fedoraproject.org
Thu Feb 24 16:39:48 UTC 2011


commit e69dcc3c4d89c6d86ed3bb85e1b7d8bc70636b44
Author: Haikel Guemar <hguemar at fedoraproject.org>
Date:   Thu Feb 24 13:59:23 2011 +0100

    rpm spec cleaning

 cairomm.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/cairomm.spec b/cairomm.spec
index 7060ad4..e95799c 100644
--- a/cairomm.spec
+++ b/cairomm.spec
@@ -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