]> git.pld-linux.org Git - packages/gucharmap2.git/blob - gucharmap2.spec
- release 3 (by relup.sh)
[packages/gucharmap2.git] / gucharmap2.spec
1 Summary:        Unicode character map (GTK+ 2 version)
2 Summary(pl.UTF-8):      Mapa znaków unikodowych (wersja dla GTK+ 2)
3 Name:           gucharmap2
4 Version:        3.0.1
5 Release:        3
6 License:        GPL v3+
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}
32 Conflicts:      gucharmap
33 # sr@Latn vs. sr@latin
34 Conflicts:      glibc-misc < 6:2.7
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Gucharmap is a featureful unicode character map.
39
40 %description -l pl.UTF-8
41 Gucharmap jest wartościową mapą znaków unikodowych.
42
43 %package libs
44 Summary:        gucharmap library for GTK+ 2
45 Summary(pl.UTF-8):      Biblioteka gucharmap dla GTK+ 2
46 Group:          X11/Libraries
47 Requires:       glib2 >= 1:2.28.0
48 Requires:       gtk+2 >= 2:2.18.0
49
50 %description libs
51 This package contains gucharmap library for GTK+ 2.
52
53 %description libs -l pl.UTF-8
54 Pakiet ten zawiera bibliotekę gucharmap dla GTK+ 2.
55
56 %package devel
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
63
64 %description devel
65 The gucharmap-devel package includes the header files that you will
66 need to use gucharmap. This version is targeted for GTK+ 2.
67
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.
71
72 %package static
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}
77
78 %description static
79 Static version of gucharmap library for GTK+ 2.
80
81 %description static -l pl.UTF-8
82 Statyczna wersja biblioteki gucharmap dla GTK+ 2.
83
84 %package apidocs
85 Summary:        gucharmap library API documentation (GTK+ 2 version)
86 Summary(pl.UTF-8):      Dokumentacja API biblioteki gucharmap (wersja dla GTK+ 2)
87 Group:          Documentation
88 Requires:       gtk-doc-common
89
90 %description apidocs
91 gucharmap library API documentation (GTK+ 2 version).
92
93 %description apidocs -l pl.UTF-8
94 Dokumentacja 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
119 rm -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
129 rm -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.082547 seconds and 4 git commands to generate.