]> git.pld-linux.org Git - packages/g2100config.git/blob - g2100config.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[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 rm -f missing
52 %{__gettextize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure
57 %{__make}
58
59 cd console
60 %{__make} CFLAGS="%{rpmcflags}" 2100config
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
65
66 %{__make} DESTDIR=$RPM_BUILD_ROOT install
67
68 install console/2100config $RPM_BUILD_ROOT/usr/bin
69 install console/2100config.1 $RPM_BUILD_ROOT%{_mandir}/man1
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README
77 %attr(755,root,root) %{_bindir}/*
78 %{_datadir}/%{name}
79
80 %files -n 2100config
81 %defattr(644,root,root,755)
82 %attr(755,root,root) /usr/bin/*
83 %{_mandir}/man1/*
This page took 0.093677 seconds and 3 git commands to generate.