]> git.pld-linux.org Git - SPECS.git/blob - gqueue.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gqueue.spec
1 Summary:        gQueue is a GNOME2 frontend for Cups queues
2 Summary(pl.UTF-8):      gQueue jest nakładką na Cupsa dla GNOME2
3 Name:           gqueue
4 Version:        0.99.1
5 Release:        3
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://web.tiscali.it/diegobazzanella/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b5cf07a087986cd4cbb83ed26958d408
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-locale.patch
12 Patch1:         %{name}-nolibs.patch
13 URL:            http://web.tiscali.it/diegobazzanella/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  cups-devel
17 BuildRequires:  gettext-tools
18 BuildRequires:  libgnomeui-devel >= 2.4.0.1
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpm-build >= 4.1-13
21 Requires:       cups
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 gQueue is a GNOME2 frontend for lpq and lprm working with Cups queues.
26
27 %description -l pl.UTF-8
28 gQueue jest nakładką na lpq i lprm pracującą z kolejkami Cupsa.
29
30 %prep
31 %setup -q -n %{name}
32 %patch0 -p1
33 %patch1 -p1
34
35 mv po/{no,nb}.po
36
37 %build
38 rm -f missing mkinstalldirs depcomp install-sh missing COPYING INSTALL
39 cp -f /usr/share/gettext/mkinstalldirs .
40 %{__aclocal}
41 glib-gettextize --force --copy
42 %{__autoheader}
43 %{__automake}
44 %{__autoconf}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_desktopdir}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
56
57 %find_lang %{name}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS
65 %attr(755,root,root) %{_bindir}/*
66 %{_pixmapsdir}/*
67 %{_desktopdir}/*.desktop
This page took 0.083812 seconds and 3 git commands to generate.