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://snaught.com/glabels/source/%{name}-%{version}.tar.gz
9 # Source0-md5: bd5bfd26c9e8c8f7741e255264ce2377
10 Patch0: %{name}-libgnomeprint_fix.patch
11 Patch1: %{name}-paths.patch
12 Patch2: %{name}-desktop.patch
13 URL: http://snaught.com/glabels/
14 BuildRequires: XFree86-devel
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: intltool
18 BuildRequires: libgnome-devel >= 2.2
19 BuildRequires: libgnomecanvas-devel >= 2.2
20 BuildRequires: libgnomeprint-devel >= 2.2
21 BuildRequires: libgnomeprintui-devel >= 2.2
22 BuildRequires: libgnomeui-devel >= 2.2
23 BuildRequires: libtool
24 BuildRequires: pkgconfig
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 gLabels is a small stand-alone program for creating labels and
32 gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
43 glib-gettextize --copy --force
45 intltoolize --copy --force
46 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
52 --enable-platform-gnome-2
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
61 %find_lang %{name} --with-gnome --all-name
64 rm -rf $RPM_BUILD_ROOT
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc README ChangeLog NEWS AUTHORS
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{_datadir}/glabels
71 %dir %{_datadir}/glabels/ui
72 %{_datadir}/glabels/ui/glabels-ui.xml
73 %{_datadir}/glabels/predefined-labels.template
74 %{_pixmapsdir}/glabels
75 %{_desktopdir}/%{name}.desktop