]> git.sur5r.net Git - glabels/blob - glabels2/glabels.spec.in
2004-07-02 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / glabels.spec.in
1 Summary: glabels is a GNOME program to create labels and business cards
2 Name:      glabels
3 Version:   @VERSION@
4 Release:   1
5 Copyright: GPL
6 Group: Applications/Publishing
7 URL: http://snaught.com/glabels/
8
9 Source: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/root-%{name}-%{version}
11 Prefix: %{_prefix}
12
13 BuildRequires: gtk+-devel >= 1.2
14 BuildRequires: libgnomeui-devel >= 2.0
15 BuildRequires: libgnomecanvas-devel >= 2.0
16 BuildRequires: libgnomeprint22-devel >= 2.2
17 BuildRequires: libxml2-devel >= 2.4
18 BuildRequires: libglade2-devel >= 2.0
19
20 %description
21 gLabels is a lightweight program for creating labels and
22 business cards for the GNOME desktop environment.
23 It is designed to work with various laser/ink-jet peel-off
24 label and business card sheets that you'll find at most office
25 supply stores.
26
27 %prep
28 %setup
29
30 %build
31 %configure
32 %{__make} %{?_smp_mflags}
33
34 %install
35 %{__rm} -rf %{buildroot}
36 %makeinstall
37 %find_lang %{name}
38
39 desktop-file-install --vendor gnome                \
40         --add-category X-Red-Hat-Base              \
41         --dir %{buildroot}%{_datadir}/applications \
42         %{buildroot}%{_datadir}/applications/%{name}.desktop
43
44 %{__rm} -rf $RPM_BUILD_ROOT/var/scrollkeeper
45
46 %clean
47 %{__rm} -rf %{buildroot}
48
49 %post
50 scrollkeeper-update
51
52 %postun
53 scrollkeeper-update
54
55 %files -f %{name}.lang
56 %defattr(-, root, root)
57 %doc README COPYING COPYING-DOCS COPYING.LIBGLABELS ChangeLog NEWS AUTHORS INSTALL
58 %doc %{_datadir}/gnome/help/glabels/
59 %{_bindir}/*
60 %{_libdir}/*
61 %{_includedir}/libglabels/*
62 %{_datadir}/glabels/
63 %{_datadir}/pixmaps/*
64 %{_datadir}/omf/
65 %{_datadir}/applications/*.desktop
66 %{_datadir}/application-registry/*
67 %{_datadir}/mime-info/*
68
69
70 %changelog
71 * Sat Feb 21 2004 Jim Evins <evins@snaught.com>
72 - Added libglabels related files
73
74 * Tue Dec 23 2003 Jim Evins <evins@snaught.com>
75 - Added support for scrollkeeper
76
77 * Sat Oct 18 2003 Jim Evins <evins@snaught.com>
78 - Updated, based largely on Dag Wieers <dag@wieers.com> glabels.spec
79
80 * Sat May 19 2001 Jim Evins <evins@snaught.com>
81 - Created
82