Simplify spec file
This commit is contained in:
parent
0c0ad23dae
commit
7f65b5ddea
14
libgee.spec
14
libgee.spec
@ -3,17 +3,12 @@ Version: 0.18.1
|
||||
Release: 1%{?dist}
|
||||
Summary: GObject collection library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://live.gnome.org/Libgee
|
||||
#VCS: git:git://git.gnome.org/libgee
|
||||
Source0: http://download.gnome.org/sources/libgee/0.18/libgee-%{version}.tar.xz
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
# Bootstrap requirements
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: vala >= 0.23.2
|
||||
|
||||
%description
|
||||
libgee is a collection library providing GObject-based interfaces and
|
||||
@ -56,7 +51,6 @@ library. It's planned to provide bindings for further languages.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
@ -69,12 +63,7 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%build
|
||||
(if ! test -x configure; then
|
||||
NOCONFIGURE=1 ./autogen.sh;
|
||||
CONFIGFLAGS=--enable-gtk-doc;
|
||||
fi;
|
||||
%configure --disable-static $CONFIGFLAGS
|
||||
)
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -83,7 +72,6 @@ make check
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user