Accepting request 514043 from home:scarabeus_iv:branches:server:http
- Version update to latest release 4.24: * bump version to 4.24, as the release tarball inexplicably didn't have the right version in ev.h, even though the cvs-tagged version did have the right one (reported by Ales Teska). - Version update to release 4.23: * move some declarations at the beginning to help certain retarded microsoft compilers, even though their documentation claims otherwise (reported by Ruslan Osmanov). - Run over with spec-cleaner and remove empty comment lines - Remove mandriva condition OBS-URL: https://build.opensuse.org/request/show/514043 OBS-URL: https://build.opensuse.org/package/show/server:http/libev?expand=0&rev=25
This commit is contained in:
parent
0aab38a650
commit
99eaf93a2d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:736079e8ac543c74d59af73f9c52737b3bfec9601f020bf25a87a4f4d0f01bd6
|
|
||||||
size 531533
|
|
3
libev-4.24.tar.gz
Normal file
3
libev-4.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:973593d3479abdf657674a55afe5f78624b0e440614e2b8cb3a07f16d4d7f821
|
||||||
|
size 524264
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 17 08:52:41 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version update to latest release 4.24:
|
||||||
|
* bump version to 4.24, as the release tarball inexplicably
|
||||||
|
didn't have the right version in ev.h, even though the cvs-tagged
|
||||||
|
version did have the right one (reported by Ales Teska).
|
||||||
|
- Version update to release 4.23:
|
||||||
|
* move some declarations at the beginning to help certain retarded
|
||||||
|
microsoft compilers, even though their documentation claims
|
||||||
|
otherwise (reported by Ruslan Osmanov).
|
||||||
|
- Run over with spec-cleaner and remove empty comment lines
|
||||||
|
- Remove mandriva condition
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 24 14:46:12 UTC 2015 - mpluskal@suse.com
|
Thu Dec 24 14:46:12 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
27
libev.spec
27
libev.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libev
|
# spec file for package libev
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,39 +16,27 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?mandriva_version:1}
|
%define library_name libev4
|
||||||
%define __libtoolize /bin/true
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libev
|
Name: libev
|
||||||
Version: 4.22
|
Version: 4.24
|
||||||
Release: 0
|
Release: 0
|
||||||
#
|
|
||||||
Summary: A full-featured and high-performance event loop library
|
Summary: A full-featured and high-performance event loop library
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
#
|
|
||||||
Url: http://software.schmorp.de/pkg/libev.html
|
Url: http://software.schmorp.de/pkg/libev.html
|
||||||
Source: http://dist.schmorp.de/%{name}/%{name}-%{version}.tar.gz
|
Source: http://dist.schmorp.de/%{name}/%{name}-%{version}.tar.gz
|
||||||
# Upstream has received patches to add pkg-config support for years but it always ignored them (yes, no answer at all). But since every distribution creates it we just follow.
|
# Upstream has received patches to add pkg-config support for years but it always ignored them (yes, no answer at all). But since every distribution creates it we just follow.
|
||||||
Source1: libev.pc
|
Source1: libev.pc
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
|
||||||
Patch0: libev-4.15_compiler_warnings.patch
|
Patch0: libev-4.15_compiler_warnings.patch
|
||||||
#
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
#
|
|
||||||
#
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A full-featured and high-performance event loop that is loosely modelled after
|
A full-featured and high-performance event loop that is loosely modelled after
|
||||||
libevent, but without its limitations and bugs. It is used, among others, in
|
libevent, but without its limitations and bugs. It is used, among others, in
|
||||||
the GNU Virtual Private Ethernet and rxvt-unicode packages.
|
the GNU Virtual Private Ethernet and rxvt-unicode packages.
|
||||||
|
|
||||||
%define library_name libev4
|
|
||||||
%package -n %{library_name}
|
%package -n %{library_name}
|
||||||
#
|
|
||||||
Summary: A full-featured and high-performance event loop library
|
Summary: A full-featured and high-performance event loop library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
@ -60,7 +48,6 @@ the GNU Virtual Private Ethernet and rxvt-unicode packages.
|
|||||||
This package holds the shared libraries of libev.
|
This package holds the shared libraries of libev.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
#
|
|
||||||
Summary: Development files for libev
|
Summary: Development files for libev
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{library_name} = %{version}
|
Requires: %{library_name} = %{version}
|
||||||
@ -80,7 +67,6 @@ sed -i 's;@lib_suffix@;%{_lib};' %{SOURCE1}
|
|||||||
sed -i 's;@VERSION@;%{version};' %{SOURCE1}
|
sed -i 's;@VERSION@;%{version};' %{SOURCE1}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
orig_CFLAGS=1; export orig_CFLAGS
|
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused"
|
CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused"
|
||||||
%configure \
|
%configure \
|
||||||
--docdir=%{_docdir} \
|
--docdir=%{_docdir} \
|
||||||
@ -88,21 +74,19 @@ CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
|
%make_install
|
||||||
|
|
||||||
rm -v %{buildroot}%{_libdir}/libev.la
|
rm -v %{buildroot}%{_libdir}/libev.la
|
||||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||||
cp %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/libev.pc
|
cp %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/libev.pc
|
||||||
|
|
||||||
%post -n %{library_name} -p /sbin/ldconfig
|
%post -n %{library_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{library_name} -p /sbin/ldconfig
|
%postun -n %{library_name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE README ev.pod Changes
|
%doc LICENSE README ev.pod Changes
|
||||||
%{_includedir}/ev++.h
|
%{_includedir}/ev++.h
|
||||||
%{_includedir}/ev.h
|
%{_includedir}/ev.h
|
||||||
@ -112,7 +96,6 @@ cp %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/libev.pc
|
|||||||
%{_libdir}/pkgconfig/libev.pc
|
%{_libdir}/pkgconfig/libev.pc
|
||||||
|
|
||||||
%files -n %{library_name}
|
%files -n %{library_name}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libev.so.4*
|
%{_libdir}/libev.so.4*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user