Tweak the spec file
This removes the obsolete Group tag, and replaces tabs by spaces.
This commit is contained in:
parent
3115ac688c
commit
9bdcea024f
45
libev.spec
45
libev.spec
@ -1,16 +1,15 @@
|
||||
%global source_dir %{_datadir}/%{name}-source
|
||||
%global inst_srcdir %{buildroot}/%{source_dir}
|
||||
|
||||
Name: libev
|
||||
Summary: High-performance event loop/event model with lots of features
|
||||
Version: 4.11
|
||||
Release: 1%{?dist}
|
||||
Group: System Environment/Libraries
|
||||
License: BSD or GPLv2+
|
||||
URL: http://software.schmorp.de/pkg/libev.html
|
||||
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.pc.in
|
||||
BuildRequires: automake libtool
|
||||
Name: libev
|
||||
Summary: High-performance event loop/event model with lots of features
|
||||
Version: 4.11
|
||||
Release: 1%{?dist}
|
||||
License: BSD or GPLv2+
|
||||
URL: http://software.schmorp.de/pkg/libev.html
|
||||
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.pc.in
|
||||
BuildRequires: automake libtool
|
||||
|
||||
%description
|
||||
Libev is modeled (very loosely) after libevent and the Event Perl
|
||||
@ -18,24 +17,24 @@ module, but is faster, scales better and is more correct, and also more
|
||||
featureful. And also smaller.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: High-performance event loop/event model with lots of features
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
%package devel
|
||||
Summary: High-performance event loop/event model with lots of features
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
%description devel
|
||||
This package contains the development headers and libraries for libev.
|
||||
|
||||
|
||||
%package source
|
||||
Summary: High-performance event loop/event model with lots of features
|
||||
Group: System Environment/Libraries
|
||||
%package source
|
||||
Summary: High-performance event loop/event model with lots of features
|
||||
Group: System Environment/Libraries
|
||||
%if 0%{?fedora} >= 12 || 0%{?rhel} > 5
|
||||
BuildArch: noarch
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description source
|
||||
%description source
|
||||
This package contains the source code for libev.
|
||||
|
||||
|
||||
@ -54,9 +53,11 @@ automake
|
||||
%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
|
||||
@ -68,9 +69,11 @@ mkdir -p %{inst_srcdir}
|
||||
find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
|
||||
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README
|
||||
%{_libdir}/%{name}.so.4
|
||||
|
Loading…
Reference in New Issue
Block a user