]> git.pld-linux.org Git - packages/glabels.git/blob - glabels.spec
ac9a4d1b75939f3da9c64bf14c8be7b14c988bf7
[packages/glabels.git] / glabels.spec
1 Summary:        gLabels - a GNOME2 program to create labels and business cards
2 Summary(pl):    gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
3 Name:           glabels
4 Version:        1.91.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://snaught.com/glabels/source/%{name}-%{version}.tar.gz
9 # Source0-md5:  bd5bfd26c9e8c8f7741e255264ce2377
10 Patch0:         %{name}-libgnomeprint_fix.patch
11 Patch1:         %{name}-paths.patch
12 Patch2:         %{name}-desktop.patch
13 URL:            http://snaught.com/glabels/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  intltool
18 BuildRequires:  libgnome-devel >= 2.2
19 BuildRequires:  libgnomecanvas-devel >= 2.2
20 BuildRequires:  libgnomeprint-devel >= 2.2
21 BuildRequires:  libgnomeprintui-devel >= 2.2
22 BuildRequires:  libgnomeui-devel >= 2.2
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 gLabels is a small stand-alone program for creating labels and
29 business cards.
30
31 %description -l pl
32 gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
33 wizytówek.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %build
42 rm -f missing
43 glib-gettextize --copy --force
44 %{__libtoolize}
45 intltoolize --copy --force
46 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
47 %{__autoheader}
48 %{__automake}
49 %{__autoconf}
50
51 %configure \
52         --enable-platform-gnome-2
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %find_lang %{name} --with-gnome --all-name
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc README ChangeLog NEWS AUTHORS
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{_datadir}/glabels
71 %dir %{_datadir}/glabels/ui
72 %{_datadir}/glabels/ui/glabels-ui.xml
73 %{_datadir}/glabels/predefined-labels.template
74 %{_pixmapsdir}/glabels
75 %{_desktopdir}/%{name}.desktop
This page took 0.091022 seconds and 3 git commands to generate.