]> git.pld-linux.org Git - packages/kicad.git/blame - kicad.spec
- started update to 4.0.6 based on fedora
[packages/kicad.git] / kicad.spec
CommitLineData
74131d84
AM
1# TODO:
2# - fix mimelnk installation
3#
4b5aca64 4Summary: KiCad - is a GPL'd suite of programs for EDA
34a5277b 5Summary(pl.UTF-8): KiCad - zestaw programów na licencji GPL zaliczany do kategorii EDA
4b5aca64 6Name: kicad
c4549a7b
JR
7Version: 4.0.6
8Release: 0.1
22291059 9License: GPL v2+
34a5277b 10Group: X11/Applications
c4549a7b
JR
11Source0: https://launchpad.net/kicad/4.0/%{version}/+download/%{name}-%{version}.tar.xz
12# Source0-md5: 24eca1f22bbb0a88acbba321a4b1c4aa
13Source1: https://github.com/KiCad/kicad-doc/archive/%{version}/%{name}-doc-%{version}.tar.gz
14# Source1-md5: f68105a04132fc8a4412d75ffe0d0b16
15Source2: https://github.com/KiCad/kicad-library/archive/%{version}/%{name}-library-%{version}.tar.gz
16# Source2-md5: 325ca078191584cd063835e01ecabd67
17Source3: https://github.com/KiCad/kicad-i18n/archive/%{version}/%{name}-i18n-%{version}.tar.gz
18# Source3-md5: 6680338a8b23e7d651bb30cbba04e2b3
19# perl -ne 'BEGIN {$s=4} /uri \$\{KIGITHUB}\/([^)]*)/ and printf "%-16shttps://github.com/KiCad/$1/archive/%{version}/$1-%{version}.tar.gz#/$1-%{version}.tar.gz\n", "Source".$s++.":"' \
20# kicad-*/kicad-library-*/template/fp-lib-table.for-github
21Source4: https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz
22# Source4-md5: e343fb1de9debbfca640879433964bf5
23Source5: https://github.com/KiCad/Buttons_Switches_SMD.pretty/archive/%{version}/Buttons_Switches_SMD.pretty-%{version}.tar.gz
24# Source5-md5: 4d3bd10d0d7c29dd03e91f3ee999a4cf
25Source6: https://github.com/KiCad/Buttons_Switches_THT.pretty/archive/%{version}/Buttons_Switches_THT.pretty-%{version}.tar.gz
26# Source6-md5: 8e83e77abd4a2699cabcf10ca2452a37
27Source7: https://github.com/KiCad/Buzzers_Beepers.pretty/archive/%{version}/Buzzers_Beepers.pretty-%{version}.tar.gz
28# Source7-md5: 0be5ca79b86e23022b9ce5947fce4657
29Source8: https://github.com/KiCad/Capacitors_SMD.pretty/archive/%{version}/Capacitors_SMD.pretty-%{version}.tar.gz
30# Source8-md5: a132bacf9268f67caa9c504398b485f6
31Source9: https://github.com/KiCad/Capacitors_Tantalum_SMD.pretty/archive/%{version}/Capacitors_Tantalum_SMD.pretty-%{version}.tar.gz
32# Source9-md5: 591a022e35a0d4eb3338e36cbfc2b111
33Source10: https://github.com/KiCad/Capacitors_THT.pretty/archive/%{version}/Capacitors_THT.pretty-%{version}.tar.gz
34# Source10-md5: d2b3ec61381efeda3787c306a5f20c4d
35Source11: https://github.com/KiCad/Choke_Axial_ThroughHole.pretty/archive/%{version}/Choke_Axial_ThroughHole.pretty-%{version}.tar.gz
36# Source11-md5: 9e5ac090fc1d5a8145c93c6846d1242d
37Source12: https://github.com/KiCad/Choke_Common-Mode_Wurth.pretty/archive/%{version}/Choke_Common-Mode_Wurth.pretty-%{version}.tar.gz
38# Source12-md5: 1b1b159c5f598cc0487b39fbfdc854ad
39Source13: https://github.com/KiCad/Choke_Radial_ThroughHole.pretty/archive/%{version}/Choke_Radial_ThroughHole.pretty-%{version}.tar.gz
40# Source13-md5: d90b7adb66b4f8535667875cb10f4fba
41Source14: https://github.com/KiCad/Choke_SMD.pretty/archive/%{version}/Choke_SMD.pretty-%{version}.tar.gz
42# Source14-md5: ffbbec04a597c3f8313df6d52020d7a7
43Source15: https://github.com/KiCad/Choke_Toroid_ThroughHole.pretty/archive/%{version}/Choke_Toroid_ThroughHole.pretty-%{version}.tar.gz
44# Source15-md5: 4bdf6343c75887d67dc80e69b8e080ba
45Source16: https://github.com/KiCad/Connectors_Harwin.pretty/archive/%{version}/Connectors_Harwin.pretty-%{version}.tar.gz
46# Source16-md5: c103d987a87bde089155421af2216c93
47Source17: https://github.com/KiCad/Connectors_Hirose.pretty/archive/%{version}/Connectors_Hirose.pretty-%{version}.tar.gz
48# Source17-md5: 8d10a6d792b1a1b55459494d0374326f
49Source18: https://github.com/KiCad/Connectors_JAE.pretty/archive/%{version}/Connectors_JAE.pretty-%{version}.tar.gz
50# Source18-md5: 08db63855dc67995ed483a58af85f9f7
51Source19: https://github.com/KiCad/Connectors_JST.pretty/archive/%{version}/Connectors_JST.pretty-%{version}.tar.gz
52# Source19-md5: 5ce5e2bac3bf25bbeb98a4dd33632609
53Source20: https://github.com/KiCad/Connectors_Mini-Universal.pretty/archive/%{version}/Connectors_Mini-Universal.pretty-%{version}.tar.gz
54# Source20-md5: 9977b9592e4789c9b1b20ab26fe301a6
55Source21: https://github.com/KiCad/Connectors_Molex.pretty/archive/%{version}/Connectors_Molex.pretty-%{version}.tar.gz
56# Source21-md5: ef7d14f881e09be9a882b0e71f4474c7
57Source22: https://github.com/KiCad/Connectors_Multicomp.pretty/archive/%{version}/Connectors_Multicomp.pretty-%{version}.tar.gz
58# Source22-md5: 951ba83ee8f34e51465c75d38c246ce8
59Source23: https://github.com/KiCad/Connectors_Phoenix.pretty/archive/%{version}/Connectors_Phoenix.pretty-%{version}.tar.gz
60# Source23-md5: 7d9a232d0cd195f9d2b9ed82010c2ffe
61Source24: https://github.com/KiCad/Connectors_Samtec.pretty/archive/%{version}/Connectors_Samtec.pretty-%{version}.tar.gz
62# Source24-md5: b2610848de6e1c91b2c8d30d9cd518d5
63Source25: https://github.com/KiCad/Connectors_TE-Connectivity.pretty/archive/%{version}/Connectors_TE-Connectivity.pretty-%{version}.tar.gz
64# Source25-md5: 43e70e5d21e1119f8981eed40d082a8f
65Source26: https://github.com/KiCad/Connectors_Terminal_Blocks.pretty/archive/%{version}/Connectors_Terminal_Blocks.pretty-%{version}.tar.gz
66# Source26-md5: cbb75de29fe23cab12519de5c314d738
67Source27: https://github.com/KiCad/Connectors_WAGO.pretty/archive/%{version}/Connectors_WAGO.pretty-%{version}.tar.gz
68# Source27-md5: 219367a04e3917ba84a61341b9a5d939
69Source28: https://github.com/KiCad/Connectors.pretty/archive/%{version}/Connectors.pretty-%{version}.tar.gz
70# Source28-md5: 53358aaf6319b4963df7ed988985a13a
71Source29: https://github.com/KiCad/Converters_DCDC_ACDC.pretty/archive/%{version}/Converters_DCDC_ACDC.pretty-%{version}.tar.gz
72# Source29-md5: 8876b6ace69520adc78dd752ea872fcb
73Source30: https://github.com/KiCad/Crystals.pretty/archive/%{version}/Crystals.pretty-%{version}.tar.gz
74# Source30-md5: 3d156ccfcc43216f96ecfa7c3f8345b8
75Source31: https://github.com/KiCad/Diodes_SMD.pretty/archive/%{version}/Diodes_SMD.pretty-%{version}.tar.gz
76# Source31-md5: bea39235640355298ea6f14332627a18
77Source32: https://github.com/KiCad/Diodes_THT.pretty/archive/%{version}/Diodes_THT.pretty-%{version}.tar.gz
78# Source32-md5: ec77db0c94cfae709d145bcad133ed4f
79Source33: https://github.com/KiCad/Discret.pretty/archive/%{version}/Discret.pretty-%{version}.tar.gz
80# Source33-md5: 49598b208de48dd7ec87586950348112
81Source34: https://github.com/KiCad/Displays_7-Segment.pretty/archive/%{version}/Displays_7-Segment.pretty-%{version}.tar.gz
82# Source34-md5: 7f05ebc80504e122961ea020b42e8c3c
83Source35: https://github.com/KiCad/Displays.pretty/archive/%{version}/Displays.pretty-%{version}.tar.gz
84# Source35-md5: fae3bd280525583ab8669c3b2f48e4a7
85Source36: https://github.com/KiCad/Divers.pretty/archive/%{version}/Divers.pretty-%{version}.tar.gz
86# Source36-md5: 87a7ea52f622289d4486e5c4f9f4f308
87Source37: https://github.com/KiCad/Enclosures.pretty/archive/%{version}/Enclosures.pretty-%{version}.tar.gz
88# Source37-md5: af7c0066f10c3c449c36b23559ffddf0
89Source38: https://github.com/KiCad/EuroBoard_Outline.pretty/archive/%{version}/EuroBoard_Outline.pretty-%{version}.tar.gz
90# Source38-md5: 305424a4e6b51de49856e3cb12b5eedb
91Source39: https://github.com/KiCad/Fiducials.pretty/archive/%{version}/Fiducials.pretty-%{version}.tar.gz
92# Source39-md5: 45c7652cfbd5e2aba589e7e594f2f401
93Source40: https://github.com/KiCad/Filters_HF_Coils_NEOSID.pretty/archive/%{version}/Filters_HF_Coils_NEOSID.pretty-%{version}.tar.gz
94# Source40-md5: 52bb487182bd6a1a2245f8076259c328
95Source41: https://github.com/KiCad/Fuse_Holders_and_Fuses.pretty/archive/%{version}/Fuse_Holders_and_Fuses.pretty-%{version}.tar.gz
96# Source41-md5: cadfa005debdfc7d0c469ef48b8d26d0
97Source42: https://github.com/KiCad/Hall-Effect_Transducers_LEM.pretty/archive/%{version}/Hall-Effect_Transducers_LEM.pretty-%{version}.tar.gz
98# Source42-md5: ebb9c1b12d906f0e69376fe3fa4e5ee7
99Source43: https://github.com/KiCad/Heatsinks.pretty/archive/%{version}/Heatsinks.pretty-%{version}.tar.gz
100# Source43-md5: 4a7696b52a217c1af3d76310cefc9276
101Source44: https://github.com/KiCad/Housings_BGA.pretty/archive/%{version}/Housings_BGA.pretty-%{version}.tar.gz
102# Source44-md5: 1a52287e9101f75ea0a013c8896ea5ad
103Source45: https://github.com/KiCad/Housings_DFN_QFN.pretty/archive/%{version}/Housings_DFN_QFN.pretty-%{version}.tar.gz
104# Source45-md5: bfca29af9ec269b811e95f5a12d49327
105Source46: https://github.com/KiCad/Housings_DIP.pretty/archive/%{version}/Housings_DIP.pretty-%{version}.tar.gz
106# Source46-md5: 806e69140a65217b6124c0c0649d6474
107Source47: https://github.com/KiCad/Housings_LCC.pretty/archive/%{version}/Housings_LCC.pretty-%{version}.tar.gz
108# Source47-md5: 79a0b216aa186eab822b45fb2ab48b81
109Source48: https://github.com/KiCad/Housings_LGA.pretty/archive/%{version}/Housings_LGA.pretty-%{version}.tar.gz
110# Source48-md5: 0e3ef9347f68ab03fd9e4960ef652f6c
111Source49: https://github.com/KiCad/Housings_PGA.pretty/archive/%{version}/Housings_PGA.pretty-%{version}.tar.gz
112# Source49-md5: e008414845d6d1928a4607b2511a7fed
113Source50: https://github.com/KiCad/Housings_QFP.pretty/archive/%{version}/Housings_QFP.pretty-%{version}.tar.gz
114# Source50-md5: 36ff18521539dcc036a421af4a3eeea1
115Source51: https://github.com/KiCad/Housings_SIP.pretty/archive/%{version}/Housings_SIP.pretty-%{version}.tar.gz
116# Source51-md5: 5d5d071ba919c686fee70c1fe33360d7
117Source52: https://github.com/KiCad/Housings_SOIC.pretty/archive/%{version}/Housings_SOIC.pretty-%{version}.tar.gz
118# Source52-md5: 6cf7b9bf4f6fba01c3bef5d4b81b7b01
119Source53: https://github.com/KiCad/Housings_SSOP.pretty/archive/%{version}/Housings_SSOP.pretty-%{version}.tar.gz
120# Source53-md5: 462ad43dc28523cbd148f661aac26190
121Source54: https://github.com/KiCad/Inductors_NEOSID.pretty/archive/%{version}/Inductors_NEOSID.pretty-%{version}.tar.gz
122# Source54-md5: 6fc983a43dccd17739d3cefa637a6005
123Source55: https://github.com/KiCad/Inductors.pretty/archive/%{version}/Inductors.pretty-%{version}.tar.gz
124# Source55-md5: 99cfe2b7fcbfa170259c5ad94694ffee
125Source56: https://github.com/KiCad/Inductors_SMD.pretty/archive/%{version}/Inductors_SMD.pretty-%{version}.tar.gz
126# Source56-md5: 6e2e634595a9f0bcb8a1ba9c884fee5f
127Source57: https://github.com/KiCad/Inductors_THT.pretty/archive/%{version}/Inductors_THT.pretty-%{version}.tar.gz
128# Source57-md5: ed47a1aed878619170cb2d104bf34992
129Source58: https://github.com/KiCad/IR-DirectFETs.pretty/archive/%{version}/IR-DirectFETs.pretty-%{version}.tar.gz
130# Source58-md5: baad0378907a45ce847e7c53d9d0fc36
131Source59: https://github.com/KiCad/Labels.pretty/archive/%{version}/Labels.pretty-%{version}.tar.gz
132# Source59-md5: e094fa074bd2252fa99e92021c1e3c3d
133Source60: https://github.com/KiCad/LEDs.pretty/archive/%{version}/LEDs.pretty-%{version}.tar.gz
134# Source60-md5: f40658749082dbb8f2b123dc3d8b9e6b
135Source61: https://github.com/KiCad/Measurement_Points.pretty/archive/%{version}/Measurement_Points.pretty-%{version}.tar.gz
136# Source61-md5: be7400d113165b932c38a83d0e1a81c6
137Source62: https://github.com/KiCad/Measurement_Scales.pretty/archive/%{version}/Measurement_Scales.pretty-%{version}.tar.gz
138# Source62-md5: f1d2226dcb04a6bbd83aba8b701d9df0
139Source63: https://github.com/KiCad/Mechanical_Sockets.pretty/archive/%{version}/Mechanical_Sockets.pretty-%{version}.tar.gz
140# Source63-md5: 904a2beaf0b3cd03465aa50b22577f3f
141Source64: https://github.com/KiCad/Microwave.pretty/archive/%{version}/Microwave.pretty-%{version}.tar.gz
142# Source64-md5: c370a2b3cf5b284f98e6b264f0818726
143Source65: https://github.com/KiCad/Modules.pretty/archive/%{version}/Modules.pretty-%{version}.tar.gz
144# Source65-md5: 4a501a24a6355fe814a884b94d162b22
145Source66: https://github.com/KiCad/Mounting_Holes.pretty/archive/%{version}/Mounting_Holes.pretty-%{version}.tar.gz
146# Source66-md5: 7cc6b71a4e1f4c15db62fa8ba1c97d37
147Source67: https://github.com/KiCad/NF-Transformers_ETAL.pretty/archive/%{version}/NF-Transformers_ETAL.pretty-%{version}.tar.gz
148# Source67-md5: 819b22b813b3fb7d09125cb4c3f05639
149Source68: https://github.com/KiCad/Oddities.pretty/archive/%{version}/Oddities.pretty-%{version}.tar.gz
150# Source68-md5: a93fa061e420ea397efa790f01e2a462
151Source69: https://github.com/KiCad/Opto-Devices.pretty/archive/%{version}/Opto-Devices.pretty-%{version}.tar.gz
152# Source69-md5: e5de89a96ca7bbabc3f1c82df09d2f90
153Source70: https://github.com/KiCad/Oscillators.pretty/archive/%{version}/Oscillators.pretty-%{version}.tar.gz
154# Source70-md5: 8e38ea216c960a56fad2a32ab491bff7
155Source71: https://github.com/KiCad/PFF_PSF_PSS_Leadforms.pretty/archive/%{version}/PFF_PSF_PSS_Leadforms.pretty-%{version}.tar.gz
156# Source71-md5: 597792f8c3b5a9e12902d597ea1fc132
157Source72: https://github.com/KiCad/Pin_Headers.pretty/archive/%{version}/Pin_Headers.pretty-%{version}.tar.gz
158# Source72-md5: 5130d2e64fb526b5e037b9c04499a098
159Source73: https://github.com/KiCad/Potentiometers.pretty/archive/%{version}/Potentiometers.pretty-%{version}.tar.gz
160# Source73-md5: 3db69082756229d2ec4c3a50848ffd28
161Source74: https://github.com/KiCad/Power_Integrations.pretty/archive/%{version}/Power_Integrations.pretty-%{version}.tar.gz
162# Source74-md5: ddbcc3767e163fe5789454de8735ba80
163Source75: https://github.com/KiCad/Relays_THT.pretty/archive/%{version}/Relays_THT.pretty-%{version}.tar.gz
164# Source75-md5: 51494d7db9eabccea483c7f4c5d17f50
165Source76: https://github.com/KiCad/Resistors_SMD.pretty/archive/%{version}/Resistors_SMD.pretty-%{version}.tar.gz
166# Source76-md5: 32f760a5bd68397bf7d8bfb2622b7038
167Source77: https://github.com/KiCad/Resistors_THT.pretty/archive/%{version}/Resistors_THT.pretty-%{version}.tar.gz
168# Source77-md5: 7f3e3a656b94b4ec3ad59f841f8e1149
169Source78: https://github.com/KiCad/Resistors_Universal.pretty/archive/%{version}/Resistors_Universal.pretty-%{version}.tar.gz
170# Source78-md5: c35311f20f8c816244000b4d85fb6e8f
171Source79: https://github.com/KiCad/RF_Modules.pretty/archive/%{version}/RF_Modules.pretty-%{version}.tar.gz
172# Source79-md5: 22df000a3a8fb16f9306015f2decea6a
173Source80: https://github.com/KiCad/Shielding_Cabinets.pretty/archive/%{version}/Shielding_Cabinets.pretty-%{version}.tar.gz
174# Source80-md5: 7afa82ede121a46158d30a848002947d
175Source81: https://github.com/KiCad/SMD_Packages.pretty/archive/%{version}/SMD_Packages.pretty-%{version}.tar.gz
176# Source81-md5: ee99961ab96b360a446a5790c184a129
177Source82: https://github.com/KiCad/Sockets_MOLEX_KK-System.pretty/archive/%{version}/Sockets_MOLEX_KK-System.pretty-%{version}.tar.gz
178# Source82-md5: 9c5f6f092156c138856e819cd245cb43
179Source83: https://github.com/KiCad/Socket_Strips.pretty/archive/%{version}/Socket_Strips.pretty-%{version}.tar.gz
180# Source83-md5: 7ab96152fe961849944936e69671f99b
181Source84: https://github.com/KiCad/Sockets.pretty/archive/%{version}/Sockets.pretty-%{version}.tar.gz
182# Source84-md5: bd381d3f2222675e4f259f15f918c512
183Source85: https://github.com/KiCad/Symbols.pretty/archive/%{version}/Symbols.pretty-%{version}.tar.gz
184# Source85-md5: 16185826b1eb27200c30ef972f7468cd
185Source86: https://github.com/KiCad/TO_SOT_Packages_SMD.pretty/archive/%{version}/TO_SOT_Packages_SMD.pretty-%{version}.tar.gz
186# Source86-md5: 38addd895c3711539e291d5f86f27807
187Source87: https://github.com/KiCad/TO_SOT_Packages_THT.pretty/archive/%{version}/TO_SOT_Packages_THT.pretty-%{version}.tar.gz
188# Source87-md5: 3a0c96fcec348fd7daf856e0351d0435
189Source88: https://github.com/KiCad/Transformers_CHK.pretty/archive/%{version}/Transformers_CHK.pretty-%{version}.tar.gz
190# Source88-md5: c9f4c477a7b3ee99258f0eb8d07eb2ad
191Source89: https://github.com/KiCad/Transformers_SMD.pretty/archive/%{version}/Transformers_SMD.pretty-%{version}.tar.gz
192# Source89-md5: 9f3a326a296b10ea529d349d670b593e
193Source90: https://github.com/KiCad/Transformers_SMPS_ThroughHole.pretty/archive/%{version}/Transformers_SMPS_ThroughHole.pretty-%{version}.tar.gz
194# Source90-md5: bd6a05c82e5fa34771dc9b039c38279a
195Source91: https://github.com/KiCad/Transformers_THT.pretty/archive/%{version}/Transformers_THT.pretty-%{version}.tar.gz
196# Source91-md5: 8f1fafb159a5890abb9cc1fe3f24543a
197Source92: https://github.com/KiCad/Transistors_OldSowjetAera.pretty/archive/%{version}/Transistors_OldSowjetAera.pretty-%{version}.tar.gz
198# Source92-md5: bad332b6c0097a4179611a7f86eddee2
199Source93: https://github.com/KiCad/Valves.pretty/archive/%{version}/Valves.pretty-%{version}.tar.gz
200# Source93-md5: 0cef210c06a05af4f011fe73bd9d8f83
201Source94: https://github.com/KiCad/Varistors.pretty/archive/%{version}/Varistors.pretty-%{version}.tar.gz
202# Source94-md5: a18138206bf52efbdc37d448648b7e04
203Source95: https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz
204# Source95-md5: 1724a3899fb5b483bf224da6a6db2650
205Source96: https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz
206# Source96-md5: 06e3b9d0bb1be074b5693000736797db
207Patch0: nostrip.patch
208# https://code.launchpad.net/~lkundrak/kicad/appstream-data/+merge/293391
209Patch1: appstream.patch
210Patch2: boost-1.61.patch
211Patch3: cmake.patch
74131d84 212URL: http://www.kicad-pcb.org/
c4549a7b
JR
213BuildRequires: appstream-glib
214BuildRequires: asciidoc
254fbc44 215BuildRequires: boost-devel
b3e6c3ec 216BuildRequires: cmake >= 2.6.4
c4549a7b
JR
217BuildRequires: curl-devel
218BuildRequires: dblatex
219BuildRequires: desktop-file-utils
220BuildRequires: doxygen
221BuildRequires: glew-devel
222BuildRequires: openssl-devel
223BuildRequires: perl-Unicode-LineBreak
224BuildRequires: po4a >= 0.51
22291059 225BuildRequires: rpmbuild(macros) >= 1.600
34a5277b 226BuildRequires: sed >= 4.0
254fbc44 227BuildRequires: which
c4549a7b 228BuildRequires: wxGTK2-unicode-devel >= 3.0.0
7e103374
AM
229BuildRequires: wxGTK2-unicode-gl-devel >= 3.0.0
230BuildRequires: wxWidgets-devel >= 3.0.0
b3e6c3ec 231BuildRequires: zlib-devel
4b5aca64 232BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
233
234%description
235KiCad consists of a project manager and four main programs:
236- kicad - the project manager.
237- eeschema - the schematic editor.
238- cvpcb - the footprint selector for components used in the circuit
239 design.
240- pcbnew - the PCB layout program.
241- gerbview - the Gerber (photoplotter documents) viewer.
242
243%description -l pl.UTF-8
22291059 244KiCad składa się z menadżera projektów oraz czterech głównych
4b5aca64 245programów:
246- kicad - menadżer projektów.
247- eeschema - edytor schematów.
34a5277b
JB
248- cvpcb - narzędzie do wybierania elementów używanych przy
249 projektowaniu płytek drukowanych.
250- pcbnew - program do projektowania płytek drukowanych.
251- gerbview - przeglądarka plików Gerber (dokumentów dla fotoplotera).
4b5aca64 252
88bfc3ad
ER
253%package doc
254Summary: Documentation for kicad
255Summary(fr.UTF-8): Documentations pour kicad en anglais
256License: GPL v2+
257Group: Documentation
258%if "%{_rpmversion}" >= "5"
259BuildArch: noarch
260%endif
261
262%description doc
263Documentation and tutorials for kicad in English
264
c4549a7b
JR
265%package doc-ca
266Summary: Documentation for Kicad in German
267Summary(fr.UTF-8): Documentations pour kicad en allemand
268Group: Documentation
269Requires: %{name}-doc = %{version}-%{release}
270%if "%{_rpmversion}" >= "5"
271BuildArch: noarch
272%endif
273
274%description doc-ca
275Documentation and tutorials for Kicad in German
276
88bfc3ad
ER
277%package doc-de
278Summary: Documentation for Kicad in German
279Summary(fr.UTF-8): Documentations pour kicad en allemand
280Group: Documentation
281Requires: %{name}-doc = %{version}-%{release}
282%if "%{_rpmversion}" >= "5"
283BuildArch: noarch
284%endif
285
286%description doc-de
287Documentation and tutorials for Kicad in German
288
289%package doc-es
290Summary: Documentation for Kicad in Spanish
291Summary(fr.UTF-8): Documentations pour kicad en espagnol
292Group: Documentation
293Requires: %{name}-doc = %{version}-%{release}
294%if "%{_rpmversion}" >= "5"
295BuildArch: noarch
296%endif
297
298%description doc-es
299Documentation and tutorials for Kicad in Spanish
300
301%package doc-fr
302Summary: Documentation for Kicad in French
303Summary(fr.UTF-8): Documentations pour kicad en français
304Group: Documentation
305Requires: %{name}-doc = %{version}-%{release}
306%if "%{_rpmversion}" >= "5"
307BuildArch: noarch
308%endif
309
310%description doc-fr
311Documentation and tutorials for Kicad in French
312
c4549a7b 313%package doc-id
88bfc3ad
ER
314Summary: Documentation for Kicad in Hungarian
315Summary(fr.UTF-8): Documentations pour kicad en hongrois
316Group: Documentation
317Requires: %{name}-doc = %{version}-%{release}
318%if "%{_rpmversion}" >= "5"
319BuildArch: noarch
320%endif
321
c4549a7b 322%description doc-id
88bfc3ad
ER
323Documentation and tutorials for Kicad in Hungarian
324
325%package doc-it
326Summary: Documentation for Kicad in Italian
327Summary(fr.UTF-8): Documentations pour kicad en italien
328Group: Documentation
329Requires: %{name}-doc = %{version}-%{release}
330%if "%{_rpmversion}" >= "5"
331BuildArch: noarch
332%endif
333
334%description doc-it
335Documentation and tutorials for Kicad in Italian
336
337%package doc-ja
338Summary: Documentation for Kicad in Japanese
339Summary(fr.UTF-8): Documentations pour kicad en japonais
340Group: Documentation
341Requires: %{name}-doc = %{version}-%{release}
342%if "%{_rpmversion}" >= "5"
343BuildArch: noarch
344%endif
345
346%description doc-ja
347Documentation and tutorials for Kicad in Japanese
348
c4549a7b
JR
349%package doc-nl
350Summary: Documentation for Kicad in Portuguese
351Summary(fr.UTF-8): Documentations pour kicad en portugais
88bfc3ad
ER
352Group: Documentation
353Requires: %{name}-doc = %{version}-%{release}
354%if "%{_rpmversion}" >= "5"
355BuildArch: noarch
356%endif
357
c4549a7b
JR
358%description doc-nl
359Documentation and tutorials for Kicad in Portuguese
88bfc3ad 360
c4549a7b
JR
361%package doc-pl
362Summary: Documentation for Kicad in Polish
363Summary(fr.UTF-8): Documentations pour kicad en polonais
88bfc3ad
ER
364Group: Documentation
365Requires: %{name}-doc = %{version}-%{release}
366%if "%{_rpmversion}" >= "5"
367BuildArch: noarch
368%endif
369
c4549a7b
JR
370%description doc-pl
371Documentation and tutorials for Kicad in Polish
88bfc3ad
ER
372
373%package doc-ru
374Summary: Documentation for Kicad in Russian
375Summary(fr.UTF-8): Documentations pour kicad en russe
376Group: Documentation
377Requires: %{name}-doc = %{version}-%{release}
378%if "%{_rpmversion}" >= "5"
379BuildArch: noarch
380%endif
381
382%description doc-ru
383Documentation and tutorials for Kicad in Russian
384
4b5aca64 385%prep
c4549a7b 386%setup -q -a 1 -a 2 -a 3
7e103374 387%patch0 -p1
c4549a7b
JR
388%patch1 -p1
389%patch2 -p1
390%patch3 -p1
c7773671 391
4b5aca64 392%build
c4549a7b
JR
393# Symbols libraries
394cd %{name}-library-%{version}
395%cmake .
396%{__make} -j1 VERBOSE=1
74131d84
AM
397cd ..
398
c4549a7b
JR
399# Documentation
400cd %{name}-doc-%{version}
401%cmake . -DBUILD_FORMATS=html
402%{__make} -j1 VERBOSE=1
7e103374
AM
403cd ..
404
c4549a7b
JR
405# Translations
406mkdir %{name}-i18n-%{version}/build
407cd %{name}-i18n-%{version}/build
408%cmake .. \
409 -DKICAD_I18N_UNIX_STRICT_PATH=ON
410%{__make} -j1 VERBOSE=1
74131d84
AM
411cd ../..
412
7e103374 413# Core components
c4549a7b
JR
414%cmake . \
415 -DKICAD_SKIP_BOOST=ON \
416 -DKICAD_BUILD_VERSION="%{version}-%{release}" \
417 -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
418
419%{__make} VERBOSE=1
4b5aca64 420
421%install
422rm -rf $RPM_BUILD_ROOT
423
c4549a7b
JR
424# KiCAD itself
425%{__make} install \
426 DESTDIR=$RPM_BUILD_ROOT
427
428# Symbols libraries
429%{__make} -C %{name}-library-%{version} install \
430 DESTDIR=$RPM_BUILD_ROOT
74131d84
AM
431
432# install template
433install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/template
88bfc3ad 434cp -p template/%{name}.pro $RPM_BUILD_ROOT%{_datadir}/%{name}/template
74131d84 435
c4549a7b
JR
436# Footprints
437install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
438for S in %{sources}; do
439 P=$(basename $S |sed -n 's/\.pretty-.*/.pretty/p')
440 [ "$P" ] || continue
441 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/$P
442 tar xzf $S --strip-components=1 -C $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/$P
443done
444ln -f $RPM_BUILD_ROOT%{_datadir}/%{name}/template/fp-lib-table{.for-pretty,}
445
446# Documentation
447%{__make} -C %{name}-doc-%{version} install \
448 DESTDIR=$RPM_BUILD_ROOT
449
450# Translations
451%{__make} -C %{name}-i18n-%{version}/build install \
452 DESTDIR=$RPM_BUILD_ROOT
74131d84
AM
453
454%find_lang %{name}
455
456%post
457%update_mime_database
458%update_desktop_database_post
459%update_icon_cache hicolor
2a9578af 460
74131d84
AM
461%postun
462%update_mime_database
463%update_desktop_database_postun
464%update_icon_cache hicolor
7a3fb9b5 465
4b5aca64 466%clean
467rm -rf $RPM_BUILD_ROOT
468
74131d84 469%files -f %{name}.lang
4b5aca64 470%defattr(644,root,root,755)
5bc2f06b 471%doc AUTHORS.txt CHANGELOG.txt Documentation
74131d84 472%attr(755,root,root) %{_bindir}/bitmap2component
c4549a7b
JR
473%attr(755,root,root) %{_bindir}/_cvpcb.kiface
474%attr(755,root,root) %{_bindir}/dxf2idf
2d418e55 475%attr(755,root,root) %{_bindir}/eeschema
c4549a7b 476%attr(755,root,root) %{_bindir}/_eeschema.kiface
2d418e55 477%attr(755,root,root) %{_bindir}/gerbview
c4549a7b
JR
478%attr(755,root,root) %{_bindir}/_gerbview.kiface
479%attr(755,root,root) %{_bindir}/idf2vrml
480%attr(755,root,root) %{_bindir}/idfcyl
481%attr(755,root,root) %{_bindir}/idfrect
74131d84
AM
482%attr(755,root,root) %{_bindir}/kicad
483%attr(755,root,root) %{_bindir}/pcb_calculator
c4549a7b 484%attr(755,root,root) %{_bindir}/_pcb_calculator.kiface
74131d84 485%attr(755,root,root) %{_bindir}/pcbnew
c4549a7b
JR
486%attr(755,root,root) %{_bindir}/_pcbnew.kiface
487%attr(755,root,root) %{_bindir}/pl_editor
488%attr(755,root,root) %{_bindir}/_pl_editor.kiface
7a3fb9b5
ŁK
489%dir %{_libdir}/%{name}
490%dir %{_libdir}/%{name}/plugins
c4549a7b
JR
491%{_libdir}/%{name}/plugins/bom2csv.xsl
492%{_libdir}/%{name}/plugins/bom_cvs.xsl
493%{_libdir}/%{name}/plugins/bom_with_title_block_2_csv.xsl
494%{_libdir}/%{name}/plugins/netlist_form_cadstar-RINF.xsl
495%{_libdir}/%{name}/plugins/netlist_form_cadstar.xsl
496%{_libdir}/%{name}/plugins/netlist_form_OrcadPcb2.xsl
74131d84 497%{_libdir}/%{name}/plugins/netlist_form_pads-pcb.xsl
2a9578af 498%{_datadir}/%{name}
74131d84
AM
499%{_iconsdir}/hicolor/*x*/*/*.png
500%{_iconsdir}/hicolor/scalable/*/*.svg
501%{_datadir}/mime/packages/kicad.xml
c4549a7b
JR
502%{_datadir}/appdata/kicad.appdata.xml
503%{_desktopdir}/eeschema.desktop
504%{_desktopdir}/%{name}.desktop
505%{_desktopdir}/bitmap2component.desktop
506%{_desktopdir}/cvpcb.desktop
507%{_desktopdir}/gerbview.desktop
508%{_desktopdir}/pcbcalculator.desktop
509%{_desktopdir}/pcbnew.desktop
510#%{_datadir}/mimelnk/application/x-kicad-pcb.desktop
511#%{_datadir}/mimelnk/application/x-kicad-project.desktop
512#%{_datadir}/mimelnk/application/x-kicad-schematic.desktop
88bfc3ad
ER
513
514%dir %{_docdir}/%{name}
515%{_docdir}/%{name}/*.txt
516
517%files doc
518%defattr(644,root,root,755)
519%dir %{_docdir}/%{name}
88bfc3ad
ER
520%dir %{_docdir}/%{name}/help
521%{_docdir}/%{name}/help/en
88bfc3ad
ER
522%{_docdir}/%{name}/scripts
523
c4549a7b
JR
524%files doc-ca
525%defattr(644,root,root,755)
526%lang(ca) %{_docdir}/%{name}/help/ca
527
88bfc3ad
ER
528%files doc-de
529%defattr(644,root,root,755)
530%lang(de) %{_docdir}/%{name}/help/de
88bfc3ad
ER
531
532%files doc-es
533%defattr(644,root,root,755)
534%lang(es) %{_docdir}/%{name}/help/es
88bfc3ad
ER
535
536%files doc-fr
537%defattr(644,root,root,755)
538%lang(fr) %{_docdir}/%{name}/help/fr
88bfc3ad 539
c4549a7b 540%files doc-id
88bfc3ad 541%defattr(644,root,root,755)
c4549a7b 542%lang(id) %{_docdir}/%{name}/help/id
88bfc3ad
ER
543
544%files doc-it
545%defattr(644,root,root,755)
546%lang(it) %{_docdir}/%{name}/help/it
88bfc3ad
ER
547
548%files doc-ja
549%defattr(644,root,root,755)
550%lang(ja) %{_docdir}/%{name}/help/ja
88bfc3ad 551
c4549a7b 552%files doc-nl
88bfc3ad 553%defattr(644,root,root,755)
c4549a7b 554%lang(nl) %{_docdir}/%{name}/help/nl
88bfc3ad 555
c4549a7b 556%files doc-pl
88bfc3ad 557%defattr(644,root,root,755)
c4549a7b 558%lang(pl) %{_docdir}/%{name}/help/pl
88bfc3ad
ER
559
560%files doc-ru
561%defattr(644,root,root,755)
562%lang(ru) %{_docdir}/%{name}/help/ru
This page took 0.148208 seconds and 4 git commands to generate.