man page love
This commit is contained in:
parent
6b29f45de6
commit
8838e6ff31
30
gtk2.spec
30
gtk2.spec
@ -18,7 +18,7 @@
|
|||||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||||
Name: gtk2
|
Name: gtk2
|
||||||
Version: 2.24.19
|
Version: 2.24.19
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -26,6 +26,7 @@ URL: http://www.gtk.org
|
|||||||
Source: http://download.gnome.org/sources/gtk+/2.24/gtk+-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gtk+/2.24/gtk+-%{version}.tar.bz2
|
||||||
Source2: update-gtk-immodules
|
Source2: update-gtk-immodules
|
||||||
Source3: im-cedilla.conf
|
Source3: im-cedilla.conf
|
||||||
|
Source4: update-gtk-immodules.1
|
||||||
|
|
||||||
# Biarch changes
|
# Biarch changes
|
||||||
Patch0: gtk-lib64.patch
|
Patch0: gtk-lib64.patch
|
||||||
@ -202,6 +203,26 @@ fi
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT \
|
make install DESTDIR=$RPM_BUILD_ROOT \
|
||||||
RUN_QUERY_IMMODULES_TEST=false
|
RUN_QUERY_IMMODULES_TEST=false
|
||||||
|
|
||||||
|
# man pages went missing, so install them manually
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
|
||||||
|
gzip -c docs/reference/gtk/gtk-query-immodules-2.0.1 > $RPM_BUILD_ROOT%{_mandir}/man1/gtk-query-immodules-2.0.1.gz
|
||||||
|
gzip -c docs/reference/gtk/gtk-update-icon-cache.1 > $RPM_BUILD_ROOT%{_mandir}/man1/gtk-update-icon-cache.1.gz
|
||||||
|
|
||||||
|
echo ".so man1/gtk-query-immodules-2.0.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gtk-query-immodules-2.0-%{__isa_bits}.1
|
||||||
|
|
||||||
|
gzip -c %{SOURCE4} > $RPM_BUILD_ROOT%{_mandir}/man1/update-gtk-immodules.1.gz
|
||||||
|
|
||||||
|
# man pages went missing, so install them manually
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
|
|
||||||
|
gzip -c docs/reference/gtk/gtk-query-immodules-2.0.1 > $RPM_BUILD_ROOT%{_mandir}/man1/gtk-query-immodules-2.0.1.gz
|
||||||
|
gzip -c docs/reference/gtk/gtk-update-icon-cache.1 > $RPM_BUILD_ROOT%{_mandir}/man1/gtk-update-icon-cache.1.gz
|
||||||
|
|
||||||
|
echo ".so man1/gtk-query-immodules-2.0.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gtk-query-immodules-2.0-%{__isa_bits}.1
|
||||||
|
|
||||||
|
gzip -c %{SOURCE4} > $RPM_BUILD_ROOT%{_mandir}/man1/update-gtk-immodules.1.gz
|
||||||
|
|
||||||
%find_lang gtk20
|
%find_lang gtk20
|
||||||
%find_lang gtk20-properties
|
%find_lang gtk20-properties
|
||||||
|
|
||||||
@ -303,6 +324,9 @@ fi
|
|||||||
%{_datadir}/themes/Raleigh
|
%{_datadir}/themes/Raleigh
|
||||||
%dir %{_sysconfdir}/gtk-2.0
|
%dir %{_sysconfdir}/gtk-2.0
|
||||||
%{_libdir}/girepository-1.0
|
%{_libdir}/girepository-1.0
|
||||||
|
%{_mandir}/man1/gtk-query-immodules-2.0*
|
||||||
|
%{_mandir}/man1/update-gtk-immodules.1.gz
|
||||||
|
%{_mandir}/man1/gtk-update-icon-cache.1.gz
|
||||||
|
|
||||||
%files immodules
|
%files immodules
|
||||||
%{_libdir}/gtk-2.0/%{bin_version}/immodules/im-am-et.so
|
%{_libdir}/gtk-2.0/%{bin_version}/immodules/im-am-et.so
|
||||||
@ -341,6 +365,10 @@ fi
|
|||||||
%doc tmpdocs/examples
|
%doc tmpdocs/examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 26 2013 Matthias Clasen <mclasen@redhat.com> - 2.24.19-4
|
||||||
|
- Include man pages again
|
||||||
|
- Add a man page for update-gtk-immodules
|
||||||
|
|
||||||
* Wed Jun 26 2013 Marek Kasik <mkasik@redhat.com> - 2.24.19-3
|
* Wed Jun 26 2013 Marek Kasik <mkasik@redhat.com> - 2.24.19-3
|
||||||
- Backport listing of Avahi printers from gtk-3.x
|
- Backport listing of Avahi printers from gtk-3.x
|
||||||
- Resolves: #973730
|
- Resolves: #973730
|
||||||
|
52
update-gtk-immodules.1
Normal file
52
update-gtk-immodules.1
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
'\" t
|
||||||
|
.\" Title: update-gtk-immodules
|
||||||
|
.\" Author: Matthias Clasen <mclasen@redhat.com>
|
||||||
|
.\" Date: 06/26/2013
|
||||||
|
.\" Manual: User Commands
|
||||||
|
.\" Source: GTK+
|
||||||
|
.\" Language: English
|
||||||
|
.\"
|
||||||
|
.TH "UPDATE\-GTK\-IMMODULES" "1" "" "GTK+" "User Commands"
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * Define some portability stuff
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.\" http://bugs.debian.org/507673
|
||||||
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||||
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.ie \n(.g .ds Aq \(aq
|
||||||
|
.el .ds Aq '
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * set default formatting
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" disable hyphenation
|
||||||
|
.nh
|
||||||
|
.\" disable justification (adjust text to left margin only)
|
||||||
|
.ad l
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.\" * MAIN CONTENT STARTS HERE *
|
||||||
|
.\" -----------------------------------------------------------------
|
||||||
|
.SH "NAME"
|
||||||
|
update-gtk-immodules - Update GTK+ immodule cache
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
.HP \w'\fBupdate-gtk-immodules\fR\ 'u
|
||||||
|
\fBupdate-gtk-immodules\fR [HOST_TRIPLET]
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
.PP
|
||||||
|
\fBupdate-gtk-immodules\fR
|
||||||
|
is a wrapper around gtk-query-immodules-2.0 that tries to help with
|
||||||
|
multilib installations. It is meant to be used in %post scripts of rpm
|
||||||
|
packages that install input method modules for GTK+ 2.x.
|
||||||
|
|
||||||
|
.PP
|
||||||
|
It needs to be given a GNU-style host triplet as argument, such as
|
||||||
|
"x86_64-redhat-linux-gnu". This argument determines where the tool
|
||||||
|
saves the gtk.immodules file that it creates. It must be the same
|
||||||
|
as the host triplet that GTK+ was configured with.
|
||||||
|
|
||||||
|
.SH "FILES"
|
||||||
|
.PP
|
||||||
|
/etc/gtk-2.0/\fIhost\fR/gtk.immodules - the file created by update-gtk-immodules.
|
||||||
|
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
.BR gtk-query-immodules-2.0 "(1)"
|
Loading…
Reference in New Issue
Block a user