Line | |
---|
1 | %define ver 1.0.0 |
---|
2 | %define rel 1 |
---|
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 |
---|
70 | * Mon Mar 23 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.0-1 |
---|
71 | - Initial build. |
---|
Note: See
TracBrowser
for help on using the repository browser.