]> git.pld-linux.org Git - packages/glabels.git/blob - glabels.spec
3c871f21286fa25159a9887e65d290817d8597a6
[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:        2
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 mv -f po/{zh_TW.Big5,zh_TW}.po
38 %{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
39
40 %build
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.031792 seconds and 3 git commands to generate.