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