/[packages]/backports/8/kicad/current/SPECS/kicad.spec
ViewVC logotype

Diff of /backports/8/kicad/current/SPECS/kicad.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 908586 by ycantin, Sun Dec 6 14:30:43 2015 UTC revision 912497 by ycantin, Sun Dec 20 10:53:55 2015 UTC
# Line 1  Line 1 
1  %define Werror_cflags   %nil  %define Werror_cflags   %nil
2    
3  %define docname kicad-doc  %define docname kicad-doc
 %define docversion 4.0.0  
   
4  %define libname kicad-library  %define libname kicad-library
 %define libversion 4.0.0  
   
5  %define i18nname kicad-i18n  %define i18nname kicad-i18n
 %define i18nversion 4.0.0  
6    
7    
8  Name:           kicad  Name:           kicad
9  Summary:        An open source program for the creation of electronic schematic diagrams  Summary:        An open source program for the creation of electronic schematic diagrams
10  Epoch:          1  Epoch:          1
11  Version:        4.0.0  Version:        4.0.1
12  Release:        %mkrel 1  Release:        %mkrel 1
13  Source0:        https://launchpad.net/%{name}/4.0/%{version}/+download/%{name}-%{version}.tar.xz  Source0:        https://launchpad.net/%{name}/4.0/%{version}/+download/%{name}-%{version}.tar.xz
14  Source1:        https://github.com/KiCad/kicad-doc/archive/%{docversion}.tar.gz#/%{docname}-%{docversion}.tar.gz  Source1:        https://github.com/KiCad/%{docname}/archive/%{version}.tar.gz#/%{docname}-%{version}.tar.gz
15  Source2:        https://github.com/KiCad/kicad-library/archive/%{libversion}.tar.gz#/%{libname}-%{libversion}.tar.gz  Source2:        https://github.com/KiCad/%{libname}/archive/%{version}.tar.gz#/%{libname}-%{version}.tar.gz
16  Source3:        https://github.com/KiCad/kicad-i18n/archive/%{i18nversion}.tar.gz#/%{i18nname}-%{i18nversion}.tar.gz  Source3:        https://github.com/KiCad/%{i18nname}/archive/%{version}.tar.gz#/%{i18nname}-%{version}.tar.gz
17  Source4:        eeschema.svg  Source4:        eeschema.svg
18  License:        GPLv3+  License:        GPLv3+
19  Group:          Sciences/Computer science  Group:          Sciences/Computer science
20  Url:            http://www.lis.inpg.fr/realise_au_lis/kicad/  Url:            http://kicad-pcb.org/
21  BuildRequires:  wxgtk-devel >= 3.0  BuildRequires:  wxgtk-devel >= 3.0
22  BuildRequires:  mesa-common-devel  BuildRequires:  mesa-common-devel
23  BuildRequires:  imagemagick  BuildRequires:  imagemagick
# Line 63  Kicad is a set of four programs and a pr Line 58  Kicad is a set of four programs and a pr
58    
59  %package doc  %package doc
60  Summary:        Documentation for kicad (creation of electronic schematic diagrams)  Summary:        Documentation for kicad (creation of electronic schematic diagrams)
 Version:        %{docversion}  
 Release:        %{release}  
61  Requires:       %{name}  Requires:       %{name}
62  BuildArch:      noarch  BuildArch:      noarch
63    
# Line 76  Kicad-doc is the documentation for kicad Line 69  Kicad-doc is the documentation for kicad
69    
70  %package i18n  %package i18n
71  Summary:        Kicad locales  Summary:        Kicad locales
 Version:        %{i18nversion}  
 Release:        %{release}  
72  Requires:       %{name}  Requires:       %{name}
73  BuildArch:      noarch  BuildArch:      noarch
74    
# Line 110  Kicad-i18n provides locales for kicad. Line 101  Kicad-i18n provides locales for kicad.
101    
102  %package library  %package library
103  Summary:        Library for kicad (creation of electronic schematic diagrams)  Summary:        Library for kicad (creation of electronic schematic diagrams)
 Version:        %{libversion}  
 Release:        %{release}  
