[vdr-skinnopacity/f20] rebuild for new git release

Martin Gansser martinkg at fedoraproject.org
Sun May 11 09:57:38 UTC 2014


commit cd392d3496fbb32c771284374413d5f62e477f4d
Author: Martin Gansser <mgansser at alice.de>
Date:   Sun May 11 11:58:03 2014 +0200

    rebuild for new git release
    
    - added CXXFLAGS and -fPIC build flag

 vdr-skinnopacity.spec |   24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/vdr-skinnopacity.spec b/vdr-skinnopacity.spec
index 8357300..1a0bbce 100644
--- a/vdr-skinnopacity.spec
+++ b/vdr-skinnopacity.spec
@@ -1,12 +1,19 @@
+%global commit  cd33c3dfe2a9d65cf1711f6422d100920f7b5f15
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20140427
+
 Name:           vdr-skinnopacity
-Version:        1.1.1
-Release:        1%{?dist}
+Version:        1.1.2
+Release:        1.%{gitdate}git%{shortcommit}%{?dist}
 Summary:        A highly customizable native true color skin for the Video Disc Recorder
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://projects.vdr-developer.org/projects/skin-nopacity
-Source0:        http://projects.vdr-developer.org/attachments/download/1626/vdr-skinnopacity-%{version}.tgz
+# how to get the tarball
+# go to http://projects.vdr-developer.org/git/skin-nopacity.git/commit/
+# click the link behind commit, then select the download links below.
+Source0:        http://projects.vdr-developer.org/git/skin-nopacity.git/snapshot/skin-nopacity-%{commit}.tar.bz2
 # informed upstream to put copyright and licensing details in source files
 # http://projects.vdr-developer.org/issues/1679
 # Configuration files for plugin parameters. These are Fedora specific and not in upstream.
@@ -31,11 +38,11 @@ Requires:      %{name} = %{version}-%{release}
 This package contains icons files.
  
 %prep
-%setup -qn skinnopacity-%{version}
+%setup -qn skin-nopacity-%{commit}
 iconv -f iso-8859-1 -t utf-8 README > README.utf8 ; mv README.utf8 README
 
 %build
-make CFLAGS="%{optflags}" IMAGELIB=graphicsmagick %{?_smp_mflags} all
+make CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" IMAGELIB=graphicsmagick %{?_smp_mflags} all
 
 %install
 # make install would install the themes under /etc, let's not use that
@@ -64,6 +71,10 @@ install -Dpm 644 %{SOURCE1} \
 %{vdr_resdir}/plugins/skinnopacity/icons/
 
 %changelog
+* Sun May 11 2014 Martin Gansser <martinkg at fedoraproject.org> - 1.1.2-1.20140427gitcd33c3d
+- rebuild for new git release
+- added CXXFLAGS and -fPIC build flag
+
 * Wed Apr 16 2014 Martin Gansser <martinkg at fedoraproject.org> - 1.1.1-1
 - Update to new upstream release 1.1.1
 
@@ -76,6 +87,9 @@ install -Dpm 644 %{SOURCE1} \
 - spec file cleanup
 - changed to %%{buildroot} macro
 
+* Mon Jan 20 2014 Martin Gansser <martinkg at fedoraproject.org> - 1.0.3-8.20131221git0b29805
+- changed to %%{buildroot} macro
+
 * Mon Jan 20 2014 Martin Gansser <martinkg at fedoraproject.org> - 1.0.3-7.20131221git0b29805
 - removed requirement ImageMagick-c++-devel
 - added requirement GraphicsMagick-c++-devel


More information about the scm-commits mailing list