]> git.pld-linux.org Git - packages/g2100config.git/blob - g2100config.spec
cc2d8c56ec6fee6c8206fe5ba73d31dadfc74339
[packages/g2100config.git] / g2100config.spec
1 Summary:        GTK+ HP LaserJet 2100 configuration tool
2 Summary(pl):    Narzêdzie GTK+ do konfigurowania drukarek HP LaserJet 2100
3 Name:           g2100config
4 Version:        0.5
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  9d07233734404ebd44bc06a8b1928b14
10 URL:            http://g2100config.sourceforge.net/
11 BuildRequires:  automake
12 BuildRequires:  autoconf
13 BuildRequires:  gettext-devel
14 BuildRequires:  gtk+-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
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
22 %description -l pl
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
26 drukowanie strony testowej.
27
28 %package -n 2100config
29 Summary:        Text-mode HP LaserJet 2100 configuration tool
30 Summary(pl):    Narzêdzie tekstowe do konfigurowania drukarek HP LaserJet 2100
31 Group:          Applications/Printing
32
33 %description -n 2100config
34 2100config is a text-mode control tool for the HP LaserJet 2100 Series
35 printers. Current options are Resolution, Density, Courier Font, Econo
36 Mode, Tray Locking, and Test Page printing.
37
38 %description -n 2100config -l pl
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
42 drukowanie strony testowej.
43
44 %prep
45 %setup -q
46 %{__make} distclean
47 rm -f console/2100config
48
49 %build
50 rm -f missing
51 %{__gettextize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__automake}
55 %configure
56 %{__make}
57
58 cd console
59 %{__make} 2100config \
60         CFLAGS="%{rpmcflags}"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 install console/2100config $RPM_BUILD_ROOT/usr/bin
70 install console/2100config.1 $RPM_BUILD_ROOT%{_mandir}/man1
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc AUTHORS NEWS README
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/*
This page took 0.0767600000000001 seconds and 2 git commands to generate.