]>
Commit | Line | Data |
---|---|---|
ea681ddc JB |
1 | # TODO: fix lib install when "%{_lib}" != "lib" |
2 | Summary: Serial Port Interface for RFC 2217 compliant terminal servers | |
91939e3c | 3 | Summary(pl.UTF-8): Interfejs portów szeregowych dla serwerów terminali zgodnych z RFC 2217 |
ea681ddc JB |
4 | Name: cyclades-serial-client |
5 | Version: 0.93 | |
6 | Release: 0.1 | |
7 | License: GPL v2 | |
8 | Group: Applications/Communications | |
9 | Source0: http://www.lysator.liu.se/~astrand/projects/cyclades-serial-client/%{name}-%{version}.tgz | |
10 | # Source0-md5: 6f43a9b4998ce966b42f12eca12ab3fb | |
11 | URL: http://www.lysator.liu.se/~astrand/projects/cyclades-serial-client/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | This package connects a pseudo-tty on a local system to a remote | |
16 | serial port. | |
17 | ||
9fd76e12 JR |
18 | %description -l pl.UTF-8 |
19 | Ten pakiet połącza pseudoterminal na systemie lokalnym do zdalnego | |
ea681ddc JB |
20 | portu szeregowego. |
21 | ||
22 | %prep | |
23 | %setup -q | |
24 | ||
25 | %build | |
26 | %configure | |
27 | %{__make} \ | |
28 | CCFLAGS="%{rpmcflags} -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic" \ | |
29 | LDFLAGS="%{rpmldflags}" | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %{__make} install \ | |
35 | prefix=$RPM_BUILD_ROOT | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc debian/changelog | |
43 | %attr(755,root,root) %{_sbindir}/cyclades-serial-client | |
44 | %attr(755,root,root) %{_sbindir}/cyclades-ser-cli | |
45 | %attr(755,root,root) %{_libdir}/libcyclades-ser-cli.so | |
46 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cyclades-devices | |
47 | %{_mandir}/man[58]/* |