2 %define librtftohtml_ver 2.0.2
4 Summary: GNOME Clipboard Manager - an application to manage your selections and clipboards
5 Summary(pl): Zarz±dca schowka GNOME - aplikacja do zarz±dzania zaznaczeniami i schowkami
10 Group: X11/Applications
11 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12 # Source0-md5: 27e5dbea93240195296113c874411136
13 Patch0: %{name}-desktop_location.patch
14 Patch1: %{name}-gettext_fixes.patch
15 URL: http://gcm.sf.net/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: glib2-devel
19 BuildRequires: intltool
20 BuildRequires: libtool
21 Requires(post): /sbin/ldconfig
22 Requires(post): GConf2
23 Requires: librtftohtml = %{librtftohtml_ver}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 GNOME Clipboard Manager (GCM) is an application for managing
28 selections and clipboards. It autocollects selections on a shelf and
29 has the option to choose which selection is to be pasted. Selections
30 can be edited, manually created, deleted, copied, and pasted. The
31 available selection types are clipboard, primary, secondary, or a
35 GCM (GNOME Clipboard Manager - zarz±dca schowka GNOME) to aplikacja do
36 zarz±dzania zaznaczeniami i schowkami. Automatycznie zbiera zaznaczone
37 fragmenty i umo¿liwia wybór, który fragment ma zostaæ wklejony.
38 Zaznaczenia mog± byæ modyfikowane, rêcznie tworzone, usuwane,
39 kopiowane i wklejane. Dostêpne rodzaje zaznaczeñ to schowek,
40 podstawowe, drugorzêdne lub w³asne.
43 Summary: Header files for gcm
44 Summary(pl): Pliki nag³ówkowe gcm
45 Group: X11/Development/Libraries
46 Requires: %{name} = %{version}
51 %description devel -l pl
55 Summary: Static gcm library
56 Summary(pl): Statyczna biblioteka gcm
57 Group: X11/Development/Libraries
58 Requires: %{name}-devel = %{version}
63 %description static -l pl
64 Statyczna biblioteka gcm.
66 %package -n librtftohtml
67 Summary: RTF to HTML convert library
68 Summary(pl): Biblioteka konwertuj±ca RTF do HTML
69 Version: %{librtftohtml_ver}
70 Group: X11/Development/Libraries
72 %description -n librtftohtml
73 RTF to HTML convert library.
75 %description -n librtftohtml -l pl
76 Biblioteka konwertuj±ca RTF do HTML.
78 %package -n librtftohtml-devel
79 Summary: Header files for RTF to HTML convert library
80 Summary(pl): Pliki nag³ówkowe biblioteki konwertuj±cej RTF do HTML
81 Version: %{librtftohtml_ver}
82 Group: X11/Development/Libraries
83 Requires: librtftohtml = %{librtftohtml_ver}
85 %description -n librtftohtml-devel
86 Header files for RTF to HTML convert library.
88 %description -n librtftohtml-devel -l pl
89 Pliki nag³ówkowe biblioteki konwertuj±cej RTF do HTML.
91 %package -n librtftohtml-static
92 Summary: Static RTF to HTML convert library
93 Summary(pl): Statyczna biblioteka konwertuj±ca RTF do HTML
94 Version: %{librtftohtml_ver}
95 Group: X11/Development/Libraries
96 Requires: librtftohtml-devel = %{librtftohtml_ver}
98 %description -n librtftohtml-static
99 Static file for RTF to HTML convert library.
101 %description -n librtftohtml-static -l pl
102 Statyczna biblioteka konwertuj±ca RTF do HTML.
119 cp /usr/share/automake/mkinstalldirs .
120 glib-gettextize --copy --force
121 intltoolize --copy --force
128 --disable-schemas-install
130 rm -f gcmapplet/GNOME_GcmApplet.server{,.in}
135 rm -rf $RPM_BUILD_ROOT
137 DESTDIR=$RPM_BUILD_ROOT \
138 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
140 #remove obsolete files:
141 rm $RPM_BUILD_ROOT%{_libdir}/gcm/Plugins/*.{a,la}
146 rm -rf $RPM_BUILD_ROOT
150 %gconf_schema_install
152 %postun -p /sbin/ldconfig
154 %post -n librtftohtml -p /sbin/ldconfig
155 %postun -n librtftohtml -p /sbin/ldconfig
157 %files -f %{name}.lang
158 %defattr(644,root,root,755)
159 %doc AUTHORS ChangeLog README TODO doc/*.html doc/*.png doc/HACKING
160 %attr(755,root,root) %{_bindir}/gcm
161 %attr(755,root,root) %{_bindir}/gcmui
162 %attr(755,root,root) %{_libdir}/gcmapplet
163 %attr(755,root,root) %{_libdir}/libgcm.so.*.*.*
165 %dir %{_libdir}/gcm/Plugins
166 %attr(755,root,root) %{_libdir}/gcm/Plugins/*.so
167 %{_datadir}/gnome-2.0/ui/*
169 %{_libdir}/bonobo/servers/*
170 %{_mandir}/man1/gcm.1*
172 %{_sysconfdir}/gconf/schemas/*
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_bindir}/gcm-config
177 %attr(755,root,root) %{_libdir}/libgcm.so
179 %{_includedir}/libgcm
180 %{_pkgconfigdir}/libgcm.pc
181 %{_mandir}/man1/gcm-config.1*
184 %defattr(644,root,root,755)
187 %files -n librtftohtml
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/librtftohtml.so.*.*.*
191 %files -n librtftohtml-devel
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/librtftohtml.so
194 %{_libdir}/librtftohtml.la
195 %{_includedir}/librtftohtml
196 %{_pkgconfigdir}/librtftohtml.pc
198 %files -n librtftohtml-static
199 %defattr(644,root,root,755)
200 %{_libdir}/librtftohtml.a