]> git.pld-linux.org Git - packages/g2100config.git/blob - g2100config.spec
- initial
[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:        1
6 License:        GPL
7 Group:          X11/Applications
8 Group(de):      X11/Applikationen
9 Group(pl):      X11/Aplikacje
10 Source0:        http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11 URL:            http://g2100config.sourceforge.net
12 BuildRequires:  automake
13 BuildRequires:  autoconf
14 BuildRequires:  gtk+-devel
15 BuildRequires:  gettext-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define _prefix /usr/X11R6
19
20 %description
21 g2100config is a GTK+ control tool for the HP LaserJet 2100 Series
22 printers. Current options are Resolution, Density, Courier Font, Econo
23 Mode, Tray Locking, and Test Page printing.
24
25 %description -l pl
26 g2100config to narzêdzie do konfiguracji drukarek HP LaserJet serii
27 2100. Aktualnie mo¿liwe do zmieniania opcje to: rozdzielczo¶æ,
28 gêsto¶æ, czcionka, tryb ekonomiczny, blokowanie podajników i
29 drukowanie strony testowej.
30
31 %package -n 2100config
32 Summary:        Console HP LaserJet 2100 configuration tool
33 Summary(pl):    Narzêdzie tekstowe do konfigurowania drukarek HP LaserJet 2100
34 Group:          Applications/Printing
35 Group(de):      Applikationen/Drucken
36 Group(pl):      Aplikacje/Drukowanie
37
38 %description -n 2100config
39 g2100config is a console control tool for the HP LaserJet 2100 Series
40 printers. Current options are Resolution, Density, Courier Font, Econo
41 Mode, Tray Locking, and Test Page printing.
42
43 %description -l pl -n 2100config
44 g2100config to narzêdzie do konfiguracji drukarek HP LaserJet serii
45 2100. Aktualnie mo¿liwe do zmieniania opcje to: rozdzielczo¶æ,
46 gêsto¶æ, czcionka, tryb ekonomiczny, blokowanie podajników i
47 drukowanie strony testowej.
48
49 %prep
50 %setup -q
51 %{__make} distclean
52 rm -f console/2100config
53
54 %build
55 gettextize --copy --force
56 aclocal
57 autoconf
58 automake -a -c
59 %configure
60 %{__make}
61
62 cd console
63 %{__make} CFLAGS="$RPM_OPT_FLAGS" 2100config
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
68
69 %{__make} DESTDIR=$RPM_BUILD_ROOT install
70 install console/2100config $RPM_BUILD_ROOT/usr/bin
71 install console/2100config.1 $RPM_BUILD_ROOT%{_mandir}/man1
72 gzip -9nf AUTHORS NEWS README
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc *.gz
80 %attr(755,root,root) %{_bindir}/*
81 %{_datadir}/%{name}
82
83 %files -n 2100config
84 %defattr(644,root,root,755)
85 %attr(755,root,root) /usr/bin/*
86 %{_mandir}/man1/*
This page took 0.079097 seconds and 4 git commands to generate.