]>
Commit | Line | Data |
---|---|---|
545dee5b | 1 | Summary: GTK+ HP LaserJet 2100 configuration tool |
4fb17b89 | 2 | Summary(pl.UTF-8): Narzędzie GTK+ do konfigurowania drukarek HP LaserJet 2100 |
545dee5b SZ |
3 | Name: g2100config |
4 | Version: 0.5 | |
0f9407e9 | 5 | Release: 4 |
545dee5b SZ |
6 | License: GPL |
7 | Group: X11/Applications | |
05699fe1 | 8 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
3c4d5d52 | 9 | # Source0-md5: 9d07233734404ebd44bc06a8b1928b14 |
82acf1d3 | 10 | URL: http://g2100config.sourceforge.net/ |
545dee5b SZ |
11 | BuildRequires: automake |
12 | BuildRequires: autoconf | |
390ef80f | 13 | BuildRequires: gettext-tools |
2f9f5a99 | 14 | BuildRequires: gtk+-devel |
545dee5b SZ |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
545dee5b SZ |
17 | %description |
18 | g2100config is a GTK+ control tool for the HP LaserJet 2100 Series | |
19 | printers. Current options are Resolution, Density, Courier Font, Econo | |
20 | Mode, Tray Locking, and Test Page printing. | |
21 | ||
ae15c9c5 JR |
22 | %description -l pl.UTF-8 |
23 | g2100config to narzędzie do konfiguracji drukarek HP LaserJet serii | |
24 | 2100. Aktualnie możliwe do zmieniania opcje to: rozdzielczość, | |
25 | gęstość, czcionka, tryb ekonomiczny, blokowanie podajników i | |
545dee5b SZ |
26 | drukowanie strony testowej. |
27 | ||
28 | %package -n 2100config | |
2f9f5a99 | 29 | Summary: Text-mode HP LaserJet 2100 configuration tool |
4fb17b89 | 30 | Summary(pl.UTF-8): Narzędzie tekstowe do konfigurowania drukarek HP LaserJet 2100 |
545dee5b | 31 | Group: Applications/Printing |
545dee5b SZ |
32 | |
33 | %description -n 2100config | |
2f9f5a99 | 34 | 2100config is a text-mode control tool for the HP LaserJet 2100 Series |
545dee5b SZ |
35 | printers. Current options are Resolution, Density, Courier Font, Econo |
36 | Mode, Tray Locking, and Test Page printing. | |
37 | ||
ae15c9c5 JR |
38 | %description -n 2100config -l pl.UTF-8 |
39 | 2100config to tekstowe narzędzie do konfiguracji drukarek HP LaserJet | |
40 | serii 2100. Aktualnie możliwe do zmieniania opcje to: rozdzielczość, | |
41 | gęstość, czcionka, tryb ekonomiczny, blokowanie podajników i | |
545dee5b SZ |
42 | drukowanie strony testowej. |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | %{__make} distclean | |
47 | rm -f console/2100config | |
48 | ||
49 | %build | |
59fd5dc6 | 50 | rm -f missing |
af904e35 | 51 | %{__gettextize} |
59fd5dc6 | 52 | %{__aclocal} |
365edf2f | 53 | %{__autoconf} |
54 | %{__automake} | |
545dee5b SZ |
55 | %configure |
56 | %{__make} | |
57 | ||
58 | cd console | |
8948ffdc PG |
59 | %{__make} 2100config \ |
60 | CFLAGS="%{rpmcflags}" | |
545dee5b SZ |
61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1} | |
65 | ||
8948ffdc PG |
66 | %{__make} install \ |
67 | DESTDIR=$RPM_BUILD_ROOT | |
59fd5dc6 | 68 | |
545dee5b SZ |
69 | install console/2100config $RPM_BUILD_ROOT/usr/bin |
70 | install console/2100config.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
545dee5b SZ |
71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
2f9f5a99 | 77 | %doc AUTHORS NEWS README |
545dee5b SZ |
78 | %attr(755,root,root) %{_bindir}/* |
79 | %{_datadir}/%{name} | |
80 | ||
81 | %files -n 2100config | |
82 | %defattr(644,root,root,755) | |
83 | %attr(755,root,root) /usr/bin/* | |
84 | %{_mandir}/man1/* |