[kicad/f14] - New upstream version - Update versioning patch - Add Polish documentation - Add Epcos MKT capacito

Alain Portal dionysos at fedoraproject.org
Fri Jul 15 18:37:20 UTC 2011


commit dd5defed91d4573f5699e9e4012222909907efd8
Author: Alain Portal <alain.portal at free.fr>
Date:   Fri Jul 15 20:37:08 2011 +0200

    - New upstream version
    - Update versioning patch
    - Add Polish documentation
    - Add Epcos MKT capacitors library
    - Fix localisation installation path

 .gitignore                            |    4 +
 kicad-2011.01.28-3DViewer-crash.patch |   89 --------
 kicad-2011.01.28-fix-build.patch      |  387 ---------------------------------
 kicad-2011.01.28-real-version.patch   |   17 --
 kicad-2011.07.12-fix-linking.patch    |   10 +
 kicad-2011.07.12-real-version.patch   |   11 +
 kicad.spec                            |   55 ++++-
 sources                               |    7 +-
 8 files changed, 71 insertions(+), 509 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7df9b61..aa6ab4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,7 @@ kicad-libraries-2010.05.27.tar.bz2
 /kicad-2011.01.28.tar.bz2
 /kicad-doc-2011.01.28.tar.bz2
 /kicad-libraries-2011.01.28.tar.bz2
+/kicad-2011.07.12.tar.bz2
+/kicad-doc-2011.07.12.tar.bz2
+/kicad-libraries-2011.07.12.tar.bz2
+/Epcos-MKT-1.0.tar.bz2
diff --git a/kicad-2011.07.12-fix-linking.patch b/kicad-2011.07.12-fix-linking.patch
new file mode 100644
index 0000000..85ad839
--- /dev/null
+++ b/kicad-2011.07.12-fix-linking.patch
@@ -0,0 +1,10 @@
+--- common/CMakeLists.txt.orig	2011-06-17 18:15:55.000000000 +0200
++++ common/CMakeLists.txt	2011-07-12 19:26:20.000000000 +0200
+@@ -67,6 +67,7 @@
+     wxwineda.cpp
+     xnode.cpp
+     zoom.cpp
++    ../pcbnew/class_drc_item.cpp
+ )
+ 
+ add_library(common ${COMMON_SRCS})
diff --git a/kicad-2011.07.12-real-version.patch b/kicad-2011.07.12-real-version.patch
new file mode 100644
index 0000000..ae78c3c
--- /dev/null
+++ b/kicad-2011.07.12-real-version.patch
@@ -0,0 +1,11 @@
+--- common/build_version.cpp.orig	2011-07-12 19:16:32.000000000 +0200
++++ common/build_version.cpp	2011-07-12 19:22:59.000000000 +0200
+@@ -6,7 +6,7 @@
+ #endif
+ 
+ #ifndef KICAD_BUILD_VERSION
+-#define KICAD_BUILD_VERSION "(2011-07-08)"
++#define KICAD_BUILD_VERSION "(2011-07-12 BZR 3047)"
+ #endif
+ 
+ 
diff --git a/kicad.spec b/kicad.spec
index 176b2a6..c1e180d 100644
--- a/kicad.spec
+++ b/kicad.spec
@@ -1,6 +1,6 @@
 Name:           kicad
-Version:        2011.01.28
-Release:        3.rev2765%{?dist}
+Version:        2011.07.12
+Release:        1.rev3047%{?dist}
 Summary:        Electronic schematic diagrams and printed circuit board artwork
 Summary(fr):    Saisie de schéma électronique et routage de circuit imprimé
 
@@ -9,9 +9,9 @@ License:        GPLv2+
 URL:            https://launchpad.net/kicad
 
 # Source files created from upstream's bazaar repository
-# bzr export -r 2765 kicad-2011.01.28
-# bzr export -r 109 kicad-libraries-2011.01.28
-# bzr export -r 163 kicad-doc-2011.01.28
+# bzr export -r 3047 kicad-2011.07.12
+# bzr export -r 109 kicad-libraries-07.12
+# bzr export -r 225 kicad-doc-2011.07.12
 
 Source:         %{name}-%{version}.tar.bz2
 Source1:        %{name}-doc-%{version}.tar.bz2
@@ -20,10 +20,10 @@ Source3:        %{name}-ld.conf
 Source4:        %{name}-2010.05.09.x-kicad-pcbnew.desktop
 Source5:        pcbnew.desktop
 Source6:        %{name}-icons.tar.bz2
+Source7:        Epcos-MKT-1.0.tar.bz2
 
 Patch10:        %{name}-%{version}-real-version.patch
