]> git.pld-linux.org Git - packages/gtklp.git/blame - gtklp.spec
- desktop file for gtklp
[packages/gtklp.git] / gtklp.spec
CommitLineData
3709c145 1# TODO:
3709c145 2# - integrate non english docs
5b807381 3
77c89fb9 4Summary: A GTK+ frontend to CUPS
5Summary(pl): Interfejs GTK+ do CUPS
ee814184 6Name: gtklp
5b807381
JW
7Version: 1.0
8%define _pre pre3
9Release: 0.%{_pre}.1
ee814184
AF
10License: GPL
11Group: Applications/Printing
5b807381
JW
12Source0: http://dl.sourceforge.net/gtklp/%{name}-%{version}%{_pre}.src.tar.gz
13# Source0-md5: 5bf25637adac9bd716aa0f4337614da3
14Source1: http://prdownloads.sourceforge.net/gtklp/icons_n_logos.tar.gz
15# Source1-md5: e6e7f46c1b525c6993eaeee0c61fe5d1
16Source3: %{name}.desktop
29658fa4 17URL: http://gtklp.sourceforge.net/
e55127a4 18Patch0: %{name}-locale_names.patch
88a870f6
JB
19BuildRequires: autoconf
20BuildRequires: automake
ee814184 21BuildRequires: cups-devel >= 1.1.10
00363b1c 22BuildRequires: gtk+2-devel >= 2.4.0
ee814184
AF
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
5b807381
JW
25%define _iconsrc icons_n_logos
26
ee814184 27%description
77c89fb9 28A GTK+ frontend to CUPS.
ee814184 29
71e976b2 30%description -l pl
77c89fb9 31Interfejs GTK+ do CUPS.
ee814184
AF
32
33%prep
5b807381 34%setup -q -n %{name}-%{version}%{_pre}
e55127a4 35%patch0 -p1
36
37mv -f po/{cz,cs}.po
ee814184
AF
38
39%build
ca0480e0
AF
40rm -r missing
41%{__aclocal}
42%{__automake}
43%{__autoconf}
516cedb4 44%configure
f7d4148e 45%{__make}
ee814184
AF
46
47%install
48rm -rf $RPM_BUILD_ROOT
5b807381 49rm -rf $RPM_BUILD_DIR/%{_iconsrc}
516cedb4
AF
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
516cedb4 54%find_lang %{name}
ee814184 55
5b807381
JW
56install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
57install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
58tar zxf %{SOURCE1} -C $RPM_BUILD_DIR
59cd $RPM_BUILD_DIR/%{_iconsrc}
60install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
61
62
ee814184
AF
63%clean
64rm -rf $RPM_BUILD_ROOT
65
516cedb4 66%files -f %{name}.lang
ee814184 67%defattr(644,root,root,755)
dc362ff9 68%doc NEWS TODO USAGE README BUGS AUTHORS ChangeLog
ee814184
AF
69%attr(755,root,root) %{_bindir}/*
70%{_mandir}/man1/*
5b807381
JW
71%{_pixmapsdir}/%{name}.png
72%{_desktopdir}/%{name}.desktop
This page took 0.065546 seconds and 4 git commands to generate.