]> git.pld-linux.org Git - packages/g2100config.git/blob - g2100config.spec
- better descriptions, new %%doc, working URL; release 3
[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:        3
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{version}.tar.gz
9 URL:            http://g2100config.sourceforge.net/
10 BuildRequires:  automake
11 BuildRequires:  autoconf
12 BuildRequires:  gettext-devel
13 BuildRequires:  gtk+-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:        Text-mode 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 2100config is a text-mode 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 2100config to tekstowe narzêdzie do konfiguracji drukarek HP LaserJet
41 serii 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}
52 aclocal
53 %{__autoconf}
54 %{__automake}
55 %configure
56 %{__make}
57
58 cd console
59 %{__make} CFLAGS="%{rpmcflags}" 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
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS NEWS README
75 %attr(755,root,root) %{_bindir}/*
76 %{_datadir}/%{name}
77
78 %files -n 2100config
79 %defattr(644,root,root,755)
80 %attr(755,root,root) /usr/bin/*
81 %{_mandir}/man1/*
This page took 0.073787 seconds and 4 git commands to generate.