[9460] | 1 | %define ver 1.0.0 |
---|
[10775] | 2 | %define rel 3 |
---|
[9460] | 3 | |
---|
| 4 | Summary: The WebSocket library |
---|
| 5 | Name: wslay |
---|
| 6 | Version: %{ver} |
---|
| 7 | Release: %{rel}%{_dist_release} |
---|
| 8 | License: MIT |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: https://github.com/tatsuhiro-t/wslay/ |
---|
| 11 | # https://github.com/tatsuhiro-t/wslay/releases |
---|
| 12 | Source0: %{name}-release-%{version}.tar.gz |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: nettle-devel |
---|
| 16 | BuildRequires: python-sphinx |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | Packager: iwaim |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Wslay is a WebSocket library written in C. |
---|
| 24 | It implements the protocol version 13 described in RFC 6455. |
---|
| 25 | |
---|
| 26 | %package devel |
---|
| 27 | Summary: Development libraries and headers for Wslay |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | Development libraries and headers for Wslay. |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q -n %{name}-release-%{version} |
---|
| 36 | autoreconf -i |
---|
| 37 | automake |
---|
| 38 | autoconf |
---|
| 39 | %configure --enable-shared --disable-static |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %__make |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | %makeinstall |
---|
| 47 | %__rm -f %{buildroot}%{_libdir}/*.la |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf $RPM_BUILD_ROOT |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc AUTHORS ChangeLog NEWS README.rst COPYING |
---|
| 56 | %{_libdir}/*.so.* |
---|
| 57 | |
---|
| 58 | %files devel |
---|
| 59 | %defattr(-,root,root,-) |
---|
| 60 | %doc AUTHORS ChangeLog NEWS README.rst COPYING |
---|
| 61 | %doc doc examples |
---|
| 62 | %{_bindir}/* |
---|
| 63 | %{_libdir}/*.so |
---|
| 64 | %{_libdir}/pkgconfig/*.pc |
---|
| 65 | %dir %{_includedir}/%{name} |
---|
| 66 | %{_includedir}/%{name}/*.h |
---|
| 67 | %{_mandir}/man3/*.3* |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[10775] | 70 | * Sat Sep 03 2016 Toshiaki Ara <ara_t@384.jp> 1.0.0-3 |
---|
| 71 | - rebuild with gcc-5.4.0 |
---|
| 72 | |
---|
[9931] | 73 | * Tue Jan 5 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0-2 |
---|
| 74 | - rebuilt with nettle 3.1.1, gnutls 3.4.y |
---|
| 75 | |
---|
[9460] | 76 | * Mon Mar 23 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.0-1 |
---|
| 77 | - Initial build. |
---|