]> git.pld-linux.org Git - SPECS.git/blob - xpp.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / xpp.spec
1 Summary:        X interface for cups
2 Summary(pl.UTF-8):      Interfejs dla cups pod X-y
3 Name:           xpp
4 Version:        1.5
5 Release:        2
6 License:        GPL
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)
19
20 %description
21 X interface for cups.
22
23 %description -l pl.UTF-8
24 Interfejs dla cups pod X-y.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29 %patch1 -p1
30
31 %build
32 CUPSD="/usr/sbin/cupsd"; export CUPSD
33 %configure2_13 \
34         %{?debug:--enable-more-warnings} \
35         %{!?debug:--disable-more-warnings}
36
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_bindir}
42
43 install xpp $RPM_BUILD_ROOT%{_bindir}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc ChangeLog README
51 %attr(755,root,root) %{_bindir}/*
This page took 2.099431 seconds and 3 git commands to generate.