summaryrefslogtreecommitdiff
path: root/glabels.spec.in
diff options
context:
space:
mode:
authorJim Evins <evins@snaught.com>2009-09-26 22:46:39 -0400
committerJim Evins <evins@snaught.com>2009-09-26 22:46:39 -0400
commit39f4c44e000d410b4f63ab1fcdc4b04273ff0a83 (patch)
tree11b633fd957345a83b6c345f899b309868bd02ed /glabels.spec.in
parentafa4a2a62381d2502254a8928216f11509aa1b7d (diff)
Organized master branch to be top-level directory for glabels, instead of
having a glabels2 sub-directory.
Diffstat (limited to 'glabels.spec.in')
-rw-r--r--glabels.spec.in106
1 files changed, 106 insertions, 0 deletions
diff --git a/glabels.spec.in b/glabels.spec.in
new file mode 100644
index 0000000..6050b0d
--- /dev/null
+++ b/glabels.spec.in
@@ -0,0 +1,106 @@
+Summary: glabels is a GNOME program to create labels and business cards
+Name: glabels
+Version: @VERSION@
+Release: 1
+License: GPL
+Group: Applications/Publishing
+URL: http://glabels.sourceforge.net/
+
+Source: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/root-%{name}-%{version}
+Prefix: %{_prefix}
+
+BuildRequires: gtk2-devel >= @GTK_REQUIRED@
+BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
+BuildRequires: libgnomeui-devel >= @LIBGNOMEUI_REQUIRED@
+BuildRequires: libglade2-devel >= @LIBGLADE_REQUIRED@
+
+Requires: gtk2 >= @GTK_REQUIRED@
+Requires: libxml2 >= @LIBXML_REQUIRED@
+Requires: libgnomeui >= @LIBGNOMEUI_REQUIRED@
+Requires: libglade2 >= @LIBGLADE_REQUIRED@
+
+%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 --delete-original \
+ --add-category X-Red-Hat-Base \
+ --dir %{buildroot}%{_datadir}/applications \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%{__rm} -rf %{buildroot}/var/scrollkeeper
+%{__rm} -f %{buildroot}%{_datadir}/mime/XMLnamespaces
+%{__rm} -f %{buildroot}%{_datadir}/mime/globs
+%{__rm} -f %{buildroot}%{_datadir}/mime/magic
+%{__rm} -f %{buildroot}%{_datadir}/mime/mime.cache
+%{__rm} -rf %{buildroot}%{_datadir}/mime/application
+%{__rm} -rf %{buildroot}%{_datadir}/mime/aliases
+%{__rm} -rf %{buildroot}%{_datadir}/mime/subclasses
+
+
+%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.README_FIRST COPYING COPYING-DOCS COPYING-LIBGLABELS ChangeLog NEWS AUTHORS INSTALL
+%doc %{_datadir}/gnome/help/glabels/
+%{_bindir}/glabels
+%{_bindir}/glabels-batch
+%{_libdir}/libglabels.*
+%{_libdir}/pkgconfig/libglabels.pc
+%{_includedir}/libglabels/*
+%{_datadir}/glabels/
+%{_datadir}/pixmaps/*
+%{_datadir}/omf/
+%{_datadir}/applications/*.desktop
+%{_datadir}/application-registry/*
+%{_datadir}/mime-info/*
+%{_datadir}/mime/packages/*
+%{_datadir}/man/*
+%{_datadir}/gtk-doc/html/libglabels/*
+
+%changelog
+* Sun Aug 8 2004 Jim Evins <evins@snaught.com>
+- Added support for freedesktop.org mime database registration
+
+* Sat Feb 21 2004 Jim Evins <evins@snaught.com>
+- Added libglabels related files
+
+* Tue Dec 23 2003 Jim Evins <evins@snaught.com>
+- Added support for scrollkeeper
+
+* Sat Oct 18 2003 Jim Evins <evins@snaught.com>
+- Updated, based largely on Dag Wieers <dag@wieers.com> glabels.spec
+
+* Sat May 19 2001 Jim Evins <evins@snaught.com>
+- Created
+