]> git.sur5r.net Git - glabels/blob - glabels2/glabels.spec.in
31685dac78da47d7cbe9f8bb41e94861264a97ef
[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 ChangeLog NEWS AUTHORS INSTALL
58 %doc %{_datadir}/gnome/help/glabels/
59 %{_bindir}/*
60 %{_datadir}/glabels/
61 %{_datadir}/pixmaps/*
62 %{_datadir}/omf/
63 %{_datadir}/applications/*.desktop
64 %{_datadir}/application-registry/*
65 %{_datadir}/mime-info/*
66
67
68 %changelog
69 * Tue Dec 23 2003 Jim Evins <evins@snaught.com>
70 - Added support for scrollkeeper
71
72 * Sat Oct 18 2003 Jim Evins <evins@snaught.com>
73 - Updated, based largely on Dag Wieers <dag@wieers.com> glabels.spec
74
75 * Sat May 19 2001 Jim Evins <evins@snaught.com>
76 - Created
77