1 Summary: glabels is a GNOME program to create labels and business cards
6 Group: Applications/Publishing
7 URL: http://glabels.sourceforge.net/
9 Source: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/root-%{name}-%{version}
13 BuildRequires: gtk2-devel >= @GTK_REQUIRED@
14 BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
15 BuildRequires: libgnomeui-devel >= @LIBGNOMEUI_REQUIRED@
16 BuildRequires: libbonoboui-devel >= @LIBBONOBOUI_REQUIRED@
17 BuildRequires: libgnomecanvas-devel >= @LIBGNOMECANVAS_REQUIRED@
18 BuildRequires: libgnomeprintui22-devel >= @LIBGNOMEPRINT_REQUIRED@
19 BuildRequires: libglade2-devel >= @LIBGLADE_REQUIRED@
21 Requires: gtk2 >= @GTK_REQUIRED@
22 Requires: libxml2 >= @LIBXML_REQUIRED@
23 Requires: libgnomeui >= @LIBGNOMEUI_REQUIRED@
24 Requires: libbonoboui >= @LIBBONOBOUI_REQUIRED@
25 Requires: libgnomecanvas >= @LIBGNOMECANVAS_REQUIRED@
26 Requires: libgnomeprintui22 >= @LIBGNOMEPRINT_REQUIRED@
27 Requires: libglade2 >= @LIBGLADE_REQUIRED@
30 gLabels is a lightweight program for creating labels and
31 business cards for the GNOME desktop environment.
32 It is designed to work with various laser/ink-jet peel-off
33 label and business card sheets that you'll find at most office
41 %{__make} %{?_smp_mflags}
44 %{__rm} -rf %{buildroot}
48 desktop-file-install --vendor gnome \
49 --add-category X-Red-Hat-Base \
50 --dir %{buildroot}%{_datadir}/applications \
51 %{buildroot}%{_datadir}/applications/%{name}.desktop
53 %{__rm} -rf %{buildroot}/var/scrollkeeper
54 %{__rm} -f %{buildroot}%{_datadir}/mime/XMLnamespaces
55 %{__rm} -f %{buildroot}%{_datadir}/mime/globs
56 %{__rm} -f %{buildroot}%{_datadir}/mime/magic
57 %{__rm} -rf %{buildroot}%{_datadir}/mime/application
61 %{__rm} -rf %{buildroot}
65 if (update-mime-database -v &> /dev/null); then
66 update-mime-database "%{_datadir}/mime" > /dev/null
71 if (update-mime-database -v &> /dev/null); then
72 update-mime-database "%{_datadir}/mime" > /dev/null
75 %files -f %{name}.lang
76 %defattr(-, root, root)
77 %doc README COPYING COPYING-DOCS COPYING.LIBGLABELS ChangeLog NEWS AUTHORS INSTALL
78 %doc %{_datadir}/gnome/help/glabels/
80 %{_bindir}/glabels-batch
81 %{_libdir}/libglabels.*
82 %{_includedir}/libglabels/*
86 %{_datadir}/applications/*.desktop
87 %{_datadir}/application-registry/*
88 %{_datadir}/mime-info/*
89 %{_datadir}/mime/packages/*
93 * Sun Aug 8 2004 Jim Evins <evins@snaught.com>
94 - Added support for freedesktop.org mime database registration
96 * Sat Feb 21 2004 Jim Evins <evins@snaught.com>
97 - Added libglabels related files
99 * Tue Dec 23 2003 Jim Evins <evins@snaught.com>
100 - Added support for scrollkeeper
102 * Sat Oct 18 2003 Jim Evins <evins@snaught.com>
103 - Updated, based largely on Dag Wieers <dag@wieers.com> glabels.spec
105 * Sat May 19 2001 Jim Evins <evins@snaught.com>