]> git.pld-linux.org Git - packages/kicad.git/blob - kicad.spec
- Obsoletes for removed docs
[packages/kicad.git] / kicad.spec
1 # TODO:
2 # - fix mimelnk installation
3 #
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
6 Name:           kicad
7 Version:        4.0.6
8 Release:        0.1
9 License:        GPL v2+
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
20 # perl -ne 'BEGIN { $s = 100 } /uri \$\{KIGITHUB}\/([^)]*)/ and printf "Source".$s.":\thttps://github.com/KiCad/$1/archive/%{version}/$1-%{version}.tar.gz\n# Source".$s++."-md5:\t\n"'
21 # kicad-*/kicad-library-*/template/fp-lib-table.for-github
22 Source100:      https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz
23 # Source100-md5:        e343fb1de9debbfca640879433964bf5
24 Source101:      https://github.com/KiCad/Buttons_Switches_SMD.pretty/archive/%{version}/Buttons_Switches_SMD.pretty-%{version}.tar.gz
25 # Source101-md5:        4d3bd10d0d7c29dd03e91f3ee999a4cf
26 Source102:      https://github.com/KiCad/Buttons_Switches_THT.pretty/archive/%{version}/Buttons_Switches_THT.pretty-%{version}.tar.gz
27 # Source102-md5:        8e83e77abd4a2699cabcf10ca2452a37
28 Source103:      https://github.com/KiCad/Buzzers_Beepers.pretty/archive/%{version}/Buzzers_Beepers.pretty-%{version}.tar.gz
29 # Source103-md5:        0be5ca79b86e23022b9ce5947fce4657
30 Source104:      https://github.com/KiCad/Capacitors_SMD.pretty/archive/%{version}/Capacitors_SMD.pretty-%{version}.tar.gz
31 # Source104-md5:        a132bacf9268f67caa9c504398b485f6
32 Source105:      https://github.com/KiCad/Capacitors_Tantalum_SMD.pretty/archive/%{version}/Capacitors_Tantalum_SMD.pretty-%{version}.tar.gz
33 # Source105-md5:        591a022e35a0d4eb3338e36cbfc2b111
34 Source106:      https://github.com/KiCad/Capacitors_THT.pretty/archive/%{version}/Capacitors_THT.pretty-%{version}.tar.gz
35 # Source106-md5:        d2b3ec61381efeda3787c306a5f20c4d
36 Source107:      https://github.com/KiCad/Choke_Axial_ThroughHole.pretty/archive/%{version}/Choke_Axial_ThroughHole.pretty-%{version}.tar.gz
37 # Source107-md5:        9e5ac090fc1d5a8145c93c6846d1242d
38 Source108:      https://github.com/KiCad/Choke_Common-Mode_Wurth.pretty/archive/%{version}/Choke_Common-Mode_Wurth.pretty-%{version}.tar.gz
39 # Source108-md5:        1b1b159c5f598cc0487b39fbfdc854ad
40 Source109:      https://github.com/KiCad/Choke_Radial_ThroughHole.pretty/archive/%{version}/Choke_Radial_ThroughHole.pretty-%{version}.tar.gz
41 # Source109-md5:        d90b7adb66b4f8535667875cb10f4fba
42 Source110:      https://github.com/KiCad/Choke_SMD.pretty/archive/%{version}/Choke_SMD.pretty-%{version}.tar.gz
43 # Source110-md5:        ffbbec04a597c3f8313df6d52020d7a7
44 Source111:      https://github.com/KiCad/Choke_Toroid_ThroughHole.pretty/archive/%{version}/Choke_Toroid_ThroughHole.pretty-%{version}.tar.gz
45 # Source111-md5:        4bdf6343c75887d67dc80e69b8e080ba
46 Source112:      https://github.com/KiCad/Connectors_Harwin.pretty/archive/%{version}/Connectors_Harwin.pretty-%{version}.tar.gz
47 # Source112-md5:        c103d987a87bde089155421af2216c93
48 Source113:      https://github.com/KiCad/Connectors_Hirose.pretty/archive/%{version}/Connectors_Hirose.pretty-%{version}.tar.gz
49 # Source113-md5:        8d10a6d792b1a1b55459494d0374326f
50 Source114:      https://github.com/KiCad/Connectors_JAE.pretty/archive/%{version}/Connectors_JAE.pretty-%{version}.tar.gz
51 # Source114-md5:        08db63855dc67995ed483a58af85f9f7
52 Source115:      https://github.com/KiCad/Connectors_JST.pretty/archive/%{version}/Connectors_JST.pretty-%{version}.tar.gz
53 # Source115-md5:        5ce5e2bac3bf25bbeb98a4dd33632609
54 Source116:      https://github.com/KiCad/Connectors_Mini-Universal.pretty/archive/%{version}/Connectors_Mini-Universal.pretty-%{version}.tar.gz
55 # Source116-md5:        9977b9592e4789c9b1b20ab26fe301a6
56 Source117:      https://github.com/KiCad/Connectors_Molex.pretty/archive/%{version}/Connectors_Molex.pretty-%{version}.tar.gz
57 # Source117-md5:        ef7d14f881e09be9a882b0e71f4474c7
58 Source118:      https://github.com/KiCad/Connectors_Multicomp.pretty/archive/%{version}/Connectors_Multicomp.pretty-%{version}.tar.gz
59 # Source118-md5:        951ba83ee8f34e51465c75d38c246ce8
60 Source119:      https://github.com/KiCad/Connectors_Phoenix.pretty/archive/%{version}/Connectors_Phoenix.pretty-%{version}.tar.gz
61 # Source119-md5:        7d9a232d0cd195f9d2b9ed82010c2ffe
62 Source120:      https://github.com/KiCad/Connectors_Samtec.pretty/archive/%{version}/Connectors_Samtec.pretty-%{version}.tar.gz
63 # Source120-md5:        b2610848de6e1c91b2c8d30d9cd518d5
64 Source121:      https://github.com/KiCad/Connectors_TE-Connectivity.pretty/archive/%{version}/Connectors_TE-Connectivity.pretty-%{version}.tar.gz
65 # Source121-md5:        43e70e5d21e1119f8981eed40d082a8f
66 Source122:      https://github.com/KiCad/Connectors_Terminal_Blocks.pretty/archive/%{version}/Connectors_Terminal_Blocks.pretty-%{version}.tar.gz
67 # Source122-md5:        cbb75de29fe23cab12519de5c314d738
68 Source123:      https://github.com/KiCad/Connectors_WAGO.pretty/archive/%{version}/Connectors_WAGO.pretty-%{version}.tar.gz
69 # Source123-md5:        219367a04e3917ba84a61341b9a5d939
70 Source124:      https://github.com/KiCad/Connectors.pretty/archive/%{version}/Connectors.pretty-%{version}.tar.gz
71 # Source124-md5:        53358aaf6319b4963df7ed988985a13a
72 Source125:      https://github.com/KiCad/Converters_DCDC_ACDC.pretty/archive/%{version}/Converters_DCDC_ACDC.pretty-%{version}.tar.gz
73 # Source125-md5:        8876b6ace69520adc78dd752ea872fcb
74 Source126:      https://github.com/KiCad/Crystals.pretty/archive/%{version}/Crystals.pretty-%{version}.tar.gz
75 # Source126-md5:        3d156ccfcc43216f96ecfa7c3f8345b8
76 Source127:      https://github.com/KiCad/Diodes_SMD.pretty/archive/%{version}/Diodes_SMD.pretty-%{version}.tar.gz
77 # Source127-md5:        bea39235640355298ea6f14332627a18
78 Source128:      https://github.com/KiCad/Diodes_THT.pretty/archive/%{version}/Diodes_THT.pretty-%{version}.tar.gz
79 # Source128-md5:        ec77db0c94cfae709d145bcad133ed4f
80 Source129:      https://github.com/KiCad/Discret.pretty/archive/%{version}/Discret.pretty-%{version}.tar.gz
81 # Source129-md5:        49598b208de48dd7ec87586950348112
82 Source130:      https://github.com/KiCad/Displays_7-Segment.pretty/archive/%{version}/Displays_7-Segment.pretty-%{version}.tar.gz
83 # Source130-md5:        7f05ebc80504e122961ea020b42e8c3c
84 Source131:      https://github.com/KiCad/Displays.pretty/archive/%{version}/Displays.pretty-%{version}.tar.gz
85 # Source131-md5:        fae3bd280525583ab8669c3b2f48e4a7
86 Source132:      https://github.com/KiCad/Divers.pretty/archive/%{version}/Divers.pretty-%{version}.tar.gz
87 # Source132-md5:        87a7ea52f622289d4486e5c4f9f4f308
88 Source133:      https://github.com/KiCad/Enclosures.pretty/archive/%{version}/Enclosures.pretty-%{version}.tar.gz
89 # Source133-md5:        af7c0066f10c3c449c36b23559ffddf0
90 Source134:      https://github.com/KiCad/EuroBoard_Outline.pretty/archive/%{version}/EuroBoard_Outline.pretty-%{version}.tar.gz
91 # Source134-md5:        305424a4e6b51de49856e3cb12b5eedb
92 Source135:      https://github.com/KiCad/Fiducials.pretty/archive/%{version}/Fiducials.pretty-%{version}.tar.gz
93 # Source135-md5:        45c7652cfbd5e2aba589e7e594f2f401
94 Source136:      https://github.com/KiCad/Filters_HF_Coils_NEOSID.pretty/archive/%{version}/Filters_HF_Coils_NEOSID.pretty-%{version}.tar.gz
95 # Source136-md5:        52bb487182bd6a1a2245f8076259c328
96 Source137:      https://github.com/KiCad/Fuse_Holders_and_Fuses.pretty/archive/%{version}/Fuse_Holders_and_Fuses.pretty-%{version}.tar.gz
97 # Source137-md5:        cadfa005debdfc7d0c469ef48b8d26d0
98 Source138:      https://github.com/KiCad/Hall-Effect_Transducers_LEM.pretty/archive/%{version}/Hall-Effect_Transducers_LEM.pretty-%{version}.tar.gz
99 # Source138-md5:        ebb9c1b12d906f0e69376fe3fa4e5ee7
100 Source139:      https://github.com/KiCad/Heatsinks.pretty/archive/%{version}/Heatsinks.pretty-%{version}.tar.gz
101 # Source139-md5:        4a7696b52a217c1af3d76310cefc9276
102 Source140:      https://github.com/KiCad/Housings_BGA.pretty/archive/%{version}/Housings_BGA.pretty-%{version}.tar.gz
103 # Source140-md5:        1a52287e9101f75ea0a013c8896ea5ad
104 Source141:      https://github.com/KiCad/Housings_DFN_QFN.pretty/archive/%{version}/Housings_DFN_QFN.pretty-%{version}.tar.gz
105 # Source141-md5:        bfca29af9ec269b811e95f5a12d49327
106 Source142:      https://github.com/KiCad/Housings_DIP.pretty/archive/%{version}/Housings_DIP.pretty-%{version}.tar.gz
107 # Source142-md5:        806e69140a65217b6124c0c0649d6474
108 Source143:      https://github.com/KiCad/Housings_LCC.pretty/archive/%{version}/Housings_LCC.pretty-%{version}.tar.gz
109 # Source143-md5:        79a0b216aa186eab822b45fb2ab48b81
110 Source144:      https://github.com/KiCad/Housings_LGA.pretty/archive/%{version}/Housings_LGA.pretty-%{version}.tar.gz
111 # Source144-md5:        0e3ef9347f68ab03fd9e4960ef652f6c
112 Source145:      https://github.com/KiCad/Housings_PGA.pretty/archive/%{version}/Housings_PGA.pretty-%{version}.tar.gz
113 # Source145-md5:        e008414845d6d1928a4607b2511a7fed
114 Source146:      https://github.com/KiCad/Housings_QFP.pretty/archive/%{version}/Housings_QFP.pretty-%{version}.tar.gz
115 # Source146-md5:        36ff18521539dcc036a421af4a3eeea1
116 Source147:      https://github.com/KiCad/Housings_SIP.pretty/archive/%{version}/Housings_SIP.pretty-%{version}.tar.gz
117 # Source147-md5:        5d5d071ba919c686fee70c1fe33360d7
118 Source148:      https://github.com/KiCad/Housings_SOIC.pretty/archive/%{version}/Housings_SOIC.pretty-%{version}.tar.gz
119 # Source148-md5:        6cf7b9bf4f6fba01c3bef5d4b81b7b01
120 Source149:      https://github.com/KiCad/Housings_SSOP.pretty/archive/%{version}/Housings_SSOP.pretty-%{version}.tar.gz
121 # Source149-md5:        462ad43dc28523cbd148f661aac26190
122 Source150:      https://github.com/KiCad/Inductors_NEOSID.pretty/archive/%{version}/Inductors_NEOSID.pretty-%{version}.tar.gz
123 # Source150-md5:        6fc983a43dccd17739d3cefa637a6005
124 Source151:      https://github.com/KiCad/Inductors.pretty/archive/%{version}/Inductors.pretty-%{version}.tar.gz
125 # Source151-md5:        99cfe2b7fcbfa170259c5ad94694ffee
126 Source152:      https://github.com/KiCad/Inductors_SMD.pretty/archive/%{version}/Inductors_SMD.pretty-%{version}.tar.gz
127 # Source152-md5:        6e2e634595a9f0bcb8a1ba9c884fee5f
128 Source153:      https://github.com/KiCad/Inductors_THT.pretty/archive/%{version}/Inductors_THT.pretty-%{version}.tar.gz
129 # Source153-md5:        ed47a1aed878619170cb2d104bf34992
130 Source154:      https://github.com/KiCad/IR-DirectFETs.pretty/archive/%{version}/IR-DirectFETs.pretty-%{version}.tar.gz
131 # Source154-md5:        baad0378907a45ce847e7c53d9d0fc36
132 Source155:      https://github.com/KiCad/Labels.pretty/archive/%{version}/Labels.pretty-%{version}.tar.gz
133 # Source155-md5:        e094fa074bd2252fa99e92021c1e3c3d
134 Source156:      https://github.com/KiCad/LEDs.pretty/archive/%{version}/LEDs.pretty-%{version}.tar.gz
135 # Source156-md5:        f40658749082dbb8f2b123dc3d8b9e6b
136 Source157:      https://github.com/KiCad/Measurement_Points.pretty/archive/%{version}/Measurement_Points.pretty-%{version}.tar.gz
137 # Source157-md5:        be7400d113165b932c38a83d0e1a81c6
138 Source158:      https://github.com/KiCad/Measurement_Scales.pretty/archive/%{version}/Measurement_Scales.pretty-%{version}.tar.gz
139 # Source158-md5:        f1d2226dcb04a6bbd83aba8b701d9df0
140 Source159:      https://github.com/KiCad/Mechanical_Sockets.pretty/archive/%{version}/Mechanical_Sockets.pretty-%{version}.tar.gz
141 # Source159-md5:        904a2beaf0b3cd03465aa50b22577f3f
142 Source160:      https://github.com/KiCad/Microwave.pretty/archive/%{version}/Microwave.pretty-%{version}.tar.gz
143 # Source160-md5:        c370a2b3cf5b284f98e6b264f0818726
144 Source161:      https://github.com/KiCad/Modules.pretty/archive/%{version}/Modules.pretty-%{version}.tar.gz
145 # Source161-md5:        4a501a24a6355fe814a884b94d162b22
146 Source162:      https://github.com/KiCad/Mounting_Holes.pretty/archive/%{version}/Mounting_Holes.pretty-%{version}.tar.gz
147 # Source162-md5:        7cc6b71a4e1f4c15db62fa8ba1c97d37
148 Source163:      https://github.com/KiCad/NF-Transformers_ETAL.pretty/archive/%{version}/NF-Transformers_ETAL.pretty-%{version}.tar.gz
149 # Source163-md5:        819b22b813b3fb7d09125cb4c3f05639
150 Source164:      https://github.com/KiCad/Oddities.pretty/archive/%{version}/Oddities.pretty-%{version}.tar.gz
151 # Source164-md5:        a93fa061e420ea397efa790f01e2a462
152 Source165:      https://github.com/KiCad/Opto-Devices.pretty/archive/%{version}/Opto-Devices.pretty-%{version}.tar.gz
153 # Source165-md5:        e5de89a96ca7bbabc3f1c82df09d2f90
154 Source166:      https://github.com/KiCad/Oscillators.pretty/archive/%{version}/Oscillators.pretty-%{version}.tar.gz
155 # Source166-md5:        8e38ea216c960a56fad2a32ab491bff7
156 Source167:      https://github.com/KiCad/PFF_PSF_PSS_Leadforms.pretty/archive/%{version}/PFF_PSF_PSS_Leadforms.pretty-%{version}.tar.gz
157 # Source167-md5:        597792f8c3b5a9e12902d597ea1fc132
158 Source168:      https://github.com/KiCad/Pin_Headers.pretty/archive/%{version}/Pin_Headers.pretty-%{version}.tar.gz
159 # Source168-md5:        5130d2e64fb526b5e037b9c04499a098
160 Source169:      https://github.com/KiCad/Potentiometers.pretty/archive/%{version}/Potentiometers.pretty-%{version}.tar.gz
161 # Source169-md5:        3db69082756229d2ec4c3a50848ffd28
162 Source170:      https://github.com/KiCad/Power_Integrations.pretty/archive/%{version}/Power_Integrations.pretty-%{version}.tar.gz
163 # Source170-md5:        ddbcc3767e163fe5789454de8735ba80
164 Source171:      https://github.com/KiCad/Relays_THT.pretty/archive/%{version}/Relays_THT.pretty-%{version}.tar.gz
165 # Source171-md5:        51494d7db9eabccea483c7f4c5d17f50
166 Source172:      https://github.com/KiCad/Resistors_SMD.pretty/archive/%{version}/Resistors_SMD.pretty-%{version}.tar.gz
167 # Source172-md5:        32f760a5bd68397bf7d8bfb2622b7038
168 Source173:      https://github.com/KiCad/Resistors_THT.pretty/archive/%{version}/Resistors_THT.pretty-%{version}.tar.gz
169 # Source173-md5:        7f3e3a656b94b4ec3ad59f841f8e1149
170 Source174:      https://github.com/KiCad/Resistors_Universal.pretty/archive/%{version}/Resistors_Universal.pretty-%{version}.tar.gz
171 # Source174-md5:        c35311f20f8c816244000b4d85fb6e8f
172 Source175:      https://github.com/KiCad/RF_Modules.pretty/archive/%{version}/RF_Modules.pretty-%{version}.tar.gz
173 # Source175-md5:        22df000a3a8fb16f9306015f2decea6a
174 Source176:      https://github.com/KiCad/Shielding_Cabinets.pretty/archive/%{version}/Shielding_Cabinets.pretty-%{version}.tar.gz
175 # Source176-md5:        7afa82ede121a46158d30a848002947d
176 Source177:      https://github.com/KiCad/SMD_Packages.pretty/archive/%{version}/SMD_Packages.pretty-%{version}.tar.gz
177 # Source177-md5:        ee99961ab96b360a446a5790c184a129
178 Source178:      https://github.com/KiCad/Sockets_MOLEX_KK-System.pretty/archive/%{version}/Sockets_MOLEX_KK-System.pretty-%{version}.tar.gz
179 # Source178-md5:        9c5f6f092156c138856e819cd245cb43
180 Source179:      https://github.com/KiCad/Socket_Strips.pretty/archive/%{version}/Socket_Strips.pretty-%{version}.tar.gz
181 # Source179-md5:        7ab96152fe961849944936e69671f99b
182 Source180:      https://github.com/KiCad/Sockets.pretty/archive/%{version}/Sockets.pretty-%{version}.tar.gz
183 # Source180-md5:        bd381d3f2222675e4f259f15f918c512
184 Source181:      https://github.com/KiCad/Symbols.pretty/archive/%{version}/Symbols.pretty-%{version}.tar.gz
185 # Source181-md5:        16185826b1eb27200c30ef972f7468cd
186 Source182:      https://github.com/KiCad/TO_SOT_Packages_SMD.pretty/archive/%{version}/TO_SOT_Packages_SMD.pretty-%{version}.tar.gz
187 # Source182-md5:        38addd895c3711539e291d5f86f27807
188 Source183:      https://github.com/KiCad/TO_SOT_Packages_THT.pretty/archive/%{version}/TO_SOT_Packages_THT.pretty-%{version}.tar.gz
189 # Source183-md5:        3a0c96fcec348fd7daf856e0351d0435
190 Source184:      https://github.com/KiCad/Transformers_CHK.pretty/archive/%{version}/Transformers_CHK.pretty-%{version}.tar.gz
191 # Source184-md5:        c9f4c477a7b3ee99258f0eb8d07eb2ad
192 Source185:      https://github.com/KiCad/Transformers_SMD.pretty/archive/%{version}/Transformers_SMD.pretty-%{version}.tar.gz
193 # Source185-md5:        9f3a326a296b10ea529d349d670b593e
194 Source186:      https://github.com/KiCad/Transformers_SMPS_ThroughHole.pretty/archive/%{version}/Transformers_SMPS_ThroughHole.pretty-%{version}.tar.gz
195 # Source186-md5:        bd6a05c82e5fa34771dc9b039c38279a
196 Source187:      https://github.com/KiCad/Transformers_THT.pretty/archive/%{version}/Transformers_THT.pretty-%{version}.tar.gz
197 # Source187-md5:        8f1fafb159a5890abb9cc1fe3f24543a
198 Source188:      https://github.com/KiCad/Transistors_OldSowjetAera.pretty/archive/%{version}/Transistors_OldSowjetAera.pretty-%{version}.tar.gz
199 # Source188-md5:        bad332b6c0097a4179611a7f86eddee2
200 Source189:      https://github.com/KiCad/Valves.pretty/archive/%{version}/Valves.pretty-%{version}.tar.gz
201 # Source189-md5:        0cef210c06a05af4f011fe73bd9d8f83
202 Source190:      https://github.com/KiCad/Varistors.pretty/archive/%{version}/Varistors.pretty-%{version}.tar.gz
203 # Source190-md5:        a18138206bf52efbdc37d448648b7e04
204 Source191:      https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz
205 # Source191-md5:        1724a3899fb5b483bf224da6a6db2650
206 Source192:      https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz
207 # Source192-md5:        06e3b9d0bb1be074b5693000736797db
208 Patch0:         nostrip.patch
209 # https://code.launchpad.net/~lkundrak/kicad/appstream-data/+merge/293391
210 Patch1:         appstream.patch
211 Patch2:         boost-1.61.patch
212 Patch3:         cmake.patch
213 URL:            http://www.kicad-pcb.org/
214 BuildRequires:  appstream-glib
215 BuildRequires:  asciidoc
216 BuildRequires:  boost-devel
217 BuildRequires:  cmake >= 2.6.4
218 BuildRequires:  curl-devel
219 BuildRequires:  dblatex
220 BuildRequires:  desktop-file-utils
221 BuildRequires:  doxygen
222 BuildRequires:  glew-devel
223 BuildRequires:  openssl-devel
224 BuildRequires:  perl-Unicode-LineBreak
225 BuildRequires:  po4a >= 0.51
226 BuildRequires:  rpmbuild(macros) >= 1.600
227 BuildRequires:  sed >= 4.0
228 BuildRequires:  which
229 BuildRequires:  wxGTK2-unicode-devel >= 3.0.0
230 BuildRequires:  wxGTK2-unicode-gl-devel >= 3.0.0
231 BuildRequires:  wxWidgets-devel >= 3.0.0
232 BuildRequires:  zlib-devel
233 Obsoletes:      kicad-doc-hu < 4.0.6-1
234 Obsoletes:      kicad-doc-pt < 4.0.6-1
235 Obsoletes:      kicad-doc-zh_CN < 4.0.6-1
236 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
237
238 %description
239 KiCad consists of a project manager and four main programs:
240 - kicad - the project manager.
241 - eeschema - the schematic editor.
242 - cvpcb - the footprint selector for components used in the circuit
243   design.
244 - pcbnew - the PCB layout program.
245 - gerbview - the Gerber (photoplotter documents) viewer.
246
247 %description -l pl.UTF-8
248 KiCad składa się z menadżera projektów oraz czterech głównych
249 programów:
250 - kicad - menadżer projektów.
251 - eeschema - edytor schematów.
252 - cvpcb - narzędzie do wybierania elementów używanych przy
253   projektowaniu płytek drukowanych.
254 - pcbnew - program do projektowania płytek drukowanych.
255 - gerbview - przeglądarka plików Gerber (dokumentów dla fotoplotera).
256
257 %package doc
258 Summary:        Documentation for kicad
259 Summary(fr.UTF-8):      Documentations pour kicad en anglais
260 License:        GPL v2+
261 Group:          Documentation
262 %if "%{_rpmversion}" >= "5"
263 BuildArch:      noarch
264 %endif
265
266 %description doc
267 Documentation and tutorials for kicad in English
268
269 %package doc-ca
270 Summary:        Documentation for Kicad in German
271 Summary(fr.UTF-8):      Documentations pour kicad en allemand
272 Group:          Documentation
273 Requires:       %{name}-doc = %{version}-%{release}
274 %if "%{_rpmversion}" >= "5"
275 BuildArch:      noarch
276 %endif
277
278 %description doc-ca
279 Documentation and tutorials for Kicad in German
280
281 %package doc-de
282 Summary:        Documentation for Kicad in German
283 Summary(fr.UTF-8):      Documentations pour kicad en allemand
284 Group:          Documentation
285 Requires:       %{name}-doc = %{version}-%{release}
286 %if "%{_rpmversion}" >= "5"
287 BuildArch:      noarch
288 %endif
289
290 %description doc-de
291 Documentation and tutorials for Kicad in German
292
293 %package doc-es
294 Summary:        Documentation for Kicad in Spanish
295 Summary(fr.UTF-8):      Documentations pour kicad en espagnol
296 Group:          Documentation
297 Requires:       %{name}-doc = %{version}-%{release}
298 %if "%{_rpmversion}" >= "5"
299 BuildArch:      noarch
300 %endif
301
302 %description doc-es
303 Documentation and tutorials for Kicad in Spanish
304
305 %package doc-fr
306 Summary:        Documentation for Kicad in French
307 Summary(fr.UTF-8):      Documentations pour kicad en français
308 Group:          Documentation
309 Requires:       %{name}-doc = %{version}-%{release}
310 %if "%{_rpmversion}" >= "5"
311 BuildArch:      noarch
312 %endif
313
314 %description doc-fr
315 Documentation and tutorials for Kicad in French
316
317 %package doc-id
318 Summary:        Documentation for Kicad in Hungarian
319 Summary(fr.UTF-8):      Documentations pour kicad en hongrois
320 Group:          Documentation
321 Requires:       %{name}-doc = %{version}-%{release}
322 %if "%{_rpmversion}" >= "5"
323 BuildArch:      noarch
324 %endif
325
326 %description doc-id
327 Documentation and tutorials for Kicad in Hungarian
328
329 %package doc-it
330 Summary:        Documentation for Kicad in Italian
331 Summary(fr.UTF-8):      Documentations pour kicad en italien
332 Group:          Documentation
333 Requires:       %{name}-doc = %{version}-%{release}
334 %if "%{_rpmversion}" >= "5"
335 BuildArch:      noarch
336 %endif
337
338 %description doc-it
339 Documentation and tutorials for Kicad in Italian
340
341 %package doc-ja
342 Summary:        Documentation for Kicad in Japanese
343 Summary(fr.UTF-8):      Documentations pour kicad en japonais
344 Group:          Documentation
345 Requires:       %{name}-doc = %{version}-%{release}
346 %if "%{_rpmversion}" >= "5"
347 BuildArch:      noarch
348 %endif
349
350 %description doc-ja
351 Documentation and tutorials for Kicad in Japanese
352
353 %package doc-nl
354 Summary:        Documentation for Kicad in Portuguese
355 Summary(fr.UTF-8):      Documentations pour kicad en portugais
356 Group:          Documentation
357 Requires:       %{name}-doc = %{version}-%{release}
358 %if "%{_rpmversion}" >= "5"
359 BuildArch:      noarch
360 %endif
361
362 %description doc-nl
363 Documentation and tutorials for Kicad in Portuguese
364
365 %package doc-pl
366 Summary:        Documentation for Kicad in Polish
367 Summary(fr.UTF-8):      Documentations pour kicad en polonais
368 Group:          Documentation
369 Requires:       %{name}-doc = %{version}-%{release}
370 %if "%{_rpmversion}" >= "5"
371 BuildArch:      noarch
372 %endif
373
374 %description doc-pl
375 Documentation and tutorials for Kicad in Polish
376
377 %package doc-ru
378 Summary:        Documentation for Kicad in Russian
379 Summary(fr.UTF-8):      Documentations pour kicad en russe
380 Group:          Documentation
381 Requires:       %{name}-doc = %{version}-%{release}
382 %if "%{_rpmversion}" >= "5"
383 BuildArch:      noarch
384 %endif
385
386 %description doc-ru
387 Documentation and tutorials for Kicad in Russian
388
389 %prep
390 %setup -q -a 1 -a 2 -a 3
391 %setup -qD %(seq -f '-a %g' 100 192 | xargs)
392
393 %patch0 -p1
394 %patch1 -p1
395 %patch2 -p1
396 %patch3 -p1
397
398 install -d modules
399 for module in *.pretty-*; do
400         %{__mv} $module modules/${module%%.pretty-*}
401 done
402
403 %build
404 # Symbols libraries
405 mkdir %{name}-library-%{version}/build
406 cd %{name}-library-%{version}/build
407 %cmake ..
408 %{__make} -j1 VERBOSE=1
409 cd ../..
410
411 # Documentation
412 mkdir %{name}-doc-%{version}/build
413 cd %{name}-doc-%{version}/build
414 %cmake .. \
415         -DBUILD_FORMATS=html
416 %{__make} -j1 VERBOSE=1
417 cd ../..
418
419 # Translations
420 mkdir %{name}-i18n-%{version}/build
421 cd %{name}-i18n-%{version}/build
422 %cmake .. \
423         -DKICAD_I18N_UNIX_STRICT_PATH=ON
424 %{__make} -j1 VERBOSE=1
425 cd ../..
426
427 # Core components
428 mkdir build
429 cd build
430 %cmake .. \
431         -DKICAD_SKIP_BOOST=ON \
432         -DKICAD_BUILD_VERSION="%{version}-%{release}" \
433         -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
434
435 %{__make} VERBOSE=1
436
437 %install
438 rm -rf $RPM_BUILD_ROOT
439
440 # KiCAD itself
441 %{__make} -C build install \
442         DESTDIR=$RPM_BUILD_ROOT
443
444 # Symbols libraries
445 %{__make} -C %{name}-library-%{version}/build install \
446         DESTDIR=$RPM_BUILD_ROOT
447
448 # Documentation
449 %{__make} -C %{name}-doc-%{version}/build install \
450         DESTDIR=$RPM_BUILD_ROOT
451
452 # Translations
453 %{__make} -C %{name}-i18n-%{version}/build install \
454         DESTDIR=$RPM_BUILD_ROOT
455
456 # install template
457 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/template
458 cp -p template/%{name}.pro $RPM_BUILD_ROOT%{_datadir}/%{name}/template
459
460 # Footprints
461 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
462 cp -a modules/* $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
463 ln -f $RPM_BUILD_ROOT%{_datadir}/%{name}/template/fp-lib-table{.for-pretty,}
464
465 %find_lang %{name}
466
467 %post
468 %update_mime_database
469 %update_desktop_database_post
470 %update_icon_cache hicolor
471
472 %postun
473 %update_mime_database
474 %update_desktop_database_postun
475 %update_icon_cache hicolor
476
477 %clean
478 rm -rf $RPM_BUILD_ROOT
479
480 %files -f %{name}.lang
481 %defattr(644,root,root,755)
482 %doc AUTHORS.txt CHANGELOG.txt Documentation
483 %attr(755,root,root) %{_bindir}/bitmap2component
484 %attr(755,root,root) %{_bindir}/_cvpcb.kiface
485 %attr(755,root,root) %{_bindir}/dxf2idf
486 %attr(755,root,root) %{_bindir}/eeschema
487 %attr(755,root,root) %{_bindir}/_eeschema.kiface
488 %attr(755,root,root) %{_bindir}/gerbview
489 %attr(755,root,root) %{_bindir}/_gerbview.kiface
490 %attr(755,root,root) %{_bindir}/idf2vrml
491 %attr(755,root,root) %{_bindir}/idfcyl
492 %attr(755,root,root) %{_bindir}/idfrect
493 %attr(755,root,root) %{_bindir}/kicad
494 %attr(755,root,root) %{_bindir}/pcb_calculator
495 %attr(755,root,root) %{_bindir}/_pcb_calculator.kiface
496 %attr(755,root,root) %{_bindir}/pcbnew
497 %attr(755,root,root) %{_bindir}/_pcbnew.kiface
498 %attr(755,root,root) %{_bindir}/pl_editor
499 %attr(755,root,root) %{_bindir}/_pl_editor.kiface
500 %dir %{_libdir}/%{name}
501 %dir %{_libdir}/%{name}/plugins
502 %{_libdir}/%{name}/plugins/bom2csv.xsl
503 %{_libdir}/%{name}/plugins/bom_cvs.xsl
504 %{_libdir}/%{name}/plugins/bom_with_title_block_2_csv.xsl
505 %{_libdir}/%{name}/plugins/netlist_form_cadstar-RINF.xsl
506 %{_libdir}/%{name}/plugins/netlist_form_cadstar.xsl
507 %{_libdir}/%{name}/plugins/netlist_form_OrcadPcb2.xsl
508 %{_libdir}/%{name}/plugins/netlist_form_pads-pcb.xsl
509 %{_datadir}/%{name}
510 %{_iconsdir}/hicolor/*x*/*/*.png
511 %{_iconsdir}/hicolor/scalable/*/*.svg
512 %{_datadir}/mime/packages/kicad.xml
513 %{_datadir}/appdata/kicad.appdata.xml
514 %{_desktopdir}/eeschema.desktop
515 %{_desktopdir}/%{name}.desktop
516 %{_desktopdir}/bitmap2component.desktop
517 %{_desktopdir}/cvpcb.desktop
518 %{_desktopdir}/gerbview.desktop
519 %{_desktopdir}/pcbcalculator.desktop
520 %{_desktopdir}/pcbnew.desktop
521 #%{_datadir}/mimelnk/application/x-kicad-pcb.desktop
522 #%{_datadir}/mimelnk/application/x-kicad-project.desktop
523 #%{_datadir}/mimelnk/application/x-kicad-schematic.desktop
524
525 %dir %{_docdir}/%{name}
526 %{_docdir}/%{name}/*.txt
527
528 %files doc
529 %defattr(644,root,root,755)
530 %dir %{_docdir}/%{name}
531 %dir %{_docdir}/%{name}/help
532 %{_docdir}/%{name}/help/en
533 %{_docdir}/%{name}/scripts
534
535 %files doc-ca
536 %defattr(644,root,root,755)
537 %lang(ca) %{_docdir}/%{name}/help/ca
538
539 %files doc-de
540 %defattr(644,root,root,755)
541 %lang(de) %{_docdir}/%{name}/help/de
542
543 %files doc-es
544 %defattr(644,root,root,755)
545 %lang(es) %{_docdir}/%{name}/help/es
546
547 %files doc-fr
548 %defattr(644,root,root,755)
549 %lang(fr) %{_docdir}/%{name}/help/fr
550
551 %files doc-id
552 %defattr(644,root,root,755)
553 %lang(id) %{_docdir}/%{name}/help/id
554
555 %files doc-it
556 %defattr(644,root,root,755)
557 %lang(it) %{_docdir}/%{name}/help/it
558
559 %files doc-ja
560 %defattr(644,root,root,755)
561 %lang(ja) %{_docdir}/%{name}/help/ja
562
563 %files doc-nl
564 %defattr(644,root,root,755)
565 %lang(nl) %{_docdir}/%{name}/help/nl
566
567 %files doc-pl
568 %defattr(644,root,root,755)
569 %lang(pl) %{_docdir}/%{name}/help/pl
570
571 %files doc-ru
572 %defattr(644,root,root,755)
573 %lang(ru) %{_docdir}/%{name}/help/ru
This page took 0.136608 seconds and 4 git commands to generate.