1 Summary: Unicode character map (GTK+ 2 version)
2 Summary(pl.UTF-8): Mapa znaków unikodowych (wersja dla GTK+ 2)
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gucharmap/3.0/gucharmap-%{version}.tar.bz2
9 # Source0-md5: 754e1bc0ff7c190a8e8d855b2ca4ba16
10 Patch0: %{name}-doc.patch
11 URL: http://live.gnome.org/Gucharmap
12 BuildRequires: GConf2-devel >= 2.24.0
13 BuildRequires: autoconf >= 2.56
14 BuildRequires: automake >= 1:1.11
15 BuildRequires: docbook-dtd412-xml
16 BuildRequires: gettext-tools
17 BuildRequires: glib2-devel >= 1:2.28.0
18 BuildRequires: gnome-doc-utils >= 0.12.2
19 BuildRequires: gobject-introspection-devel >= 0.10.0
20 BuildRequires: gtk+2-devel >= 2:2.18.0
21 BuildRequires: gtk-doc >= 1.0
22 BuildRequires: intltool >= 0.40.0
23 BuildRequires: libtool
24 BuildRequires: libxml2-progs
25 BuildRequires: pkgconfig
26 BuildRequires: rpmbuild(find_lang) >= 1.23
27 BuildRequires: rpmbuild(macros) >= 1.311
28 Requires(post,postun): scrollkeeper
29 Requires(post,preun): GConf2 >= 2.24.0
30 Requires: GConf2 >= 2.24.0
31 Requires: %{name}-libs = %{version}-%{release}
33 # sr@Latn vs. sr@latin
34 Conflicts: glibc-misc < 6:2.7
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Gucharmap is a featureful unicode character map.
40 %description -l pl.UTF-8
41 Gucharmap jest wartościową mapą znaków unikodowych.
44 Summary: gucharmap library for GTK+ 2
45 Summary(pl.UTF-8): Biblioteka gucharmap dla GTK+ 2
47 Requires: glib2 >= 1:2.28.0
48 Requires: gtk+2 >= 2:2.18.0
51 This package contains gucharmap library for GTK+ 2.
53 %description libs -l pl.UTF-8
54 Pakiet ten zawiera bibliotekę gucharmap dla GTK+ 2.
57 Summary: Headers for gucharmap (GTK+ 2 verson)
58 Summary(pl.UTF-8): Pliki nagłówkowe gucharmap (wersja dla GTK+ 2)
59 Group: X11/Development/Libraries
60 Requires: %{name}-libs = %{version}-%{release}
61 Requires: glib2-devel >= 1:2.28.0
62 Requires: gtk+2-devel >= 2:2.18.0
65 The gucharmap-devel package includes the header files that you will
66 need to use gucharmap. This version is targeted for GTK+ 2.
68 %description devel -l pl.UTF-8
69 Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilacji programów
70 używających gucharmap. Ta wersja jest przeznaczona dla GTK+ 2.
73 Summary: Static gucharmap library for GTK+ 2
74 Summary(pl.UTF-8): Statyczna biblioteka gucharmap dla GTK+ 2
75 Group: X11/Development/Libraries
76 Requires: %{name}-devel = %{version}-%{release}
79 Static version of gucharmap library for GTK+ 2.
81 %description static -l pl.UTF-8
82 Statyczna wersja biblioteki gucharmap dla GTK+ 2.
85 Summary: gucharmap library API documentation (GTK+ 2 version)
86 Summary(pl.UTF-8): Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 2)
88 Requires: gtk-doc-common
91 gucharmap library API documentation (GTK+ 2 version).
93 %description apidocs -l pl.UTF-8
94 Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 2).
97 %setup -q -n gucharmap-%{version}
109 --disable-scrollkeeper \
110 --disable-silent-rules \
112 --enable-introspection \
115 --with-html-dir=%{_gtkdocdir}
119 rm -rf $RPM_BUILD_ROOT
122 DESTDIR=$RPM_BUILD_ROOT
124 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
126 %find_lang gucharmap --with-gnome --with-omf
129 rm -rf $RPM_BUILD_ROOT
132 %gconf_schema_install gucharmap.schemas
133 %scrollkeeper_update_post
136 %gconf_schema_uninstall gucharmap.schemas
139 %scrollkeeper_update_postun
141 %post libs -p /sbin/ldconfig
142 %postun libs -p /sbin/ldconfig
144 %files -f gucharmap.lang
145 %defattr(644,root,root,755)
146 %doc AUTHORS COPYING.UNICODE ChangeLog NEWS README TODO
147 %attr(755,root,root) %{_bindir}/charmap
148 %attr(755,root,root) %{_bindir}/gucharmap
149 %attr(755,root,root) %{_bindir}/gnome-character-map
150 %{_sysconfdir}/gconf/schemas/gucharmap.schemas
151 %{_desktopdir}/gucharmap.desktop
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libgucharmap.so.*.*.*
156 %attr(755,root,root) %ghost %{_libdir}/libgucharmap.so.7
157 %{_libdir}/girepository-1.0/Gucharmap-2.0.typelib
160 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_libdir}/libgucharmap.so
162 %{_includedir}/gucharmap-2.0
163 %{_pkgconfigdir}/gucharmap-2.pc
164 %{_datadir}/gir-1.0/Gucharmap-2.0.gir
167 %defattr(644,root,root,755)
168 %{_libdir}/libgucharmap.a
171 %defattr(644,root,root,755)
172 %{_gtkdocdir}/gucharmap-2.0