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: 76a6f1f8055f75ab4204fdca79627006
10 Patch0: %{name}-desktop.patch
11 URL: http://glabels.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gnome-common >= 2.8.0
15 BuildRequires: howl-devel >= 0.9.10
16 BuildRequires: intltool >= 0.21
17 BuildRequires: libbonobo-devel >= 2.8.1
18 BuildRequires: libglade2-devel >= 1:2.5.1
19 BuildRequires: libgnomeprintui-devel >= 2.10.2
20 BuildRequires: libgnomeui-devel >= 2.10.0-2
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel >= 1:2.6.19
23 BuildRequires: pkgconfig
24 BuildRequires: rpmbuild(macros) >= 1.197
25 BuildRequires: scrollkeeper
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.
79 mv -f po/{zh_TW.Big5,zh_TW}.po
80 sed -i -e 's/zh_TW\.Big5/zh_TW/' configure.in
92 --disable-update-desktopdb \
93 --disable-update-mimedb
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
105 %find_lang %{name} --with-gnome --all-name
108 rm -rf $RPM_BUILD_ROOT
111 %scrollkeeper_update_post
112 %update_desktop_database_post
115 %scrollkeeper_update_postun
116 %update_desktop_database_postun
118 %post libs -p /sbin/ldconfig
119 %postun libs -p /sbin/ldconfig
121 %files -f %{name}.lang
122 %defattr(644,root,root,755)
123 %doc AUTHORS ChangeLog README TODO
124 %attr(755,root,root) %{_bindir}/*
126 %{_datadir}/mime/packages/*
128 %{_pixmapsdir}/%{name}
130 %{_desktopdir}/*.desktop
131 %{_omf_dest_dir}/%{name}
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_libdir}/lib*.so
141 %{_includedir}/libglabels
144 %defattr(644,root,root,755)