]> git.pld-linux.org Git - packages/glabels.git/blob - glabels.spec
- updated to 1.93.1
[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.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  aefbfabda808c145e306c385a110cb93
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-gnome_2_5.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 gnome-doc-common --copy
45 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
46 %{__autoheader}
47 %{__automake}
48 %{__autoconf}
49 %configure \
50         --enable-platform-gnome-2
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %find_lang %{name} --with-gnome --all-name
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post           -p /usr/bin/scrollkeeper-update
65 %postun -p /usr/bin/scrollkeeper-update
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README TODO
70 %attr(755,root,root) %{_bindir}/*
71 %{_datadir}/%{name}
72 %{_datadir}/application-registry/*
73 %{_datadir}/mime-info/*
74 %{_pixmapsdir}/%{name}
75 %{_pixmapsdir}/*.png
76 %{_desktopdir}/*.desktop
77 %{_omf_dest_dir}/%{name}
This page took 0.070577 seconds and 4 git commands to generate.