]> git.sur5r.net Git - glabels/blob - glabels1/glabels.spec.in
2008-12-27 Jim Evins <evins@snaught.com>
[glabels] / glabels1 / glabels.spec.in
1 %define name    @PACKAGE@
2 %define ver     @VERSION@
3 %define RELEASE 1
4 %define rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
5 %define prefix /usr
6 %define sysconfdir /etc
7
8 Summary: glabels is a GNOME program to create labels and business cards
9 Name:      %name
10 Version:   %ver
11 Release:   %rel
12 Copyright: GPL
13 Group: Applications/Graphics
14 Source: glabels-%{ver}.tar.gz
15 URL: http://snaught.com/glabels/
16 BuildRoot: /var/tmp/glabels-%{PACKAGE_VERSION}-root
17
18 Requires: gtk+ >= 1.2
19 Requires: gnome-libs >= 1.2.8
20 Requires: gnome-print >= 0.25
21 Requires: gdk-pixbuf >= 0.11.0
22
23 %description
24 gLabels is a lightweight program for creating labels and
25 business cards for the GNOME desktop environment.
26 It is designed to work with various laser/ink-jet peel-off
27 label and business card sheets that you'll find at most office
28 supply stores.
29
30
31 %prep
32 %setup
33
34 %build
35 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{prefix} 
36 make
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make prefix=$RPM_BUILD_ROOT%{prefix} install
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(-, root, root)
48 %doc README COPYING ChangeLog NEWS AUTHORS INSTALL
49 %{prefix}/bin/glabels
50 %{prefix}/bin/glabels-batch
51 %{prefix}/share/*
52
53
54 %changelog
55 * Sat May 19 2001 Jim Evins <evins@snaught.com>
56 - Created
57