[lxappearance-obconf] Update to 0.1.1 (Note that upstream's 0.0.1 tarball is actually 0.1.1 in VCS)

Christoph Wickert cwickert at fedoraproject.org
Sun Aug 28 19:54:59 UTC 2011


commit 93fdaf5d4956d7d61d5cbd71c0cf8bb1f9c74490
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Aug 28 21:54:38 2011 +0200

    Update to 0.1.1 (Note that upstream's 0.0.1 tarball is actually 0.1.1 in VCS)

 .gitignore               |    1 +
 lxappearance-obconf.spec |   27 +++++++++++++++------------
 sources                  |    2 +-
 3 files changed, 17 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0876be8..d7f5ace 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /lxappearance-obconf-20110714git3a0fd02d.tar.bz2
+/lxappearance-obconf-0.0.1.tar.gz
diff --git a/lxappearance-obconf.spec b/lxappearance-obconf.spec
index bbb928a..3a869b8 100644
--- a/lxappearance-obconf.spec
+++ b/lxappearance-obconf.spec
@@ -1,6 +1,6 @@
 # Review at https://bugzilla.redhat.com/show_bug.cgi?id=630184
 
-%global git_snapshot 1
+%global git_snapshot 0
 %global git_rev 3a0fd02db2b3a673fa96f1383fb6a0d312e338ea
 %global git_date 20110714
 
@@ -15,17 +15,19 @@
 # git archive --format=tar --prefix=lxappearance-obconf/ %{git_short} | bzip2 > lxappearance-obconf-%{?git_version}.tar.bz2
 
 Name:           lxappearance-obconf
-Version:        0.1.0
-Release:        0.1%{?git_snapshot:.%{?git_version}}%{?dist}
+Version:        0.1.1
+Release:        0.1%{?git_version:.%{?git_version}}%{?dist}
 Summary:        Plugin to configure Openbox inside LXAppearance
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://lxde.org/
-%if 0%{?git_snapshot}
+#VCS: git:git://lxde.git.sourceforge.net/gitroot/lxde/lxappearance-obconf
+%if 0%{?git_version}
 Source0:        %{name}-%{?git_version}.tar.bz2
 %else
-Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+#Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-0.0.1.tar.gz
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -44,13 +46,11 @@ This plugin adds an additional tab called "Window Border" to LXAppearance.
 It is only visible when the plugin is installed and Openbox is in use.
 
 %prep
-%setup -q %{?git_snapshot:-n %{name}}
-# dirty hack for outdated/changing LINGUAS file
-cd po
-ls *.po | sed 's/.po//g' | sort > LINGUAS
+%setup -q -n %{name}-0.0.1
+
 
 %build
-%{?git_snapshot:sh autogen.sh}
+%{?git_version:sh autogen.sh}
 %configure --disable-static
 make %{?_smp_mflags}
 
@@ -58,7 +58,7 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/lxappearance/plugins/obconf.la
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %find_lang %{name}
 
 
@@ -68,13 +68,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-# FIXME add NEWS and TODO
+# FIXME add NEWS and TODO if not empty
 %doc AUTHORS CHANGELOG COPYING README
 %{_libdir}/lxappearance/plugins/obconf.so
 %{_datadir}/lxappearance/obconf/
 
 
 %changelog
+* Sun Aug 28 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.1
+- Update to 0.1.1 (Note that upstream's 0.0.1 tarball is actually 0.1.1 in VCS)
+
 * Wed Jul 14 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.0-0.1.20110714git3a0fd02d
 - Update to latest GIT snapshot
 
diff --git a/sources b/sources
index 665eeea..41d1540 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9fe7d35e662b8993d5f2f50947ee9d1a  lxappearance-obconf-20110714git3a0fd02d.tar.bz2
+7c6381bc1ff60e23ef7f31d5e70a1803  lxappearance-obconf-0.0.1.tar.gz


More information about the scm-commits mailing list