]> git.pld-linux.org Git - packages/libptytty.git/blame - libptytty.spec
- pl
[packages/libptytty.git] / libptytty.spec
CommitLineData
f6325e0f 1Summary: OS independent and secure pty/tty and utmp/wtmp/lastlog handling
9456ff8c 2Summary(pl.UTF-8): Niezależna od systemu i bezpieczna obsługa pty/tty oraz utmp/wtmp/lastlog
f6325e0f
JP
3Name: libptytty
4Version: 2.0
5Release: 1
6License: GPL v2+
7Group: Libraries
8Source0: http://dist.schmorp.de/libptytty/%{name}-%{version}.tar.gz
9# Source0-md5: 2a7f3f3c0d3ef71902da745dc7959529
10URL: http://software.schmorp.de/pkg/libptytty.html
11BuildRequires: cmake >= 3.6
12BuildRequires: libstdc++-devel >= 6:4.8.1
13BuildRequires: rpmbuild(macros) >= 1.605
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17libptytty is an offspring of rxvt-unicode that handles
9456ff8c
JB
18pty/tty/utmp/wtmp/lastlog in mostly OS-independent ways.
19
20%description -l pl.UTF-8
21libptytty to projekt potomny rxvt-unicode, obsługujący w sposób w
22większości niezależny od systemu pty/tty/utmp/wtmp/lastlog.
f6325e0f
JP
23
24%package devel
9456ff8c
JB
25Summary: Header file for the libptytty library
26Summary(pl.UTF-8): Plik nagłówkowy biblioteki libptytty
f6325e0f
JP
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
9456ff8c 29Requires: libstdc++-devel >= 6:4.8.1
f6325e0f
JP
30
31%description devel
9456ff8c
JB
32Header file for libptytty library.
33
34%description devel -l pl.UTF-8
35Plik nagłówkowy biblioteki libptytty.
f6325e0f
JP
36
37%prep
38%setup -q
39
40%build
41%cmake -B build
9456ff8c 42
f6325e0f
JP
43%{__make} -C build
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} -C build install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -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.184687 seconds and 4 git commands to generate.