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