]> git.pld-linux.org Git - packages/g2100config.git/blob - g2100config.spec
- removed two lines with define
[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
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} 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
67 install console/2100config $RPM_BUILD_ROOT/usr/bin
68 install console/2100config.1 $RPM_BUILD_ROOT%{_mandir}/man1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS NEWS README
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.066275 seconds and 4 git commands to generate.