1 Summary: X interface for cups
2 Summary(pl.UTF-8): Interfejs dla cups pod X-y
7 Group: X11/Applications
8 Source0: http://dl.sourceforge.net/cups/%{name}-%{version}.tar.gz
9 # Source0-md5: 775fd69c464515da0c3295d04d0c747f
10 Patch0: %{name}-include.patch
11 Patch1: %{name}-gcc4.patch
12 URL: http://cups.sourceforge.net/xpp/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: cups-devel >= 1.1.9
16 BuildRequires: fltk-devel >= 1.1.3-2
17 BuildRequires: libstdc++-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %description -l pl.UTF-8
24 Interfejs dla cups pod X-y.
32 CUPSD="/usr/sbin/cupsd"; export CUPSD
34 %{?debug:--enable-more-warnings} \
35 %{!?debug:--disable-more-warnings}
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_bindir}
43 install xpp $RPM_BUILD_ROOT%{_bindir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*