[lxappearance] Update to GIT preview of 0.5.0

Christoph Wickert cwickert at fedoraproject.org
Fri Sep 3 22:13:28 UTC 2010


commit ad343a691e3268b406778d6a5162b5e08112d403
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sat Sep 4 00:13:27 2010 +0200

    Update to GIT preview of 0.5.0

 .gitignore        |    1 +
 lxappearance.spec |   52 +++++++++++++++++++++++++++++++++++++++++-----------
 sources           |    2 +-
 3 files changed, 43 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4101c28..9eb55e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 lxappearance-0.4.0.tar.gz
+/lxappearance-20100903gitf0945814.tar.bz2
diff --git a/lxappearance.spec b/lxappearance.spec
index 1078a00..ee9f906 100644
--- a/lxappearance.spec
+++ b/lxappearance.spec
@@ -1,13 +1,27 @@
+%global git_snapshot 1
+%global git_rev f0945814186b2903c9899e8d91e640e3341fd2b9
+%global git_date 20100903
+
+%if 0%{?git_snapshot}
+%global git_short %(echo %{git_rev} | cut -c-8)
+%global git_version %{git_date}git%{git_short}
+%endif
+
+# Source0 was generated as follows: 
+# git clone git://lxde.git.sourceforge.net/gitroot/lxde/%{name}
+# cd %{name}
+# git archive --format=tar --prefix=%{name}/ %{git_short} | bzip2 > %{name}-%{?git_version}.tar.bz2
+ 
 Name:           lxappearance
-Version:        0.4.0
-Release:        2%{?dist}
+Version:        0.5.0
+Release:        0.1%{?git_snapshot:.%{?git_version}}%{?dist}
 Summary:        Feature-rich GTK+ theme switcher for LXDE
 
 Group:          User Interface/Desktops
 License:        GPLv2+
-URL:            http://lxde.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
-Patch0:         lxappearance-0.4.0-dsofix.patch
+URL:            http://lxde.org/
+#Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+Source0:        %{name}-%{?git_version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel > 2.6, gettext, intltool, desktop-file-utils
@@ -22,13 +36,22 @@ settings will be written to gtkrc, and all running programs will be asked to
 reload their themes.
 
 
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains header files for developing plug-ins 
+for LXAppearance.
+
+
 %prep
-%setup -q
-sed -i 's|Gtk;|GTK;|g' %{name}.desktop
-%patch0 -p1 -b .dsofix
+%setup -q %{?git_snapshot:-n %{name}}
 
 
 %build
+%{?git_snapshot:sh autogen.sh}
 %configure
 make %{?_smp_mflags}
 
@@ -51,14 +74,21 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING
 %{_bindir}/%{name}
-%dir %{_datadir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/install-icon-theme.sh
 %{_datadir}/applications/fedora-%{name}.desktop
 %{_datadir}/%{name}/
-%{_mandir}/man1/%{name}*.1.gz
+#%{_mandir}/man1/%{name}*.1.gz
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/
+%{_libdir}/pkgconfig/%{name}.pc
 
 
 %changelog
+* Fri Sep 04 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.5.0-0.1.20100903gitf0945814
+- Update to GIT preview of 0.5.0
+
 * Wed Feb 17 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.4.0-2
 - Add patch to fix DSO linking (#564754)
 
diff --git a/sources b/sources
index e0cf51d..e9649ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-751426a9c4b6090b9fabb8dde593c50a  lxappearance-0.4.0.tar.gz
+963c0e98f3b567b5fd4cbe3e88689aac  lxappearance-20100903gitf0945814.tar.bz2


More information about the scm-commits mailing list