/[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 1159882 by tv, Tue Sep 26 05:49:48 2017 UTC revision 1159883 by tv, Tue Sep 26 06:28:44 2017 UTC
# Line 115  Source94:      https://github.com/KiCad/Varis Line 115  Source94:      https://github.com/KiCad/Varis
115  Source95:       https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz  Source95:       https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz
116  Source96:       https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz  Source96:       https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz
117    
118  Patch1:         kicad-4.0.6-no-strip.patch  Patch1:         kicad-4.0.0-nostrip.patch
119  Patch4:         kicad-4.0.5-boost.patch  Patch4:         kicad-4.0.5-boost.patch
120    
121  BuildRequires:  wxgtk-devel >= 3.0  BuildRequires:  wxgtk-devel >= 3.0
# Line 214  schematic diagrams and printed circuit b Line 214  schematic diagrams and printed circuit b
214  Kicad-library is a set of library needed by kicad.  Kicad-library is a set of library needed by kicad.
215    
216  %prep  %prep
217  %setup -q -a 1 -a 2 -a 3 -c %{name}-%{version}  %setup -q -a 1 -a 2 -a 3
218  %patch1 -p1 -b .strip  %patch1 -p1 -b .strip
219  %patch4 -p1  %patch4 -p1
220    
# Line 222  Kicad-library is a set of library needed Line 222  Kicad-library is a set of library needed
222  export LC_ALL=C  export LC_ALL=C
223    
224  # Building kicad  # Building kicad
 pushd %{name}-%{version}  
225          %cmake \          %cmake \
226                  -DBUILD_SHARED_LIBS:BOOL=OFF \                  -DBUILD_SHARED_LIBS:BOOL=OFF \
227                  -DKICAD_STABLE_VERSION:BOOL=ON \                  -DKICAD_STABLE_VERSION:BOOL=ON \
# Line 236  pushd %{name}-%{version} Line 235  pushd %{name}-%{version}
235                  -DKICAD_SCRIPTING_WXPYTHON=ON \                  -DKICAD_SCRIPTING_WXPYTHON=ON \
236                  -DCPACK_DO_STRIP=OFF                  -DCPACK_DO_STRIP=OFF
237          %make_build          %make_build
 popd  
238    
239  # Building kicad-doc  # Building kicad-doc
240  pushd %{docname}-%{version}  pushd %{docname}-%{version}
# Line 266  pushd %{i18nname}-%{version} Line 264  pushd %{i18nname}-%{version}
264  popd  popd
265    
266  %install  %install
 # Installing kicad-doc  
267  pushd %{docname}-%{version}  pushd %{docname}-%{version}
268    # Installing kicad-doc
269          %make_install -C build          %make_install -C build
270  popd  popd
271    
# Line 293  popd Line 291  popd
291  %find_lang %{name}  %find_lang %{name}
292    
293  # Installing kicad  # Installing kicad
 pushd %{name}-%{version}  
294          %make_install -C build          %make_install -C build
295    
296          # create desktop file          # create desktop file
# Line 302  pushd %{name}-%{version} Line 299  pushd %{name}-%{version}
299                  --add-category='Science;Electronics;Education' \                  --add-category='Science;Electronics;Education' \
300                  --dir=%buildroot%{_datadir}/applications \                  --dir=%buildroot%{_datadir}/applications \
301                  %buildroot%{_datadir}/applications/*.desktop                  %buildroot%{_datadir}/applications/*.desktop
 popd  
302    
303    
304  %files  %files

Legend:
Removed from v.1159882  
changed lines
  Added in v.1159883

  ViewVC Help
Powered by ViewVC 1.1.30