Rev | Line | |
---|
[9459] | 1 | %define ver 1.4.2 |
---|
| 2 | %define rel 1 |
---|
| 3 | |
---|
| 4 | Summary: a multi-platform support library with a focus on asynchronous I/O |
---|
| 5 | Name: libuv |
---|
| 6 | Version: %{ver} |
---|
| 7 | Release: %{rel}%{?_dist_release} |
---|
| 8 | License: Node's license and so on (See LICENSE file) |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: https://github.com/libuv/libuv |
---|
| 11 | Source0: http://libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | Packager: iwaim |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | libuv is a multi-platform support library with a focus on asynchronous I/O. |
---|
| 20 | It was primarily developed for use by Node.js, but it's also used by Luvit, |
---|
| 21 | Julia, pyuv, and others. |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Development libraries and headers for libuv |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version}-%{release} |
---|
| 27 | |
---|
| 28 | %description devel |
---|
| 29 | Development libraries and headers for libuv. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q -n %{name}-v%{version} |
---|
| 33 | ./autogen.sh |
---|
| 34 | %configure |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | %__make |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf $RPM_BUILD_ROOT |
---|
| 41 | %makeinstall |
---|
| 42 | %__rm -f %{buildroot}%{_libdir}/*.{la,a} |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | |
---|
| 47 | %check |
---|
| 48 | make check |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root,-) |
---|
| 52 | %doc LICENSE AUTHORS CONTRIBUTING.md ChangeLog README.md |
---|
| 53 | %{_libdir}/%{name}*.so.* |
---|
| 54 | |
---|
| 55 | %files devel |
---|
| 56 | %defattr(-,root,root,-) |
---|
| 57 | %doc LICENSE AUTHORS CONTRIBUTING.md ChangeLog README.md |
---|
| 58 | %doc img docs samples |
---|
| 59 | %{_libdir}/%{name}*.so |
---|
| 60 | %{_libdir}/pkgconfig/*.pc |
---|
| 61 | %{_includedir}/*.h |
---|
| 62 | |
---|
| 63 | %changelog |
---|
| 64 | * Mon Mar 23 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.4.2-1 |
---|
| 65 | - Initial build. |
---|
Note: See
TracBrowser
for help on using the repository browser.