Summary: glabels is a GNOME program to create labels and business cards Name: glabels Version: @VERSION@ Release: 1 Copyright: GPL Group: Applications/Publishing URL: http://snaught.com/glabels/ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/root-%{name}-%{version} Prefix: %{_prefix} BuildRequires: gtk+-devel >= 1.2 BuildRequires: libgnomeui-devel >= 2.0 BuildRequires: libgnomecanvas-devel >= 2.0 BuildRequires: libgnomeprint22-devel >= 2.2 BuildRequires: libxml2-devel >= 2.4 BuildRequires: libglade2-devel >= 2.0 %description gLabels is a lightweight program for creating labels and business cards for the GNOME desktop environment. It is designed to work with various laser/ink-jet peel-off label and business card sheets that you'll find at most office supply stores. %prep %setup %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %makeinstall %find_lang %{name} desktop-file-install --vendor gnome \ --add-category X-Red-Hat-Base \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %{__rm} -rf $RPM_BUILD_ROOT/var/scrollkeeper %clean %{__rm} -rf %{buildroot} %post scrollkeeper-update if (update-mime-database -v &> /dev/null); then update-mime-database "%{_datadir}/mime" > /dev/null fi %postun scrollkeeper-update if (update-mime-database -v &> /dev/null); then update-mime-database "%{_datadir}/mime" > /dev/null fi %files -f %{name}.lang %defattr(-, root, root) %doc README COPYING COPYING-DOCS COPYING.LIBGLABELS ChangeLog NEWS AUTHORS INSTALL %doc %{_datadir}/gnome/help/glabels/ %{_bindir}/* %{_libdir}/* %{_includedir}/libglabels/* %{_datadir}/glabels/ %{_datadir}/pixmaps/* %{_datadir}/omf/ %{_datadir}/applications/*.desktop %{_datadir}/application-registry/* %{_datadir}/mime-info/* %{_datadir}/mime/packages/* %{_datadir}/man/* %changelog * Sun Aug 8 2004 Jim Evins - Added support for freedesktop.org mime database registration * Sat Feb 21 2004 Jim Evins - Added libglabels related files * Tue Dec 23 2003 Jim Evins - Added support for scrollkeeper * Sat Oct 18 2003 Jim Evins - Updated, based largely on Dag Wieers glabels.spec * Sat May 19 2001 Jim Evins - Created