fix documentation location RHBZ #678981
This commit is contained in:
parent
0cf69c1248
commit
eab775f500
@ -1,6 +1,6 @@
|
|||||||
Name: libsigc++20
|
Name: libsigc++20
|
||||||
Version: 2.2.8
|
Version: 2.2.8
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}.1
|
||||||
|
|
||||||
Summary: Typesafe signal framework for C++
|
Summary: Typesafe signal framework for C++
|
||||||
|
|
||||||
@ -60,12 +60,6 @@ make %{?_smp_mflags}
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html
|
|
||||||
mv ${RPM_BUILD_ROOT}%{_datadir}/doc/libsigc++-2.0 ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html
|
|
||||||
mv ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libsigc++-2.0/* ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/libsigc++-2.0/
|
|
||||||
# Fix documentation link in devhelp file, since we moved the docs to
|
|
||||||
# the gtk-doc directory.
|
|
||||||
sed -i 's:/usr/share/doc:/usr/share/gtk-doc/html:' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/libsigc++-2.0/*.devhelp2
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -95,10 +89,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc %{_datadir}/gtk-doc/html/libsigc++-2.0
|
%doc %{_datadir}/doc/%{name}
|
||||||
|
# according guidelines, we can co-own this, since devhelp is not required # for accessing documentation
|
||||||
|
%{_datadir}/devhelp/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.2.8-3
|
||||||
|
- fix documentation location (RHBZ #678981)
|
||||||
|
- co-own /usr/share/devhelp
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-2
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user