-Patch11:        %{name}-%{version}-fix-build.patch
-Patch12:        %{name}-%{version}-3DViewer-crash.patch
+Patch11:        %{name}-%{version}-fix-linking.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -134,6 +134,19 @@ BuildArch:      noarch
 Documentation and tutorials for Kicad in Italian
 
 
+%package        doc-pl
+Summary:        Documentation for Kicad in Polish
+Summary(fr):    Documentations pour kicad en polonais
+Group:          Documentation
+Requires:       %{name}-doc = %{version}-%{release}
+%if 0%{?fedora} >= 11
+BuildArch:      noarch
+%endif
+
+%description    doc-pl
+Documentation and tutorials for Kicad in Polish
+
+
 %package        doc-pt
 Summary:        Documentation for Kicad in Portuguese
 Summary(fr):    Documentations pour kicad en portugais
@@ -174,11 +187,10 @@ Documentation and tutorials for Kicad in Chinese
 
 
 %prep
-%setup -q -a 1 -a 2 -a 6
+%setup -q -a 1 -a 2 -a 6 -a 7
 
 %patch10 -p0 -b .real-version
-%patch11 -p1 -b .fix-build
-%patch12 -p1 -b .3Dviewer-crash
+%patch11 -p0 -b .fix-linking
 
 #kicad-doc.noarch: W: file-not-utf8 /usr/share/doc/kicad/AUTHORS.txt
 iconv -f iso8859-1 -t utf-8 AUTHORS.txt > AUTHORS.conv && mv -f AUTHORS.conv AUTHORS.txt
@@ -193,11 +205,17 @@ iconv -f iso8859-1 -t utf-8 AUTHORS.txt > AUTHORS.conv && mv -f AUTHORS.conv AUT
 
 %build
 
+# Add Epcos library
+cd Epcos-MKT-1.0
+cp -pR library ../%{name}-libraries-%{version}/
+cp -pR modules ../%{name}-libraries-%{version}/
+cd ..
+
 #
 # Symbols libraries
 #
 pushd %{name}-libraries-%{version}/
-%cmake -DCMAKE_BUILD_TYPE=Release .
+%cmake -DKICAD_STABLE_VERSION=ON
 %{__make} %{?_smp_mflags} VERBOSE=1
 popd
 
@@ -205,7 +223,7 @@ popd
 #
 # Core components
 #
-%cmake -DCMAKE_BUILD_TYPE=Release
+%cmake -DKICAD_STABLE_VERSION=ON
 %{__make} %{?_smp_mflags} VERBOSE=1
 
 
@@ -219,7 +237,7 @@ popd
 cd %{name}-doc-%{version}/internat
 for dir in ca cs de es fr hu it ko nl pl pt ru sl sv zh_CN
 do
-  install -m 644 -D ${dir}/%{name}.mo %{buildroot}%{_datadir}/locale/${dir}/%{name}.mo
+  install -m 644 -D ${dir}/%{name}.mo %{buildroot}%{_datadir}/locale/${dir}/LC_MESSAGES/%{name}.mo
 done
 cd ../..
 
@@ -385,6 +403,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %defattr(-,root,root,-)
 %doc %{_docdir}/%{name}/help/it
 
+%files doc-pl
+%defattr(-,root,root,-)
+%doc %{_docdir}/%{name}/help/pl
+
 %files doc-pt
 %defattr(-,root,root,-)
 %doc %{_docdir}/%{name}/help/pt
@@ -400,6 +422,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Mon Jul 12 2011 Alain Portal <alain.portal[AT]univ-montp2[DOT]fr> 2011.07.12-1.rev3047
+- New upstream version
+- Update versioning patch
+- Add Polish documentation
+- Add Epcos MKT capacitors library
+- Fix localisation installation path
+
 * Mon Apr  4 2011 Alain Portal <alain.portal[AT]univ-montp2[DOT]fr> 2011.01.28-3.rev2765
 - Fix 3D viewer crash (BZ #693008)
 
diff --git a/sources b/sources
index e5200ef..7695346 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,4 @@
-7b8eee890ae6505f6e3fd647885921f4  kicad-2011.01.28.tar.bz2
-68edb60747234183dfdb0d89fea7d908  kicad-doc-2011.01.28.tar.bz2
-6d1821eaf22301dc1f21123415bd3d4d  kicad-libraries-2011.01.28.tar.bz2
+0d189ead83da60ce086cb64594bc4621  kicad-2011.07.12.tar.bz2
+d81bd043824d44188b39bd71f73b2755  kicad-doc-2011.07.12.tar.bz2
+f5016e1e6ad9be8677091c9e3f8867d3  kicad-libraries-2011.07.12.tar.bz2
+4dba5eca85fcec9bba491c1815963f80  Epcos-MKT-1.0.tar.bz2


More information about the scm-commits mailing list