]> git.pld-linux.org Git - packages/g2100config.git/blob - g2100config.spec
- use http for sources from sourceforge
[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:        http://dl.sourceforge.net/%{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 %description
17 g2100config is a GTK+ control tool for the HP LaserJet 2100 Series
18 printers. Current options are Resolution, Density, Courier Font, Econo
19 Mode, Tray Locking, and Test Page printing.
20
21 %description -l pl
22 g2100config to narzêdzie do konfiguracji drukarek HP LaserJet serii
23 2100. Aktualnie mo¿liwe do zmieniania opcje to: rozdzielczo¶æ,
24 gêsto¶æ, czcionka, tryb ekonomiczny, blokowanie podajników i
25 drukowanie strony testowej.
26
27 %package -n 2100config
28 Summary:        Text-mode HP LaserJet 2100 configuration tool
29 Summary(pl):    Narzêdzie tekstowe do konfigurowania drukarek HP LaserJet 2100
30 Group:          Applications/Printing
31
32 %description -n 2100config
33 2100config is a text-mode control tool for the HP LaserJet 2100 Series
34 printers. Current options are Resolution, Density, Courier Font, Econo
35 Mode, Tray Locking, and Test Page printing.
36
37 %description -n 2100config -l pl
38 2100config to tekstowe narzêdzie do konfiguracji drukarek HP LaserJet
39 serii 2100. Aktualnie mo¿liwe do zmieniania opcje to: rozdzielczo¶æ,
40 gêsto¶æ, czcionka, tryb ekonomiczny, blokowanie podajników i
41 drukowanie strony testowej.
42
43 %prep
44 %setup -q
45 %{__make} distclean
46 rm -f console/2100config
47
48 %build
49 rm -f missing
50 %{__gettextize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure
55 %{__make}
56
57 cd console
58 %{__make} CFLAGS="%{rpmcflags}" 2100config
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
63
64 %{__make} DESTDIR=$RPM_BUILD_ROOT install
65
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.076693 seconds and 4 git commands to generate.