Accepting request 80714 from home:vuntz:branches:GNOME:Factory

Install man pages

OBS-URL: https://build.opensuse.org/request/show/80714
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=12
This commit is contained in:
Vincent Untz 2011-09-02 16:59:34 +00:00 committed by Git OBS Bridge
parent f7707324d6
commit d36d12d5f6
2 changed files with 15 additions and 2 deletions

View File

@ -48,6 +48,9 @@ Fri Sep 2 08:20:51 UTC 2011 - vuntz@opensuse.org
+ Updated translations.
- Add gobject-introspection-devel and vala BuildRequires to build
introspection data and vala bindings.
- Manually install pre-built man pages, since the build system
cannot install them if docbook2man is not there (and we don't
want to add a BuildRequires on it since it's big).
-------------------------------------------------------------------
Mon Jul 11 12:43:32 CEST 2011 - vuntz@opensuse.org

View File

@ -84,6 +84,15 @@ make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name '*.la' -delete -print
# Manually install prebuilt man pages, since we don't have docbook2man
pushd man
test ! -f %{buildroot}%{_mandir}/man1/*
for man in *.1; do
install -m 644 ${man} %{buildroot}%{_mandir}/man1/
done
# Check we only have man1 pages to install
test ! -f *.[2-9]
popd
%find_lang %{name}
%clean
@ -108,8 +117,9 @@ find %{buildroot} -type f -name '*.la' -delete -print
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.*
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
#%%{_mandir}/man1/cd-create-profile.1*
#%%{_mandir}/man1/colormgr.1*
%{_mandir}/man1/cd-create-profile.1%{?ext_man}
%{_mandir}/man1/cd-fix-profile.1%{?ext_man}
%{_mandir}/man1/colormgr.1%{?ext_man}
%files -n libcolord1
%defattr(-, root, root)