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/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: d6658de86c76f9f333ed28ac11ca22f9
10 Patch0: %{name}-install.patch
11 URL: http://glabels.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gnome-common >= 2.8.0
15 BuildRequires: intltool >= 0.21
16 BuildRequires: libbonobo-devel >= 2.4.0
17 BuildRequires: libglade2-devel >= 2.0.1
18 BuildRequires: libgnomeprintui-devel >= 2.4.0
19 BuildRequires: libgnomeui-devel >= 2.4.0
20 BuildRequires: libtool
21 BuildRequires: libxml2-devel >= 2.4.23
22 BuildRequires: pkgconfig
23 Requires(post,postun): scrollkeeper
24 Requires(post,postun): shared-mime-info
25 Requires: %{name}-libs = %{version}-%{release}
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 gLabels is a small stand-alone program for creating labels and
33 gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
37 Summary: glabels shared libraries
38 Summary(pl): Biblioteki wspó³dzielone glabels
42 glabels shared libraries.
44 %description libs -l pl
45 Biblioteki wspó³dzielone glabels.
48 Summary: Header files for glabels
49 Summary(pl): Pliki nag³ówkowe glabels
50 Group: Development/Libraries
51 Requires: %{name}-libs = %{version}-%{release}
54 Header files for glabels.
56 %description devel -l pl
57 Pliki nag³ówkowe glabels.
60 Summary: glabels static library
61 Summary(pl): Statyczna biblioteka glabels
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 glabels staic library.
68 %description static -l pl
69 Statyczna biblioteka glabels.
75 mv -f po/{zh_TW.Big5,zh_TW}.po
76 %{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
79 glib-gettextize --copy --force
81 intltoolize --copy --force
82 gnome-doc-common --copy
88 --enable-platform-gnome-2
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
97 %find_lang %{name} --with-gnome --all-name
100 rm -rf $RPM_BUILD_ROOT
104 /usr/bin/scrollkeeper-update
105 update-mime-database %{_datadir}/mime
106 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
110 /usr/bin/scrollkeeper-update
111 update-mime-database %{_datadir}/mime
112 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
114 %post libs -p /sbin/ldconfig
115 %postun libs -p /sbin/ldconfig
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
119 %doc AUTHORS ChangeLog README TODO
120 %attr(755,root,root) %{_bindir}/*
122 %{_datadir}/application-registry/*
123 %{_datadir}/mime-info/*
124 %{_datadir}/mime/packages/*
126 %{_pixmapsdir}/%{name}
128 %{_desktopdir}/*.desktop
129 %{_omf_dest_dir}/%{name}
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_libdir}/lib*.so
139 %{_includedir}/libglabels
142 %defattr(644,root,root,755)