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 source_dir %{_datadir}/%{name}-source
|
||||||
%global inst_srcdir %{buildroot}/%{source_dir}
|
%global inst_srcdir %{buildroot}/%{source_dir}
|
||||||
|
|
||||||
Name: libev
|
Name: libev
|
||||||
Summary: High-performance event loop/event model with lots of features
|
Summary: High-performance event loop/event model with lots of features
|
||||||
Version: 4.11
|
Version: 4.11
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: System Environment/Libraries
|
License: BSD or GPLv2+
|
||||||
License: BSD or GPLv2+
|
URL: http://software.schmorp.de/pkg/libev.html
|
||||||
URL: http://software.schmorp.de/pkg/libev.html
|
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
||||||
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
Source1: %{name}.pc.in
|
||||||
Source1: %{name}.pc.in
|
BuildRequires: automake libtool
|
||||||
BuildRequires: automake libtool
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libev is modeled (very loosely) after libevent and the Event Perl
|
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.
|
featureful. And also smaller.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: High-performance event loop/event model with lots of features
|
Summary: High-performance event loop/event model with lots of features
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the development headers and libraries for libev.
|
This package contains the development headers and libraries for libev.
|
||||||
|
|
||||||
|
|
||||||
%package source
|
%package source
|
||||||
Summary: High-performance event loop/event model with lots of features
|
Summary: High-performance event loop/event model with lots of features
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
%if 0%{?fedora} >= 12 || 0%{?rhel} > 5
|
%if 0%{?fedora} >= 12 || 0%{?rhel} > 5
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description source
|
%description source
|
||||||
This package contains the source code for libev.
|
This package contains the source code for libev.
|
||||||
|
|
||||||
|
|
||||||
@ -54,9 +53,11 @@ automake
|
|||||||
%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
|
%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
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 -)
|
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}
|
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
%{_libdir}/%{name}.so.4
|
%{_libdir}/%{name}.so.4
|
||||||
|
Loading…
Reference in New Issue
Block a user