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}
|
Release: 1%{?dist}
|
||||||
Summary: GObject collection library
|
Summary: GObject collection library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://live.gnome.org/Libgee
|
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
|
Source0: http://download.gnome.org/sources/libgee/0.18/libgee-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
# Bootstrap requirements
|
|
||||||
BuildRequires: autoconf automake libtool
|
|
||||||
BuildRequires: vala >= 0.23.2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libgee is a collection library providing GObject-based interfaces and
|
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
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -69,12 +63,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(if ! test -x configure; then
|
%configure --disable-static
|
||||||
NOCONFIGURE=1 ./autogen.sh;
|
|
||||||
CONFIGFLAGS=--enable-gtk-doc;
|
|
||||||
fi;
|
|
||||||
%configure --disable-static $CONFIGFLAGS
|
|
||||||
)
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -83,7 +72,6 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user