[gdesklets-citation/f16] Update to new release 2.0

MERCIER Jonathan bioinfornatics at fedoraproject.org
Mon Jul 2 17:01:24 UTC 2012


commit d2c67ba4eca3ea55cfde91193f0dce095a9b8f44
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date:   Mon Jul 2 18:42:32 2012 +0200

    Update to new release 2.0

 .gitignore              |    1 +
 gdesklets-citation.spec |   69 ++++++++++++++++++++++++++--------------------
 sources                 |    2 +-
 3 files changed, 41 insertions(+), 31 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b667b99..19dbf9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 gdesklets-citation-1.5.tar.gz
+/gdesklets-citation-20120702git355e2ee.xz
diff --git a/gdesklets-citation.spec b/gdesklets-citation.spec
index ab846f4..ca204b4 100644
--- a/gdesklets-citation.spec
+++ b/gdesklets-citation.spec
@@ -1,49 +1,58 @@
-Name:		gdesklets-citation
-Version:	1.5
-Release:	11%{?dist}
-Summary:	Display quote
-Group:		User Interface/Desktops
-License:	GPLv3+
-URL:		http://www.gdesklets.de
-Source0:	http://downloads.sourceforge.net/gdesklets/%{name}-%{version}.tar.gz
 
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
+%global     snapdate        20120702
+%global     rev             355e2ee
+%global     alphatag        %{snapdate}git%{rev}
 
-BuildRequires:	python
+# The source for this package was pulled from upstream's git.
+# Use the following commands to generate the tarball:
+# git clone https://github.com/bioinfornatics/gdesklets-citation.git
+# cd gdesklets-citation; git rev-parse --short HEAD            -> for rev
+# git archive --prefix=gdesklets-citation-%%{alphatag}/ HEAD | xz > ../gdesklets-citation-%%{alphatag}.xz
 
-Requires:	gdesklets
+Name:           gdesklets-citation
+Version:        2.0
+Release:        1.%{alphatag}%{?dist}
+Summary:        Display quote
+License:        GPLv3+
+URL:            http://www.gdesklets.de
+Source0:        %{name}-%{alphatag}.xz
 
-%description
-Display quote in french
-
-%prep
-%setup -q -n %{name}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
 
-%build
+BuildRequires:  python
 
+Requires:       gdesklets
 
-%install
-rm -rf $RPM_BUILD_ROOT
+%description
+Display quote in french periodically from your wallpaper
 
-#install the display now
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Displays/%{name}/
-cp -rp ./* $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Displays/%{name}/.
-rm $RPM_BUILD_ROOT/%{_datadir}/gdesklets/Displays/%{name}/COPYING
+%description -l fr
+Affiche des citations en français de puis le fond écran
 
+%prep
+%setup -q -n %{name}-%{alphatag}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%build
 
+%install
+mkdir -p %{buildroot}/%{_datadir}/gdesklets/Displays/%{name}/bg
+cp      -rp    bg               %{buildroot}/%{_datadir}/gdesklets/Displays/%{name}/
+install -m0644 citation.display %{buildroot}/%{_datadir}/gdesklets/Displays/%{name}/
+install -m0644 citation.py      %{buildroot}/%{_datadir}/gdesklets/Displays/%{name}/
+install -m0644 citation.png     %{buildroot}/%{_datadir}/gdesklets/Displays/%{name}/
 
 %files
-%defattr(-,root,root,-)
 %doc COPYING
-%dir %{_datadir}/gdesklets/Displays/%{name}/
-%{_datadir}/gdesklets/Displays/%{name}/*
-
+%{_datadir}/gdesklets/Displays/%{name}
 
 %changelog
+* Mon Jul 02 2012  Jonathan MERCIER <bioinfornatics at gmail.com> - 2.0-1.20120702git355e2ee
+- update to release 2.0
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 6f2b98e..aad35e5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6bdd0ccdc8a91a44b70f541af84355aa  gdesklets-citation-1.5.tar.gz
+818597b754d8a19cadea306f134904b1  gdesklets-citation-20120702git355e2ee.xz


More information about the scm-commits mailing list