1 Summary: OS independent and secure pty/tty and utmp/wtmp/lastlog handling
2 Summary(pl.UTF-8): Niezależna od systemu i bezpieczna obsługa pty/tty oraz utmp/wtmp/lastlog
8 Source0: http://dist.schmorp.de/libptytty/%{name}-%{version}.tar.gz
9 # Source0-md5: 2a7f3f3c0d3ef71902da745dc7959529
10 URL: http://software.schmorp.de/pkg/libptytty.html
11 BuildRequires: cmake >= 3.6
12 BuildRequires: libstdc++-devel >= 6:4.8.1
13 BuildRequires: rpmbuild(macros) >= 1.605
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 libptytty is an offspring of rxvt-unicode that handles
18 pty/tty/utmp/wtmp/lastlog in mostly OS-independent ways.
20 %description -l pl.UTF-8
21 libptytty to projekt potomny rxvt-unicode, obsługujący w sposób w
22 większości niezależny od systemu pty/tty/utmp/wtmp/lastlog.
25 Summary: Header file for the libptytty library
26 Summary(pl.UTF-8): Plik nagłówkowy biblioteki libptytty
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
29 Requires: libstdc++-devel >= 6:4.8.1
32 Header file for libptytty library.
34 %description devel -l pl.UTF-8
35 Plik nagłówkowy biblioteki libptytty.
46 rm -rf $RPM_BUILD_ROOT
48 %{__make} -C build install \
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
54 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_libdir}/libptytty.so.0
63 %defattr(644,root,root,755)
64 %attr(755,root,root) %{_libdir}/libptytty.so
65 %{_includedir}/libptytty.h
66 %{_pkgconfigdir}/libptytty.pc
67 %{_mandir}/man3/libptytty.3*