X-Git-Url: http://git.pld-linux.org/?p=packages%2Fg2100config.git;a=blobdiff_plain;f=g2100config.spec;h=be080f678f7cdf19f2689899ccc9bab4e0097e80;hp=0a985fe381cc3d29b83555da6449151680246862;hb=8948ffdc85c95a94c9513f6ccc9ef9df6f1b5e8e;hpb=0a2dd4fd358df5d82aff290a4d8025e860824eef diff --git a/g2100config.spec b/g2100config.spec index 0a985fe..be080f6 100644 --- a/g2100config.spec +++ b/g2100config.spec @@ -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,7 +14,6 @@ BuildRequires: gettext-devel BuildRequires: gtk+-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) - %description g2100config is a GTK+ control tool for the HP LaserJet 2100 Series printers. Current options are Resolution, Density, Courier Font, Econo @@ -56,13 +56,15 @@ rm -f missing %{__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