]> git.pld-linux.org Git - SPECS.git/blob - linbar.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / linbar.spec
1 Summary:        LinBar - Linux Barcode support
2 Summary(pl.UTF-8):      LinBar - obsługa czytników kodów paskowych dla Linuksa
3 Name:           linbar
4 Version:        0.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://argeas.cs-net.gr/pub/unix/linux/linbar/%{name}-%{version}.tar.gz
9 # Source0-md5:  c835d07912b3ee84241530f68923e8ee
10 BuildRequires:  libstdc++-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 The linbar utility reads from a specified serial port and puts the
15 characters to the current console keyboard buffer. It's primary usage
16 is for serial barcode readers. As far as I know, it works only on
17 Linux console.
18
19 %description -l pl.UTF-8
20 Program linbar czyta z zadanego portu szeregowego i odczytane znaki
21 wrzuca do bufora klawiatury aktualnej konsoli. Głównym zastosowaniem
22 jest obsługa czytników kodów paskowych. Jak na razie działa tylko z
23 konsolą Linuksa.
24
25 %prep
26 %setup -q
27
28 %build
29 %{__make} \
30         CC="%{__cxx}" \
31         OPTIMIZE="%{rpmcflags} -Wall" \
32         LDFLAGS="%{rpmldflags}"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_bindir}
37
38 install linbar $RPM_BUILD_ROOT%{_bindir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc BUGS README INSTALL TODO
46 %attr(755,root,root) %{_bindir}/linbar
This page took 0.17697 seconds and 3 git commands to generate.