[qelectrotech] update to 0.4

Remi Collet remi at fedoraproject.org
Fri Feb 20 16:13:22 UTC 2015


commit 5f479edc30d68b2be9b17ec80cd892496354c930
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Feb 20 17:13:15 2015 +0100

    update to 0.4

 .gitignore        |  1 +
 qelectrotech.spec | 40 ++++++++++++++++++++++------------------
 sources           |  2 +-
 3 files changed, 24 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3f4ba47..3243328 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ qelectrotech-0.22-src.tar.gz
 /qelectrotech-0.3b-src.tar.gz
 /qelectrotech-0.3rc-src.tar.gz
 /qelectrotech-0.3-src.tar.gz
+/qelectrotech-0.4-src.tar.gz
diff --git a/qelectrotech.spec b/qelectrotech.spec
index 21c64ea..e0dd4f0 100644
--- a/qelectrotech.spec
+++ b/qelectrotech.spec
@@ -1,6 +1,13 @@
-#global svnrel 2287
-%global rdate  20130928
-%global upver  0.3
+# spec file for qelectrotech
+#
+# Copyright (c) 2009-2015 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/4.0/
+#
+# Please, preserve the changelog entries
+#
+%global rdate  20150220
+%global upver  0.4
 
 Name:        qelectrotech
 
@@ -21,8 +28,8 @@ Summary(ru): Редактор электрических схем
 # Upstream version is a float so 0.11 < 0.2 < 0.21 < 0.3
 # So use %.2f with upstream acknowledgment
 # Remember to check rdate and upver macro on each update
-Version:     0.30
-Release:     4%{?dist}
+Version:     0.40
+Release:     1%{?dist}
 
 Group:       Applications/Engineering
 
@@ -30,16 +37,10 @@ Group:       Applications/Engineering
 License:    GPLv2+
 
 Url:        http://qelectrotech.org/
-%if 0%{?svnrel}
-# svn export -r 2287 svn://svn.tuxfamily.org/svnroot/qet/qet/trunk qelectrotech-0.3a-svn2287
-# tar czf qelectrotech-0.3a-svn2287.tgz qelectrotech-0.3a-svn2287
-Source0:    qelectrotech-%{upver}-svn%{?svnrel}.tgz
-%else
 Source0:    http://download.tuxfamily.org/qet/tags/%{rdate}/qelectrotech-%{upver}-src.tar.gz
-%endif
 
 BuildRequires:    desktop-file-utils
-BuildRequires:    qt4-devel >= 4.6.0
+BuildRequires:    qt4-devel >= 4.8
 Requires:         qelectrotech-symbols = %{version}-%{release}
 Requires:         electronics-menu
 
@@ -135,11 +136,7 @@ Colecção de elementos para QElectroTech.
 
 
 %prep
-%if 0%{?svnrel}
-%setup -q -n %{name}-%{upver}-svn%{svnrel}
-%else
 %setup -q -n %{name}-%{upver}-src
-%endif
 
 sed -e s,/usr/local/,%{_prefix}/, \
     -e /QET_MAN_PATH/s,'man/','share/man', \
@@ -197,8 +194,11 @@ fi
 /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 
 
+%{!?_licensedir:%global license %%doc}
+
 %files -f %{name}.lang
-%doc CREDIT LICENSE examples
+%doc CREDIT examples
+%license LICENSE
 %{_bindir}/%{name}
 %if 0%{?fedora} < 20
 %exclude %{_datadir}/appdata/%{name}.appdata.xml
@@ -216,12 +216,16 @@ fi
 
 
 %files symbols
-%doc ELEMENTS.LICENSE
+%license ELEMENTS.LICENSE
 %{_datadir}/%{name}/elements
 %{_datadir}/%{name}/titleblocks
 
 
 %changelog
+* Fri Feb 20 2015 Remi Collet <remi at fedoraproject.org> - 0.40-1
+- Version 0.4 finale
+- fix license handling
+
 * Mon Aug 18 2014 Rex Dieter <rdieter at fedoraproject.org> 0.30-4
 - update mime scriptlets, drop extraneous scriptlet deps
 
diff --git a/sources b/sources
index 46f37fe..a9b84e9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4a7b9b01dcde4b7fcb814ec621d037ad  qelectrotech-0.3-src.tar.gz
+3699e5718e0adc361511513c9f1f7ea1  qelectrotech-0.4-src.tar.gz


More information about the scm-commits mailing list