rpm spec cleaning

This commit is contained in:
Haikel Guemar 2011-02-24 13:59:23 +01:00
parent 4abd9eee16
commit e69dcc3c4d

View File

@ -41,6 +41,8 @@ Group: Documentation
%if 0%{?fedora} > 9 || 0%{?rhel} > 5 %if 0%{?fedora} > 9 || 0%{?rhel} > 5
BuildArch: noarch BuildArch: noarch
%endif %endif
BuildRequires: doxygen graphviz
Requires: libsigc++20-doc
%description doc %description doc
This package contains developer's documentation for the cairomm 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 %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog
%{_includedir}/%{name}-%{apiver}
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_libdir}/cairomm-1.0/include/cairommconfig.h %{_libdir}/%{name}-%{apiver}
%{_includedir}/cairomm-1.0/
%doc ChangeLog
%files doc %files doc
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING
%doc %{_datadir}/doc/%{name}-%{apiver}/* %doc %{_datadir}/doc/%{name}-%{apiver}/*
# according guidelines, we can co-own this, since devhelp is not required # for accessing documentation # according guidelines, we can co-own this, since devhelp is not required
%{_datadir}/devhelp/ # for accessing documentation
%doc %{_datadir}/devhelp/
%changelog %changelog
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.8-2 * Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 1.9.8-2