1 Summary: gLabels - a GNOME2 program to create labels and business cards
2 Summary(pl): gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
7 Group: Applications/Graphics
8 Source0: http://dl.sourceforge.net/glabels/%{name}-%{version}.tar.gz
9 # Source0-md5: 9293fd65bd858cd8c84c2cd166924c73
10 Patch0: %{name}-install.patch
11 Patch1: %{name}-desktop.patch
12 URL: http://glabels.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gnome-common >= 2.8.0
16 BuildRequires: howl-devel >= 0.9.10
17 BuildRequires: intltool >= 0.21
18 BuildRequires: libbonobo-devel >= 2.8.1
19 BuildRequires: libglade2-devel >= 1:2.5.1
20 BuildRequires: libgnomeprintui-devel >= 2.10.2
21 BuildRequires: libgnomeui-devel >= 2.10.0-2
22 BuildRequires: libtool
23 BuildRequires: libxml2-devel >= 1:2.6.19
24 BuildRequires: pkgconfig
25 BuildRequires: rpmbuild(macros) >= 1.197
26 BuildRequires: sed >= 4.0
27 Requires(post,postun): desktop-file-utils
28 Requires(post,postun): scrollkeeper
29 Requires: %{name}-libs = %{version}-%{release}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 gLabels is a small stand-alone program for creating labels and
37 gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
41 Summary: glabels shared libraries
42 Summary(pl): Biblioteki wspó³dzielone glabels
46 glabels shared libraries.
48 %description libs -l pl
49 Biblioteki wspó³dzielone glabels.
52 Summary: Header files for glabels
53 Summary(pl): Pliki nag³ówkowe glabels
54 Group: Development/Libraries
55 Requires: %{name}-libs = %{version}-%{release}
58 Header files for glabels.
60 %description devel -l pl
61 Pliki nag³ówkowe glabels.
64 Summary: glabels static library
65 Summary(pl): Statyczna biblioteka glabels
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
70 glabels staic library.
72 %description static -l pl
73 Statyczna biblioteka glabels.
80 mv -f po/{zh_TW.Big5,zh_TW}.po
81 sed -i -e 's/zh_TW\.Big5/zh_TW/' configure.in
93 --enable-platform-gnome-2
97 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
102 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
104 %find_lang %{name} --with-gnome --all-name
107 rm -rf $RPM_BUILD_ROOT
110 %scrollkeeper_update_post
111 %update_desktop_database_post
114 %scrollkeeper_update_postun
115 %update_desktop_database_postun
117 %post libs -p /sbin/ldconfig
118 %postun libs -p /sbin/ldconfig
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog README TODO
123 %attr(755,root,root) %{_bindir}/*
125 %{_datadir}/mime/packages/*
127 %{_pixmapsdir}/%{name}
129 %{_desktopdir}/*.desktop
130 %{_omf_dest_dir}/%{name}
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/lib*.so.*.*
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/lib*.so
140 %{_includedir}/libglabels
143 %defattr(644,root,root,755)