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