]> git.pld-linux.org Git - packages/libptytty.git/blame - libptytty.spec
new
[packages/libptytty.git] / libptytty.spec
CommitLineData
f6325e0f
JP
1Summary: OS independent and secure pty/tty and utmp/wtmp/lastlog handling
2Name: libptytty
3Version: 2.0
4Release: 1
5License: GPL v2+
6Group: Libraries
7Source0: http://dist.schmorp.de/libptytty/%{name}-%{version}.tar.gz
8# Source0-md5: 2a7f3f3c0d3ef71902da745dc7959529
9URL: http://software.schmorp.de/pkg/libptytty.html
10BuildRequires: cmake >= 3.6
11BuildRequires: libstdc++-devel >= 6:4.8.1
12BuildRequires: rpmbuild(macros) >= 1.605
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16libptytty is an offspring of rxvt-unicode that handles
17pty/tty/utmp/wtmp/lastlog handling in mostly OS-independent ways
18
19%package devel
20Summary: Header files for the libptytty library
21Group: Development/Libraries
22Requires: %{name} = %{version}-%{release}
23
24%description devel
25Header files for libptytty library.
26
27%prep
28%setup -q
29
30%build
31%cmake -B build
32%{__make} -C build
33
34%install
35rm -rf $RPM_BUILD_ROOT
36
37%{__make} -C build install \
38 DESTDIR=$RPM_BUILD_ROOT
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%post -p /sbin/ldconfig
44%postun -p /sbin/ldconfig
45
46%files
47%defattr(644,root,root,755)
48%doc Changes README
49%attr(755,root,root) %{_libdir}/libptytty.so.0
50
51%files devel
52%defattr(644,root,root,755)
53%attr(755,root,root) %{_libdir}/libptytty.so
54%{_includedir}/libptytty.h
55%{_pkgconfigdir}/libptytty.pc
56%{_mandir}/man3/libptytty.3*
This page took 0.096385 seconds and 4 git commands to generate.