]> git.pld-linux.org Git - packages/g2100config.git/blobdiff - g2100config.spec
- "f" and some "g" letters of small fixes inpired by kloczek
[packages/g2100config.git] / g2100config.spec
index 1d0eff8efe4c544705bf323470c49f96293587f1..be080f678f7cdf19f2689899ccc9bab4e0097e80 100644 (file)
@@ -5,7 +5,8 @@ Version:        0.5
 Release:       3
 License:       GPL
 Group:         X11/Applications
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 9d07233734404ebd44bc06a8b1928b14
 URL:           http://g2100config.sourceforge.net/
 BuildRequires: automake
 BuildRequires: autoconf
@@ -13,8 +14,6 @@ BuildRequires:        gettext-devel
 BuildRequires: gtk+-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
 g2100config is a GTK+ control tool for the HP LaserJet 2100 Series
 printers. Current options are Resolution, Density, Courier Font, Econo
@@ -48,21 +47,25 @@ drukowanie strony testowej.
 rm -f console/2100config
 
 %build
+rm -f missing
 %{__gettextize}
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure
 %{__make}
 
 cd console
-%{__make} CFLAGS="%{rpmcflags}" 2100config
+%{__make} 2100config \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
 
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
 install console/2100config $RPM_BUILD_ROOT/usr/bin
 install console/2100config.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
This page took 0.087139 seconds and 4 git commands to generate.