]> git.pld-linux.org Git - packages/gucharmap2.git/blame - gucharmap2.spec
- last gucharmap version supporting gtk+2
[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
5Release: 1
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
16BuildRequires: gettext-devel
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
30Requires: GConf2 >= 2.24.0
31Requires: %{name}-libs = %{version}-%{release}
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
89
90%description apidocs
91gucharmap library API documentation (GTK+ 2 version).
92
93%description apidocs -l pl.UTF-8
94Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 2).
95
96%prep
97%setup -q -n gucharmap-%{version}
98%patch0 -p1
99
100%build
101%{__glib_gettextize}
102%{__intltoolize}
103%{__libtoolize}
104%{__aclocal} -I m4
105%{__automake}
106%{__autoheader}
107%{__autoconf}
108%configure \
109 --disable-scrollkeeper \
110 --disable-silent-rules \
111 --enable-gtk-doc \
112 --enable-introspection \
113 --enable-static \
114 --with-gtk=2.0 \
115 --with-html-dir=%{_gtkdocdir}
116%{__make}
117
118%install
119rm -rf $RPM_BUILD_ROOT
120
121%{__make} install \
122 DESTDIR=$RPM_BUILD_ROOT
123
124%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
125
126%find_lang gucharmap --with-gnome --with-omf
127
128%clean
129rm -rf $RPM_BUILD_ROOT
130
131%post
132%gconf_schema_install gucharmap.schemas
133%scrollkeeper_update_post
134
135%preun
136%gconf_schema_uninstall gucharmap.schemas
137
138%postun
139%scrollkeeper_update_postun
140
141%post libs -p /sbin/ldconfig
142%postun libs -p /sbin/ldconfig
143
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
152
153%files libs
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
158
159%files devel
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
165
166%files static
167%defattr(644,root,root,755)
168%{_libdir}/libgucharmap.a
169
170%files apidocs
171%defattr(644,root,root,755)
172%{_gtkdocdir}/gucharmap-2.0
This page took 0.087892 seconds and 4 git commands to generate.