2 # - fix mimelnk installation
4 Summary: KiCad - is a GPL'd suite of programs for EDA
5 Summary(pl.UTF-8): KiCad - zestaw programów na licencji GPL zaliczany do kategorii EDA
10 Group: X11/Applications
11 Source0: https://launchpad.net/kicad/4.0/%{version}/+download/%{name}-%{version}.tar.xz
12 # Source0-md5: 24eca1f22bbb0a88acbba321a4b1c4aa
13 Source1: https://github.com/KiCad/kicad-doc/archive/%{version}/%{name}-doc-%{version}.tar.gz
14 # Source1-md5: f68105a04132fc8a4412d75ffe0d0b16
15 Source2: https://github.com/KiCad/kicad-library/archive/%{version}/%{name}-library-%{version}.tar.gz
16 # Source2-md5: 325ca078191584cd063835e01ecabd67
17 Source3: 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
21 Source4: https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz
22 # Source4-md5: e343fb1de9debbfca640879433964bf5
23 Source5: https://github.com/KiCad/Buttons_Switches_SMD.pretty/archive/%{version}/Buttons_Switches_SMD.pretty-%{version}.tar.gz
24 # Source5-md5: 4d3bd10d0d7c29dd03e91f3ee999a4cf
25 Source6: https://github.com/KiCad/Buttons_Switches_THT.pretty/archive/%{version}/Buttons_Switches_THT.pretty-%{version}.tar.gz
26 # Source6-md5: 8e83e77abd4a2699cabcf10ca2452a37
27 Source7: https://github.com/KiCad/Buzzers_Beepers.pretty/archive/%{version}/Buzzers_Beepers.pretty-%{version}.tar.gz
28 # Source7-md5: 0be5ca79b86e23022b9ce5947fce4657
29 Source8: https://github.com/KiCad/Capacitors_SMD.pretty/archive/%{version}/Capacitors_SMD.pretty-%{version}.tar.gz
30 # Source8-md5: a132bacf9268f67caa9c504398b485f6
31 Source9: https://github.com/KiCad/Capacitors_Tantalum_SMD.pretty/archive/%{version}/Capacitors_Tantalum_SMD.pretty-%{version}.tar.gz
32 # Source9-md5: 591a022e35a0d4eb3338e36cbfc2b111
33 Source10: https://github.com/KiCad/Capacitors_THT.pretty/archive/%{version}/Capacitors_THT.pretty-%{version}.tar.gz
34 # Source10-md5: d2b3ec61381efeda3787c306a5f20c4d
35 Source11: https://github.com/KiCad/Choke_Axial_ThroughHole.pretty/archive/%{version}/Choke_Axial_ThroughHole.pretty-%{version}.tar.gz
36 # Source11-md5: 9e5ac090fc1d5a8145c93c6846d1242d
37 Source12: https://github.com/KiCad/Choke_Common-Mode_Wurth.pretty/archive/%{version}/Choke_Common-Mode_Wurth.pretty-%{version}.tar.gz
38 # Source12-md5: 1b1b159c5f598cc0487b39fbfdc854ad
39 Source13: https://github.com/KiCad/Choke_Radial_ThroughHole.pretty/archive/%{version}/Choke_Radial_ThroughHole.pretty-%{version}.tar.gz
40 # Source13-md5: d90b7adb66b4f8535667875cb10f4fba
41 Source14: https://github.com/KiCad/Choke_SMD.pretty/archive/%{version}/Choke_SMD.pretty-%{version}.tar.gz
42 # Source14-md5: ffbbec04a597c3f8313df6d52020d7a7
43 Source15: https://github.com/KiCad/Choke_Toroid_ThroughHole.pretty/archive/%{version}/Choke_Toroid_ThroughHole.pretty-%{version}.tar.gz
44 # Source15-md5: 4bdf6343c75887d67dc80e69b8e080ba
45 Source16: https://github.com/KiCad/Connectors_Harwin.pretty/archive/%{version}/Connectors_Harwin.pretty-%{version}.tar.gz
46 # Source16-md5: c103d987a87bde089155421af2216c93
47 Source17: https://github.com/KiCad/Connectors_Hirose.pretty/archive/%{version}/Connectors_Hirose.pretty-%{version}.tar.gz
48 # Source17-md5: 8d10a6d792b1a1b55459494d0374326f
49 Source18: https://github.com/KiCad/Connectors_JAE.pretty/archive/%{version}/Connectors_JAE.pretty-%{version}.tar.gz
50 # Source18-md5: 08db63855dc67995ed483a58af85f9f7
51 Source19: https://github.com/KiCad/Connectors_JST.pretty/archive/%{version}/Connectors_JST.pretty-%{version}.tar.gz
52 # Source19-md5: 5ce5e2bac3bf25bbeb98a4dd33632609
53 Source20: https://github.com/KiCad/Connectors_Mini-Universal.pretty/archive/%{version}/Connectors_Mini-Universal.pretty-%{version}.tar.gz
54 # Source20-md5: 9977b9592e4789c9b1b20ab26fe301a6
55 Source21: https://github.com/KiCad/Connectors_Molex.pretty/archive/%{version}/Connectors_Molex.pretty-%{version}.tar.gz
56 # Source21-md5: ef7d14f881e09be9a882b0e71f4474c7
57 Source22: https://github.com/KiCad/Connectors_Multicomp.pretty/archive/%{version}/Connectors_Multicomp.pretty-%{version}.tar.gz
58 # Source22-md5: 951ba83ee8f34e51465c75d38c246ce8
59 Source23: https://github.com/KiCad/Connectors_Phoenix.pretty/archive/%{version}/Connectors_Phoenix.pretty-%{version}.tar.gz
60 # Source23-md5: 7d9a232d0cd195f9d2b9ed82010c2ffe
61 Source24: https://github.com/KiCad/Connectors_Samtec.pretty/archive/%{version}/Connectors_Samtec.pretty-%{version}.tar.gz
62 # Source24-md5: b2610848de6e1c91b2c8d30d9cd518d5
63 Source25: https://github.com/KiCad/Connectors_TE-Connectivity.pretty/archive/%{version}/Connectors_TE-Connectivity.pretty-%{version}.tar.gz
64 # Source25-md5: 43e70e5d21e1119f8981eed40d082a8f
65 Source26: https://github.com/KiCad/Connectors_Terminal_Blocks.pretty/archive/%{version}/Connectors_Terminal_Blocks.pretty-%{version}.tar.gz
66 # Source26-md5: cbb75de29fe23cab12519de5c314d738
67 Source27: https://github.com/KiCad/Connectors_WAGO.pretty/archive/%{version}/Connectors_WAGO.pretty-%{version}.tar.gz
68 # Source27-md5: 219367a04e3917ba84a61341b9a5d939
69 Source28: https://github.com/KiCad/Connectors.pretty/archive/%{version}/Connectors.pretty-%{version}.tar.gz
70 # Source28-md5: 53358aaf6319b4963df7ed988985a13a
71 Source29: https://github.com/KiCad/Converters_DCDC_ACDC.pretty/archive/%{version}/Converters_DCDC_ACDC.pretty-%{version}.tar.gz
72 # Source29-md5: 8876b6ace69520adc78dd752ea872fcb
73 Source30: https://github.com/KiCad/Crystals.pretty/archive/%{version}/Crystals.pretty-%{version}.tar.gz
74 # Source30-md5: 3d156ccfcc43216f96ecfa7c3f8345b8
75 Source31: https://github.com/KiCad/Diodes_SMD.pretty/archive/%{version}/Diodes_SMD.pretty-%{version}.tar.gz
76 # Source31-md5: bea39235640355298ea6f14332627a18
77 Source32: https://github.com/KiCad/Diodes_THT.pretty/archive/%{version}/Diodes_THT.pretty-%{version}.tar.gz
78 # Source32-md5: ec77db0c94cfae709d145bcad133ed4f
79 Source33: https://github.com/KiCad/Discret.pretty/archive/%{version}/Discret.pretty-%{version}.tar.gz
80 # Source33-md5: 49598b208de48dd7ec87586950348112
81 Source34: https://github.com/KiCad/Displays_7-Segment.pretty/archive/%{version}/Displays_7-Segment.pretty-%{version}.tar.gz
82 # Source34-md5: 7f05ebc80504e122961ea020b42e8c3c
83 Source35: https://github.com/KiCad/Displays.pretty/archive/%{version}/Displays.pretty-%{version}.tar.gz
84 # Source35-md5: fae3bd280525583ab8669c3b2f48e4a7
85 Source36: https://github.com/KiCad/Divers.pretty/archive/%{version}/Divers.pretty-%{version}.tar.gz
86 # Source36-md5: 87a7ea52f622289d4486e5c4f9f4f308
87 Source37: https://github.com/KiCad/Enclosures.pretty/archive/%{version}/Enclosures.pretty-%{version}.tar.gz
88 # Source37-md5: af7c0066f10c3c449c36b23559ffddf0
89 Source38: https://github.com/KiCad/EuroBoard_Outline.pretty/archive/%{version}/EuroBoard_Outline.pretty-%{version}.tar.gz
90 # Source38-md5: 305424a4e6b51de49856e3cb12b5eedb
91 Source39: https://github.com/KiCad/Fiducials.pretty/archive/%{version}/Fiducials.pretty-%{version}.tar.gz
92 # Source39-md5: 45c7652cfbd5e2aba589e7e594f2f401
93 Source40: https://github.com/KiCad/Filters_HF_Coils_NEOSID.pretty/archive/%{version}/Filters_HF_Coils_NEOSID.pretty-%{version}.tar.gz
94 # Source40-md5: 52bb487182bd6a1a2245f8076259c328
95 Source41: https://github.com/KiCad/Fuse_Holders_and_Fuses.pretty/archive/%{version}/Fuse_Holders_and_Fuses.pretty-%{version}.tar.gz
96 # Source41-md5: cadfa005debdfc7d0c469ef48b8d26d0
97 Source42: https://github.com/KiCad/Hall-Effect_Transducers_LEM.pretty/archive/%{version}/Hall-Effect_Transducers_LEM.pretty-%{version}.tar.gz
98 # Source42-md5: ebb9c1b12d906f0e69376fe3fa4e5ee7
99 Source43: https://github.com/KiCad/Heatsinks.pretty/archive/%{version}/Heatsinks.pretty-%{version}.tar.gz
100 # Source43-md5: 4a7696b52a217c1af3d76310cefc9276
101 Source44: https://github.com/KiCad/Housings_BGA.pretty/archive/%{version}/Housings_BGA.pretty-%{version}.tar.gz
102 # Source44-md5: 1a52287e9101f75ea0a013c8896ea5ad
103 Source45: https://github.com/KiCad/Housings_DFN_QFN.pretty/archive/%{version}/Housings_DFN_QFN.pretty-%{version}.tar.gz
104 # Source45-md5: bfca29af9ec269b811e95f5a12d49327
105 Source46: https://github.com/KiCad/Housings_DIP.pretty/archive/%{version}/Housings_DIP.pretty-%{version}.tar.gz
106 # Source46-md5: 806e69140a65217b6124c0c0649d6474
107 Source47: https://github.com/KiCad/Housings_LCC.pretty/archive/%{version}/Housings_LCC.pretty-%{version}.tar.gz
108 # Source47-md5: 79a0b216aa186eab822b45fb2ab48b81
109 Source48: https://github.com/KiCad/Housings_LGA.pretty/archive/%{version}/Housings_LGA.pretty-%{version}.tar.gz
110 # Source48-md5: 0e3ef9347f68ab03fd9e4960ef652f6c
111 Source49: https://github.com/KiCad/Housings_PGA.pretty/archive/%{version}/Housings_PGA.pretty-%{version}.tar.gz
112 # Source49-md5: e008414845d6d1928a4607b2511a7fed
113 Source50: https://github.com/KiCad/Housings_QFP.pretty/archive/%{version}/Housings_QFP.pretty-%{version}.tar.gz
114 # Source50-md5: 36ff18521539dcc036a421af4a3eeea1
115 Source51: https://github.com/KiCad/Housings_SIP.pretty/archive/%{version}/Housings_SIP.pretty-%{version}.tar.gz
116 # Source51-md5: 5d5d071ba919c686fee70c1fe33360d7
117 Source52: https://github.com/KiCad/Housings_SOIC.pretty/archive/%{version}/Housings_SOIC.pretty-%{version}.tar.gz
118 # Source52-md5: 6cf7b9bf4f6fba01c3bef5d4b81b7b01
119 Source53: https://github.com/KiCad/Housings_SSOP.pretty/archive/%{version}/Housings_SSOP.pretty-%{version}.tar.gz
120 # Source53-md5: 462ad43dc28523cbd148f661aac26190
121 Source54: https://github.com/KiCad/Inductors_NEOSID.pretty/archive/%{version}/Inductors_NEOSID.pretty-%{version}.tar.gz
122 # Source54-md5: 6fc983a43dccd17739d3cefa637a6005
123 Source55: https://github.com/KiCad/Inductors.pretty/archive/%{version}/Inductors.pretty-%{version}.tar.gz
124 # Source55-md5: 99cfe2b7fcbfa170259c5ad94694ffee
125 Source56: https://github.com/KiCad/Inductors_SMD.pretty/archive/%{version}/Inductors_SMD.pretty-%{version}.tar.gz
126 # Source56-md5: 6e2e634595a9f0bcb8a1ba9c884fee5f
127 Source57: https://github.com/KiCad/Inductors_THT.pretty/archive/%{version}/Inductors_THT.pretty-%{version}.tar.gz
128 # Source57-md5: ed47a1aed878619170cb2d104bf34992
129 Source58: https://github.com/KiCad/IR-DirectFETs.pretty/archive/%{version}/IR-DirectFETs.pretty-%{version}.tar.gz
130 # Source58-md5: baad0378907a45ce847e7c53d9d0fc36
131 Source59: https://github.com/KiCad/Labels.pretty/archive/%{version}/Labels.pretty-%{version}.tar.gz
132 # Source59-md5: e094fa074bd2252fa99e92021c1e3c3d
133 Source60: https://github.com/KiCad/LEDs.pretty/archive/%{version}/LEDs.pretty-%{version}.tar.gz
134 # Source60-md5: f40658749082dbb8f2b123dc3d8b9e6b
135 Source61: https://github.com/KiCad/Measurement_Points.pretty/archive/%{version}/Measurement_Points.pretty-%{version}.tar.gz
136 # Source61-md5: be7400d113165b932c38a83d0e1a81c6
137 Source62: https://github.com/KiCad/Measurement_Scales.pretty/archive/%{version}/Measurement_Scales.pretty-%{version}.tar.gz
138 # Source62-md5: f1d2226dcb04a6bbd83aba8b701d9df0
139 Source63: https://github.com/KiCad/Mechanical_Sockets.pretty/archive/%{version}/Mechanical_Sockets.pretty-%{version}.tar.gz
140 # Source63-md5: 904a2beaf0b3cd03465aa50b22577f3f
141 Source64: https://github.com/KiCad/Microwave.pretty/archive/%{version}/Microwave.pretty-%{version}.tar.gz
142 # Source64-md5: c370a2b3cf5b284f98e6b264f0818726
143 Source65: https://github.com/KiCad/Modules.pretty/archive/%{version}/Modules.pretty-%{version}.tar.gz
144 # Source65-md5: 4a501a24a6355fe814a884b94d162b22
145 Source66: https://github.com/KiCad/Mounting_Holes.pretty/archive/%{version}/Mounting_Holes.pretty-%{version}.tar.gz
146 # Source66-md5: 7cc6b71a4e1f4c15db62fa8ba1c97d37
147 Source67: https://github.com/KiCad/NF-Transformers_ETAL.pretty/archive/%{version}/NF-Transformers_ETAL.pretty-%{version}.tar.gz
148 # Source67-md5: 819b22b813b3fb7d09125cb4c3f05639
149 Source68: https://github.com/KiCad/Oddities.pretty/archive/%{version}/Oddities.pretty-%{version}.tar.gz
150 # Source68-md5: a93fa061e420ea397efa790f01e2a462
151 Source69: https://github.com/KiCad/Opto-Devices.pretty/archive/%{version}/Opto-Devices.pretty-%{version}.tar.gz
152 # Source69-md5: e5de89a96ca7bbabc3f1c82df09d2f90
153 Source70: https://github.com/KiCad/Oscillators.pretty/archive/%{version}/Oscillators.pretty-%{version}.tar.gz
154 # Source70-md5: 8e38ea216c960a56fad2a32ab491bff7
155 Source71: https://github.com/KiCad/PFF_PSF_PSS_Leadforms.pretty/archive/%{version}/PFF_PSF_PSS_Leadforms.pretty-%{version}.tar.gz
156 # Source71-md5: 597792f8c3b5a9e12902d597ea1fc132
157 Source72: https://github.com/KiCad/Pin_Headers.pretty/archive/%{version}/Pin_Headers.pretty-%{version}.tar.gz
158 # Source72-md5: 5130d2e64fb526b5e037b9c04499a098
159 Source73: https://github.com/KiCad/Potentiometers.pretty/archive/%{version}/Potentiometers.pretty-%{version}.tar.gz
160 # Source73-md5: 3db69082756229d2ec4c3a50848ffd28
161 Source74: https://github.com/KiCad/Power_Integrations.pretty/archive/%{version}/Power_Integrations.pretty-%{version}.tar.gz
162 # Source74-md5: ddbcc3767e163fe5789454de8735ba80
163 Source75: https://github.com/KiCad/Relays_THT.pretty/archive/%{version}/Relays_THT.pretty-%{version}.tar.gz
164 # Source75-md5: 51494d7db9eabccea483c7f4c5d17f50
165 Source76: https://github.com/KiCad/Resistors_SMD.pretty/archive/%{version}/Resistors_SMD.pretty-%{version}.tar.gz
166 # Source76-md5: 32f760a5bd68397bf7d8bfb2622b7038
167 Source77: https://github.com/KiCad/Resistors_THT.pretty/archive/%{version}/Resistors_THT.pretty-%{version}.tar.gz
168 # Source77-md5: 7f3e3a656b94b4ec3ad59f841f8e1149
169 Source78: https://github.com/KiCad/Resistors_Universal.pretty/archive/%{version}/Resistors_Universal.pretty-%{version}.tar.gz
170 # Source78-md5: c35311f20f8c816244000b4d85fb6e8f
171 Source79: https://github.com/KiCad/RF_Modules.pretty/archive/%{version}/RF_Modules.pretty-%{version}.tar.gz
172 # Source79-md5: 22df000a3a8fb16f9306015f2decea6a
173 Source80: https://github.com/KiCad/Shielding_Cabinets.pretty/archive/%{version}/Shielding_Cabinets.pretty-%{version}.tar.gz
174 # Source80-md5: 7afa82ede121a46158d30a848002947d
175 Source81: https://github.com/KiCad/SMD_Packages.pretty/archive/%{version}/SMD_Packages.pretty-%{version}.tar.gz
176 # Source81-md5: ee99961ab96b360a446a5790c184a129
177 Source82: https://github.com/KiCad/Sockets_MOLEX_KK-System.pretty/archive/%{version}/Sockets_MOLEX_KK-System.pretty-%{version}.tar.gz
178 # Source82-md5: 9c5f6f092156c138856e819cd245cb43
179 Source83: https://github.com/KiCad/Socket_Strips.pretty/archive/%{version}/Socket_Strips.pretty-%{version}.tar.gz
180 # Source83-md5: 7ab96152fe961849944936e69671f99b
181 Source84: https://github.com/KiCad/Sockets.pretty/archive/%{version}/Sockets.pretty-%{version}.tar.gz
182 # Source84-md5: bd381d3f2222675e4f259f15f918c512
183 Source85: https://github.com/KiCad/Symbols.pretty/archive/%{version}/Symbols.pretty-%{version}.tar.gz
184 # Source85-md5: 16185826b1eb27200c30ef972f7468cd
185 Source86: https://github.com/KiCad/TO_SOT_Packages_SMD.pretty/archive/%{version}/TO_SOT_Packages_SMD.pretty-%{version}.tar.gz
186 # Source86-md5: 38addd895c3711539e291d5f86f27807
187 Source87: https://github.com/KiCad/TO_SOT_Packages_THT.pretty/archive/%{version}/TO_SOT_Packages_THT.pretty-%{version}.tar.gz
188 # Source87-md5: 3a0c96fcec348fd7daf856e0351d0435
189 Source88: https://github.com/KiCad/Transformers_CHK.pretty/archive/%{version}/Transformers_CHK.pretty-%{version}.tar.gz
190 # Source88-md5: c9f4c477a7b3ee99258f0eb8d07eb2ad
191 Source89: https://github.com/KiCad/Transformers_SMD.pretty/archive/%{version}/Transformers_SMD.pretty-%{version}.tar.gz
192 # Source89-md5: 9f3a326a296b10ea529d349d670b593e
193 Source90: https://github.com/KiCad/Transformers_SMPS_ThroughHole.pretty/archive/%{version}/Transformers_SMPS_ThroughHole.pretty-%{version}.tar.gz
194 # Source90-md5: bd6a05c82e5fa34771dc9b039c38279a
195 Source91: https://github.com/KiCad/Transformers_THT.pretty/archive/%{version}/Transformers_THT.pretty-%{version}.tar.gz
196 # Source91-md5: 8f1fafb159a5890abb9cc1fe3f24543a
197 Source92: https://github.com/KiCad/Transistors_OldSowjetAera.pretty/archive/%{version}/Transistors_OldSowjetAera.pretty-%{version}.tar.gz
198 # Source92-md5: bad332b6c0097a4179611a7f86eddee2
199 Source93: https://github.com/KiCad/Valves.pretty/archive/%{version}/Valves.pretty-%{version}.tar.gz
200 # Source93-md5: 0cef210c06a05af4f011fe73bd9d8f83
201 Source94: https://github.com/KiCad/Varistors.pretty/archive/%{version}/Varistors.pretty-%{version}.tar.gz
202 # Source94-md5: a18138206bf52efbdc37d448648b7e04
203 Source95: https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz
204 # Source95-md5: 1724a3899fb5b483bf224da6a6db2650
205 Source96: https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz
206 # Source96-md5: 06e3b9d0bb1be074b5693000736797db
207 Patch0: nostrip.patch
208 # https://code.launchpad.net/~lkundrak/kicad/appstream-data/+merge/293391
209 Patch1: appstream.patch
210 Patch2: boost-1.61.patch
212 URL: http://www.kicad-pcb.org/
213 BuildRequires: appstream-glib
214 BuildRequires: asciidoc
215 BuildRequires: boost-devel
216 BuildRequires: cmake >= 2.6.4
217 BuildRequires: curl-devel
218 BuildRequires: dblatex
219 BuildRequires: desktop-file-utils
220 BuildRequires: doxygen
221 BuildRequires: glew-devel
222 BuildRequires: openssl-devel
223 BuildRequires: perl-Unicode-LineBreak
224 BuildRequires: po4a >= 0.51
225 BuildRequires: rpmbuild(macros) >= 1.600
226 BuildRequires: sed >= 4.0
228 BuildRequires: wxGTK2-unicode-devel >= 3.0.0
229 BuildRequires: wxGTK2-unicode-gl-devel >= 3.0.0
230 BuildRequires: wxWidgets-devel >= 3.0.0
231 BuildRequires: zlib-devel
232 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
235 KiCad 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
240 - pcbnew - the PCB layout program.
241 - gerbview - the Gerber (photoplotter documents) viewer.
243 %description -l pl.UTF-8
244 KiCad składa się z menadżera projektów oraz czterech głównych
246 - kicad - menadżer projektów.
247 - eeschema - edytor schematów.
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).
254 Summary: Documentation for kicad
255 Summary(fr.UTF-8): Documentations pour kicad en anglais
258 %if "%{_rpmversion}" >= "5"
263 Documentation and tutorials for kicad in English
266 Summary: Documentation for Kicad in German
267 Summary(fr.UTF-8): Documentations pour kicad en allemand
269 Requires: %{name}-doc = %{version}-%{release}
270 %if "%{_rpmversion}" >= "5"
275 Documentation and tutorials for Kicad in German
278 Summary: Documentation for Kicad in German
279 Summary(fr.UTF-8): Documentations pour kicad en allemand
281 Requires: %{name}-doc = %{version}-%{release}
282 %if "%{_rpmversion}" >= "5"
287 Documentation and tutorials for Kicad in German
290 Summary: Documentation for Kicad in Spanish
291 Summary(fr.UTF-8): Documentations pour kicad en espagnol
293 Requires: %{name}-doc = %{version}-%{release}
294 %if "%{_rpmversion}" >= "5"
299 Documentation and tutorials for Kicad in Spanish
302 Summary: Documentation for Kicad in French
303 Summary(fr.UTF-8): Documentations pour kicad en français
305 Requires: %{name}-doc = %{version}-%{release}
306 %if "%{_rpmversion}" >= "5"
311 Documentation and tutorials for Kicad in French
314 Summary: Documentation for Kicad in Hungarian
315 Summary(fr.UTF-8): Documentations pour kicad en hongrois
317 Requires: %{name}-doc = %{version}-%{release}
318 %if "%{_rpmversion}" >= "5"
323 Documentation and tutorials for Kicad in Hungarian
326 Summary: Documentation for Kicad in Italian
327 Summary(fr.UTF-8): Documentations pour kicad en italien
329 Requires: %{name}-doc = %{version}-%{release}
330 %if "%{_rpmversion}" >= "5"
335 Documentation and tutorials for Kicad in Italian
338 Summary: Documentation for Kicad in Japanese
339 Summary(fr.UTF-8): Documentations pour kicad en japonais
341 Requires: %{name}-doc = %{version}-%{release}
342 %if "%{_rpmversion}" >= "5"
347 Documentation and tutorials for Kicad in Japanese
350 Summary: Documentation for Kicad in Portuguese
351 Summary(fr.UTF-8): Documentations pour kicad en portugais
353 Requires: %{name}-doc = %{version}-%{release}
354 %if "%{_rpmversion}" >= "5"
359 Documentation and tutorials for Kicad in Portuguese
362 Summary: Documentation for Kicad in Polish
363 Summary(fr.UTF-8): Documentations pour kicad en polonais
365 Requires: %{name}-doc = %{version}-%{release}
366 %if "%{_rpmversion}" >= "5"
371 Documentation and tutorials for Kicad in Polish
374 Summary: Documentation for Kicad in Russian
375 Summary(fr.UTF-8): Documentations pour kicad en russe
377 Requires: %{name}-doc = %{version}-%{release}
378 %if "%{_rpmversion}" >= "5"
383 Documentation and tutorials for Kicad in Russian
386 %setup -q -a 1 -a 2 -a 3
394 cd %{name}-library-%{version}
396 %{__make} -j1 VERBOSE=1
400 cd %{name}-doc-%{version}
401 %cmake . -DBUILD_FORMATS=html
402 %{__make} -j1 VERBOSE=1
406 mkdir %{name}-i18n-%{version}/build
407 cd %{name}-i18n-%{version}/build
409 -DKICAD_I18N_UNIX_STRICT_PATH=ON
410 %{__make} -j1 VERBOSE=1
415 -DKICAD_SKIP_BOOST=ON \
416 -DKICAD_BUILD_VERSION="%{version}-%{release}" \
417 -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
422 rm -rf $RPM_BUILD_ROOT
426 DESTDIR=$RPM_BUILD_ROOT
429 %{__make} -C %{name}-library-%{version} install \
430 DESTDIR=$RPM_BUILD_ROOT
433 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/template
434 cp -p template/%{name}.pro $RPM_BUILD_ROOT%{_datadir}/%{name}/template
437 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
438 for S in %{sources}; do
439 P=$(basename $S |sed -n 's/\.pretty-.*/.pretty/p')
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
444 ln -f $RPM_BUILD_ROOT%{_datadir}/%{name}/template/fp-lib-table{.for-pretty,}
447 %{__make} -C %{name}-doc-%{version} install \
448 DESTDIR=$RPM_BUILD_ROOT
451 %{__make} -C %{name}-i18n-%{version}/build install \
452 DESTDIR=$RPM_BUILD_ROOT
457 %update_mime_database
458 %update_desktop_database_post
459 %update_icon_cache hicolor
462 %update_mime_database
463 %update_desktop_database_postun
464 %update_icon_cache hicolor
467 rm -rf $RPM_BUILD_ROOT
469 %files -f %{name}.lang
470 %defattr(644,root,root,755)
471 %doc AUTHORS.txt CHANGELOG.txt Documentation
472 %attr(755,root,root) %{_bindir}/bitmap2component
473 %attr(755,root,root) %{_bindir}/_cvpcb.kiface
474 %attr(755,root,root) %{_bindir}/dxf2idf
475 %attr(755,root,root) %{_bindir}/eeschema
476 %attr(755,root,root) %{_bindir}/_eeschema.kiface
477 %attr(755,root,root) %{_bindir}/gerbview
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
482 %attr(755,root,root) %{_bindir}/kicad
483 %attr(755,root,root) %{_bindir}/pcb_calculator
484 %attr(755,root,root) %{_bindir}/_pcb_calculator.kiface
485 %attr(755,root,root) %{_bindir}/pcbnew
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
489 %dir %{_libdir}/%{name}
490 %dir %{_libdir}/%{name}/plugins
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
497 %{_libdir}/%{name}/plugins/netlist_form_pads-pcb.xsl
499 %{_iconsdir}/hicolor/*x*/*/*.png
500 %{_iconsdir}/hicolor/scalable/*/*.svg
501 %{_datadir}/mime/packages/kicad.xml
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
514 %dir %{_docdir}/%{name}
515 %{_docdir}/%{name}/*.txt
518 %defattr(644,root,root,755)
519 %dir %{_docdir}/%{name}
520 %dir %{_docdir}/%{name}/help
521 %{_docdir}/%{name}/help/en
522 %{_docdir}/%{name}/scripts
525 %defattr(644,root,root,755)
526 %lang(ca) %{_docdir}/%{name}/help/ca
529 %defattr(644,root,root,755)
530 %lang(de) %{_docdir}/%{name}/help/de
533 %defattr(644,root,root,755)
534 %lang(es) %{_docdir}/%{name}/help/es
537 %defattr(644,root,root,755)
538 %lang(fr) %{_docdir}/%{name}/help/fr
541 %defattr(644,root,root,755)
542 %lang(id) %{_docdir}/%{name}/help/id
545 %defattr(644,root,root,755)
546 %lang(it) %{_docdir}/%{name}/help/it
549 %defattr(644,root,root,755)
550 %lang(ja) %{_docdir}/%{name}/help/ja
553 %defattr(644,root,root,755)
554 %lang(nl) %{_docdir}/%{name}/help/nl
557 %defattr(644,root,root,755)
558 %lang(pl) %{_docdir}/%{name}/help/pl
561 %defattr(644,root,root,755)
562 %lang(ru) %{_docdir}/%{name}/help/ru