]> git.pld-linux.org Git - packages/libptytty.git/blob - libptytty.spec
- pl
[packages/libptytty.git] / libptytty.spec
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
3 Name:           libptytty
4 Version:        2.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
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)
15
16 %description
17 libptytty is an offspring of rxvt-unicode that handles
18 pty/tty/utmp/wtmp/lastlog in mostly OS-independent ways.
19
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.
23
24 %package devel
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
30
31 %description devel
32 Header file for libptytty library.
33
34 %description devel -l pl.UTF-8
35 Plik nagłówkowy biblioteki libptytty.
36
37 %prep
38 %setup -q
39
40 %build
41 %cmake -B build
42
43 %{__make} -C build
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} -C build install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post   -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %attr(755,root,root) %{_libdir}/libptytty.so.0
61
62 %files devel
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*
This page took 0.112399 seconds and 4 git commands to generate.