[rep-gtk] improved specfile; add --nocfg flag to autogen.sh
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rep-gtk] improved specfile; add --nocfg flag to autogen.sh
- Date: Sat, 2 Jan 2010 10:25:40 +0000 (UTC)
commit 9155613421444c35fda0f314c7101132851c8a07
Author: Christopher Roy Bratusek <chris nanolx org>
Date: Sat Jan 2 11:25:24 2010 +0100
improved specfile; add --nocfg flag to autogen.sh
ChangeLog | 4 ++++
autogen.sh | 4 +++-
rep-gtk.spec.in | 4 +++-
3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b89bf4f..d84d6a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,10 @@
* configure.in: bumped minimum librep to 0.90.5
+ * autogen.sh: added --nocfg flag for not running configure afterwards
+
+ * rep-gtk.spec.in: improved [Kim B. Heino]
+
2009-12-29 Christopher Bratusek <zanghar freenet de>
* configure.in
* debian/control.in: autogenerate debian/control
diff --git a/autogen.sh b/autogen.sh
index 3d7597b..e015595 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -32,4 +32,6 @@ if [ -f configure.in ]; then
autoconf $AUTOCONF_FLAGS || exit 1
fi
-./configure "$@"
+if [ "${1}" != "--nocfg" ]; then
+ ./configure "$@"
+fi
diff --git a/rep-gtk.spec.in b/rep-gtk.spec.in
index 200099b..4b4f392 100644
--- a/rep-gtk.spec.in
+++ b/rep-gtk.spec.in
@@ -20,7 +20,8 @@ to 0.17), with a new glue-code generator.
%setup -q
%build
-./autogen.sh --prefix=/usr --libdir=%{_libdir}
+./autogen.sh --nocfg
+%configure
make %{?_smp_mflags}
%install
@@ -39,6 +40,7 @@ rm -rf $RPM_BUILD_ROOT
%doc README* examples/ TODO NEWS HACKING AUTHORS BUGS ChangeLog gtk.defs gdk.defs
%{_libdir}/rep/%{_host}/gui
%{_libdir}/pkgconfig/rep-gtk.pc
+%{_includedir}/rep-gtk/
%changelog
* Sat Sep 05 2009 Kim B. Heino <b bbbs net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]