X-Git-Url: http://git.pld-linux.org/?p=packages%2Fg2100config.git;a=blobdiff_plain;f=g2100config.spec;h=be080f678f7cdf19f2689899ccc9bab4e0097e80;hp=0d2d0eb8ddc0403deba15d2fa3348601e57e95eb;hb=8948ffdc85c95a94c9513f6ccc9ef9df6f1b5e8e;hpb=82acf1d3e7c0f9fd286b55497759b91468cdc736 diff --git a/g2100config.spec b/g2100config.spec index 0d2d0eb..be080f6 100644 --- a/g2100config.spec +++ b/g2100config.spec @@ -2,19 +2,18 @@ Summary: GTK+ HP LaserJet 2100 configuration tool Summary(pl): Narzêdzie GTK+ do konfigurowania drukarek HP LaserJet 2100 Name: g2100config Version: 0.5 -Release: 2 +Release: 3 License: GPL Group: X11/Applications -Source0: http://download.sourceforge.net/%{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 -BuildRequires: gtk+-devel 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 @@ -27,18 +26,18 @@ g drukowanie strony testowej. %package -n 2100config -Summary: Console HP LaserJet 2100 configuration tool +Summary: Text-mode HP LaserJet 2100 configuration tool Summary(pl): Narzêdzie tekstowe do konfigurowania drukarek HP LaserJet 2100 Group: Applications/Printing %description -n 2100config -g2100config is a console control tool for the HP LaserJet 2100 Series +2100config is a text-mode control tool for the HP LaserJet 2100 Series printers. Current options are Resolution, Density, Courier Font, Econo Mode, Tray Locking, and Test Page printing. %description -n 2100config -l pl -g2100config to narzêdzie do konfiguracji drukarek HP LaserJet serii -2100. Aktualnie mo¿liwe do zmieniania opcje to: rozdzielczo¶æ, +2100config to tekstowe narzêdzie do konfiguracji drukarek HP LaserJet +serii 2100. Aktualnie mo¿liwe do zmieniania opcje to: rozdzielczo¶æ, gêsto¶æ, czcionka, tryb ekonomiczny, blokowanie podajników i drukowanie strony testowej. @@ -48,31 +47,34 @@ drukowanie strony testowej. rm -f console/2100config %build -gettextize --copy --force -aclocal -autoconf -automake -a -c +rm -f missing +%{__gettextize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure %{__make} cd console -%{__make} CFLAGS="$RPM_OPT_FLAGS" 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 -gzip -9nf AUTHORS NEWS README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz +%doc AUTHORS NEWS README %attr(755,root,root) %{_bindir}/* %{_datadir}/%{name}