mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
rpm specfile fixes: group, license, build requires, files
This commit is contained in:
parent
7f39ea761e
commit
1e933db07b
1 changed files with 17 additions and 12 deletions
|
@ -3,13 +3,13 @@ Version: 1.4
|
|||
Release: 48.gmaster_16fb0132%{?dist}
|
||||
Summary: Websocket Server Library
|
||||
|
||||
Group: System
|
||||
License: GPL
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2 with exceptions
|
||||
URL: http://warmcat.com
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: openssl-devel cmake
|
||||
Requires: openssl
|
||||
|
||||
%description
|
||||
|
@ -38,22 +38,27 @@ rm -rf $RPM_BUILD_ROOT
|
|||
cd build
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%attr(755,root,root) /usr/bin/libwebsockets-test-server
|
||||
%attr(755,root,root) /usr/bin/libwebsockets-test-server-extpoll
|
||||
%attr(755,root,root) /usr/bin/libwebsockets-test-client
|
||||
%attr(755,root,root) /usr/bin/libwebsockets-test-ping
|
||||
%attr(755,root,root) /usr/bin/libwebsockets-test-echo
|
||||
%attr(755,root,root) /usr/bin/libwebsockets-test-fraggle
|
||||
%attr(755,root,root)
|
||||
/%{_libdir}/libwebsockets.so.5
|
||||
%attr(755,root,root)
|
||||
/usr/bin/libwebsockets-test-server
|
||||
/usr/bin/libwebsockets-test-server-extpoll
|
||||
/usr/bin/libwebsockets-test-server-pthreads
|
||||
/usr/bin/libwebsockets-test-client
|
||||
/usr/bin/libwebsockets-test-ping
|
||||
/usr/bin/libwebsockets-test-echo
|
||||
/usr/bin/libwebsockets-test-fraggle
|
||||
/%{_libdir}/libwebsockets.so.6
|
||||
/%{_libdir}/libwebsockets.so
|
||||
%attr(755,root,root) /usr/share/libwebsockets-test-server
|
||||
/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake
|
||||
/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
|
||||
/usr/share/libwebsockets-test-server
|
||||
%doc
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
|
Loading…
Add table
Reference in a new issue