]> git.pld-linux.org Git - packages/gucharmap2.git/blame - gucharmap2.spec
- unconditional noarch subpackages
[packages/gucharmap2.git] / gucharmap2.spec
CommitLineData
0d43183c
JB
1Summary: Unicode character map (GTK+ 2 version)
2Summary(pl.UTF-8): Mapa znaków unikodowych (wersja dla GTK+ 2)
3Name: gucharmap2
4Version: 3.0.1
c5bd26a9 5Release: 4
0d43183c
JB
6License: GPL v3+
7Group: X11/Applications
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gucharmap/3.0/gucharmap-%{version}.tar.bz2
9# Source0-md5: 754e1bc0ff7c190a8e8d855b2ca4ba16
10Patch0: %{name}-doc.patch
11URL: http://live.gnome.org/Gucharmap
12BuildRequires: GConf2-devel >= 2.24.0
13BuildRequires: autoconf >= 2.56
14BuildRequires: automake >= 1:1.11
15BuildRequires: docbook-dtd412-xml
a93cbcb5 16BuildRequires: gettext-tools
0d43183c
JB
17BuildRequires: glib2-devel >= 1:2.28.0
18BuildRequires: gnome-doc-utils >= 0.12.2
19BuildRequires: gobject-introspection-devel >= 0.10.0
20BuildRequires: gtk+2-devel >= 2:2.18.0
21BuildRequires: gtk-doc >= 1.0
22BuildRequires: intltool >= 0.40.0
23BuildRequires: libtool
24BuildRequires: libxml2-progs
25BuildRequires: pkgconfig
26BuildRequires: rpmbuild(find_lang) >= 1.23
27BuildRequires: rpmbuild(macros) >= 1.311
28Requires(post,postun): scrollkeeper
29Requires(post,preun): GConf2 >= 2.24.0
0d43183c 30Requires: %{name}-libs = %{version}-%{release}
c5bd26a9 31Requires: GConf2 >= 2.24.0
0d43183c
JB
32Conflicts: gucharmap
33# sr@Latn vs. sr@latin
34Conflicts: glibc-misc < 6:2.7
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38Gucharmap is a featureful unicode character map.
39
40%description -l pl.UTF-8
41Gucharmap jest wartościową mapą znaków unikodowych.
42
43%package libs
44Summary: gucharmap library for GTK+ 2
45Summary(pl.UTF-8): Biblioteka gucharmap dla GTK+ 2
46Group: X11/Libraries
47Requires: glib2 >= 1:2.28.0
48Requires: gtk+2 >= 2:2.18.0
49
50%description libs
51This package contains gucharmap library for GTK+ 2.
52
53%description libs -l pl.UTF-8
54Pakiet ten zawiera bibliotekę gucharmap dla GTK+ 2.
55
56%package devel
57Summary: Headers for gucharmap (GTK+ 2 verson)
58Summary(pl.UTF-8): Pliki nagłówkowe gucharmap (wersja dla GTK+ 2)
59Group: X11/Development/Libraries
60Requires: %{name}-libs = %{version}-%{release}
61Requires: glib2-devel >= 1:2.28.0
62Requires: gtk+2-devel >= 2:2.18.0
63
64%description devel
65The gucharmap-devel package includes the header files that you will
66need to use gucharmap. This version is targeted for GTK+ 2.
67
68%description devel -l pl.UTF-8
69Ten pakiet zawiera pliki nagłówkowe potrzebne do kompilacji programów
70używających gucharmap. Ta wersja jest przeznaczona dla GTK+ 2.
71
72%package static
73Summary: Static gucharmap library for GTK+ 2
74Summary(pl.UTF-8): Statyczna biblioteka gucharmap dla GTK+ 2
75Group: X11/Development/Libraries
76Requires: %{name}-devel = %{version}-%{release}
77
78%description static
79Static version of gucharmap library for GTK+ 2.
80
81%description static -l pl.UTF-8
82Statyczna wersja biblioteki gucharmap dla GTK+ 2.
83
84%package apidocs
85Summary: gucharmap library API documentation (GTK+ 2 version)
86Summary(pl.UTF-8): Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 2)
87Group: Documentation
88Requires: gtk-doc-common
c5bd26a9 89BuildArch: noarch
0d43183c
JB
90
91%description apidocs
92gucharmap library API documentation (GTK+ 2 version).
93
94%description apidocs -l pl.UTF-8
95Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 2).
96
97%prep
98%setup -q -n gucharmap-%{version}
99%patch0 -p1
100
101%build
102%{__glib_gettextize}
103%{__intltoolize}
104%{__libtoolize}
105%{__aclocal} -I m4
106%{__automake}
107%{__autoheader}
108%{__autoconf}
109%configure \
110 --disable-scrollkeeper \
111 --disable-silent-rules \
112 --enable-gtk-doc \
113 --enable-introspection \
114 --enable-static \
115 --with-gtk=2.0 \
116 --with-html-dir=%{_gtkdocdir}
117%{__make}
118
119%install
120rm -rf $RPM_BUILD_ROOT
121
122%{__make} install \
123 DESTDIR=$RPM_BUILD_ROOT
124
125%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
126
127%find_lang gucharmap --with-gnome --with-omf
128
129%clean
130rm -rf $RPM_BUILD_ROOT
131
132%post
133%gconf_schema_install gucharmap.schemas
134%scrollkeeper_update_post
135
136%preun
137%gconf_schema_uninstall gucharmap.schemas
138
139%postun
140%scrollkeeper_update_postun
141
142%post libs -p /sbin/ldconfig
143%postun libs -p /sbin/ldconfig
144
145%files -f gucharmap.lang
146%defattr(644,root,root,755)
147%doc AUTHORS COPYING.UNICODE ChangeLog NEWS README TODO
148%attr(755,root,root) %{_bindir}/charmap
149%attr(755,root,root) %{_bindir}/gucharmap
150%attr(755,root,root) %{_bindir}/gnome-character-map
151%{_sysconfdir}/gconf/schemas/gucharmap.schemas
152%{_desktopdir}/gucharmap.desktop
153
154%files libs
155%defattr(644,root,root,755)
156%attr(755,root,root) %{_libdir}/libgucharmap.so.*.*.*
157%attr(755,root,root) %ghost %{_libdir}/libgucharmap.so.7
158%{_libdir}/girepository-1.0/Gucharmap-2.0.typelib
159
160%files devel
161%defattr(644,root,root,755)
162%attr(755,root,root) %{_libdir}/libgucharmap.so
163%{_includedir}/gucharmap-2.0
164%{_pkgconfigdir}/gucharmap-2.pc
165%{_datadir}/gir-1.0/Gucharmap-2.0.gir
166
167%files static
168%defattr(644,root,root,755)
169%{_libdir}/libgucharmap.a
170
171%files apidocs
172%defattr(644,root,root,755)
173%{_gtkdocdir}/gucharmap-2.0
This page took 0.090288 seconds and 4 git commands to generate.