104  License:        LGPLv2  License:        LGPLv2
105  Requires:       %{name}  Requires:       %{name}
106  BuildArch:      noarch  BuildArch:      noarch
# Line 124  Kicad-library is a set of library needed Line 113  Kicad-library is a set of library needed
113    
114  %prep  %prep
115  %setup -q -T -b 0 -n %{name}-%{version}  %setup -q -T -b 0 -n %{name}-%{version}
116  %setup -q -T -b 1 -n %{docname}-%{docversion}  %setup -q -T -b 1 -n %{docname}-%{version}
117  %setup -q -T -b 2 -n %{libname}-%{libversion}  %setup -q -T -b 2 -n %{libname}-%{version}
118  %setup -q -T -b 3 -n %{i18nname}-%{i18nversion}  %setup -q -T -b 3 -n %{i18nname}-%{version}
119  cd ..  cd ..
120    
121  %build  %build
# Line 150  pushd %{name}-%{version} Line 139  pushd %{name}-%{version}
139  popd  popd
140    
141  # Building kicad-doc  # Building kicad-doc
142  pushd %{docname}-%{docversion}  pushd %{docname}-%{version}
143          %cmake \          %cmake \
144                  -DKICAD_STABLE_VERSION:BOOL=ON \                  -DKICAD_STABLE_VERSION:BOOL=ON \
145                  -DCMAKE_BUILD_TYPE=Release \                  -DCMAKE_BUILD_TYPE=Release \
# Line 159  pushd %{docname}-%{docversion} Line 148  pushd %{docname}-%{docversion}
148  popd  popd
149    
150  # Building kicad-library  # Building kicad-library
151  pushd %{libname}-%{libversion}  pushd %{libname}-%{version}
152          %cmake \          %cmake \
153                  -DKICAD_STABLE_VERSION:BOOL=ON \                  -DKICAD_STABLE_VERSION:BOOL=ON \
154                  -DCMAKE_BUILD_TYPE=Release                  -DCMAKE_BUILD_TYPE=Release
# Line 167  pushd %{libname}-%{libversion} Line 156  pushd %{libname}-%{libversion}
156  popd  popd
157    
158  # Building kicad-i18n  # Building kicad-i18n
159  pushd %{i18nname}-%{i18nversion}  pushd %{i18nname}-%{version}
160          %cmake \          %cmake \
161                  -DKICAD_STABLE_VERSION:BOOL=ON \                  -DKICAD_STABLE_VERSION:BOOL=ON \
162                  -DCMAKE_BUILD_TYPE=Release \                  -DCMAKE_BUILD_TYPE=Release \
# Line 179  popd Line 168  popd
168  cd ../  cd ../
169    
170  # Installing kicad-doc  # Installing kicad-doc
171  pushd %{docname}-%{docversion}  pushd %{docname}-%{version}
172          make -C build DESTDIR=%buildroot install          make -C build DESTDIR=%buildroot install
173  popd  popd
174    
175  # Installing kicad-library  # Installing kicad-library
176  pushd %{libname}-%{libversion}  pushd %{libname}-%{version}
177          make -C build DESTDIR=%buildroot install          make -C build DESTDIR=%buildroot install
178  popd  popd
179    
180  # Installing kicad-i18n  # Installing kicad-i18n
181  pushd %{i18nname}-%{libversion}  pushd %{i18nname}-%{version}
182          make -C build DESTDIR=%buildroot install          make -C build DESTDIR=%buildroot install
183          %find_lang %{name}          %find_lang %{name}
184  popd  popd

Legend:
Removed from v.908586  
changed lines
  Added in v.912497

  ViewVC Help
Powered by ViewVC 1.1.30