[packages/kicad] - prep/build/install cleanup

baggins baggins at pld-linux.org
Sun Apr 16 13:23:22 CEST 2017


commit ed1b91c8c264337bcf85095b12db68d01021584c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 16 13:18:21 2017 +0200

    - prep/build/install cleanup

 kicad.spec | 428 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 218 insertions(+), 210 deletions(-)
---
diff --git a/kicad.spec b/kicad.spec
index 47e3720..a0c2503 100644
--- a/kicad.spec
+++ b/kicad.spec
@@ -16,194 +16,195 @@ Source2:	https://github.com/KiCad/kicad-library/archive/%{version}/%{name}-libra
 # Source2-md5:	325ca078191584cd063835e01ecabd67
 Source3:	https://github.com/KiCad/kicad-i18n/archive/%{version}/%{name}-i18n-%{version}.tar.gz
 # Source3-md5:	6680338a8b23e7d651bb30cbba04e2b3
-# 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++.":"' \
+
+# 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"'
 # kicad-*/kicad-library-*/template/fp-lib-table.for-github
-Source4:	https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz
-# Source4-md5:	e343fb1de9debbfca640879433964bf5
-Source5:	https://github.com/KiCad/Buttons_Switches_SMD.pretty/archive/%{version}/Buttons_Switches_SMD.pretty-%{version}.tar.gz
-# Source5-md5:	4d3bd10d0d7c29dd03e91f3ee999a4cf
-Source6:	https://github.com/KiCad/Buttons_Switches_THT.pretty/archive/%{version}/Buttons_Switches_THT.pretty-%{version}.tar.gz
-# Source6-md5:	8e83e77abd4a2699cabcf10ca2452a37
-Source7:	https://github.com/KiCad/Buzzers_Beepers.pretty/archive/%{version}/Buzzers_Beepers.pretty-%{version}.tar.gz
-# Source7-md5:	0be5ca79b86e23022b9ce5947fce4657
-Source8:	https://github.com/KiCad/Capacitors_SMD.pretty/archive/%{version}/Capacitors_SMD.pretty-%{version}.tar.gz
-# Source8-md5:	a132bacf9268f67caa9c504398b485f6
-Source9:	https://github.com/KiCad/Capacitors_Tantalum_SMD.pretty/archive/%{version}/Capacitors_Tantalum_SMD.pretty-%{version}.tar.gz
-# Source9-md5:	591a022e35a0d4eb3338e36cbfc2b111
-Source10:	https://github.com/KiCad/Capacitors_THT.pretty/archive/%{version}/Capacitors_THT.pretty-%{version}.tar.gz
-# Source10-md5:	d2b3ec61381efeda3787c306a5f20c4d
-Source11:	https://github.com/KiCad/Choke_Axial_ThroughHole.pretty/archive/%{version}/Choke_Axial_ThroughHole.pretty-%{version}.tar.gz
-# Source11-md5:	9e5ac090fc1d5a8145c93c6846d1242d
-Source12:	https://github.com/KiCad/Choke_Common-Mode_Wurth.pretty/archive/%{version}/Choke_Common-Mode_Wurth.pretty-%{version}.tar.gz
-# Source12-md5:	1b1b159c5f598cc0487b39fbfdc854ad
-Source13:	https://github.com/KiCad/Choke_Radial_ThroughHole.pretty/archive/%{version}/Choke_Radial_ThroughHole.pretty-%{version}.tar.gz
-# Source13-md5:	d90b7adb66b4f8535667875cb10f4fba
-Source14:	https://github.com/KiCad/Choke_SMD.pretty/archive/%{version}/Choke_SMD.pretty-%{version}.tar.gz
-# Source14-md5:	ffbbec04a597c3f8313df6d52020d7a7
-Source15:	https://github.com/KiCad/Choke_Toroid_ThroughHole.pretty/archive/%{version}/Choke_Toroid_ThroughHole.pretty-%{version}.tar.gz
-# Source15-md5:	4bdf6343c75887d67dc80e69b8e080ba
-Source16:	https://github.com/KiCad/Connectors_Harwin.pretty/archive/%{version}/Connectors_Harwin.pretty-%{version}.tar.gz
-# Source16-md5:	c103d987a87bde089155421af2216c93
-Source17:	https://github.com/KiCad/Connectors_Hirose.pretty/archive/%{version}/Connectors_Hirose.pretty-%{version}.tar.gz
-# Source17-md5:	8d10a6d792b1a1b55459494d0374326f
-Source18:	https://github.com/KiCad/Connectors_JAE.pretty/archive/%{version}/Connectors_JAE.pretty-%{version}.tar.gz
-# Source18-md5:	08db63855dc67995ed483a58af85f9f7
-Source19:	https://github.com/KiCad/Connectors_JST.pretty/archive/%{version}/Connectors_JST.pretty-%{version}.tar.gz
-# Source19-md5:	5ce5e2bac3bf25bbeb98a4dd33632609
-Source20:	https://github.com/KiCad/Connectors_Mini-Universal.pretty/archive/%{version}/Connectors_Mini-Universal.pretty-%{version}.tar.gz
-# Source20-md5:	9977b9592e4789c9b1b20ab26fe301a6
-Source21:	https://github.com/KiCad/Connectors_Molex.pretty/archive/%{version}/Connectors_Molex.pretty-%{version}.tar.gz
-# Source21-md5:	ef7d14f881e09be9a882b0e71f4474c7
-Source22:	https://github.com/KiCad/Connectors_Multicomp.pretty/archive/%{version}/Connectors_Multicomp.pretty-%{version}.tar.gz
-# Source22-md5:	951ba83ee8f34e51465c75d38c246ce8
-Source23:	https://github.com/KiCad/Connectors_Phoenix.pretty/archive/%{version}/Connectors_Phoenix.pretty-%{version}.tar.gz
-# Source23-md5:	7d9a232d0cd195f9d2b9ed82010c2ffe
-Source24:	https://github.com/KiCad/Connectors_Samtec.pretty/archive/%{version}/Connectors_Samtec.pretty-%{version}.tar.gz
-# Source24-md5:	b2610848de6e1c91b2c8d30d9cd518d5
-Source25:	https://github.com/KiCad/Connectors_TE-Connectivity.pretty/archive/%{version}/Connectors_TE-Connectivity.pretty-%{version}.tar.gz
-# Source25-md5:	43e70e5d21e1119f8981eed40d082a8f
-Source26:	https://github.com/KiCad/Connectors_Terminal_Blocks.pretty/archive/%{version}/Connectors_Terminal_Blocks.pretty-%{version}.tar.gz
-# Source26-md5:	cbb75de29fe23cab12519de5c314d738
-Source27:	https://github.com/KiCad/Connectors_WAGO.pretty/archive/%{version}/Connectors_WAGO.pretty-%{version}.tar.gz
-# Source27-md5:	219367a04e3917ba84a61341b9a5d939
-Source28:	https://github.com/KiCad/Connectors.pretty/archive/%{version}/Connectors.pretty-%{version}.tar.gz
-# Source28-md5:	53358aaf6319b4963df7ed988985a13a
-Source29:	https://github.com/KiCad/Converters_DCDC_ACDC.pretty/archive/%{version}/Converters_DCDC_ACDC.pretty-%{version}.tar.gz
-# Source29-md5:	8876b6ace69520adc78dd752ea872fcb
-Source30:	https://github.com/KiCad/Crystals.pretty/archive/%{version}/Crystals.pretty-%{version}.tar.gz
-# Source30-md5:	3d156ccfcc43216f96ecfa7c3f8345b8
-Source31:	https://github.com/KiCad/Diodes_SMD.pretty/archive/%{version}/Diodes_SMD.pretty-%{version}.tar.gz
-# Source31-md5:	bea39235640355298ea6f14332627a18
-Source32:	https://github.com/KiCad/Diodes_THT.pretty/archive/%{version}/Diodes_THT.pretty-%{version}.tar.gz
-# Source32-md5:	ec77db0c94cfae709d145bcad133ed4f
-Source33:	https://github.com/KiCad/Discret.pretty/archive/%{version}/Discret.pretty-%{version}.tar.gz
-# Source33-md5:	49598b208de48dd7ec87586950348112
-Source34:	https://github.com/KiCad/Displays_7-Segment.pretty/archive/%{version}/Displays_7-Segment.pretty-%{version}.tar.gz
-# Source34-md5:	7f05ebc80504e122961ea020b42e8c3c
-Source35:	https://github.com/KiCad/Displays.pretty/archive/%{version}/Displays.pretty-%{version}.tar.gz
-# Source35-md5:	fae3bd280525583ab8669c3b2f48e4a7
-Source36:	https://github.com/KiCad/Divers.pretty/archive/%{version}/Divers.pretty-%{version}.tar.gz
-# Source36-md5:	87a7ea52f622289d4486e5c4f9f4f308
-Source37:	https://github.com/KiCad/Enclosures.pretty/archive/%{version}/Enclosures.pretty-%{version}.tar.gz
-# Source37-md5:	af7c0066f10c3c449c36b23559ffddf0
-Source38:	https://github.com/KiCad/EuroBoard_Outline.pretty/archive/%{version}/EuroBoard_Outline.pretty-%{version}.tar.gz
-# Source38-md5:	305424a4e6b51de49856e3cb12b5eedb
-Source39:	https://github.com/KiCad/Fiducials.pretty/archive/%{version}/Fiducials.pretty-%{version}.tar.gz
-# Source39-md5:	45c7652cfbd5e2aba589e7e594f2f401
-Source40:	https://github.com/KiCad/Filters_HF_Coils_NEOSID.pretty/archive/%{version}/Filters_HF_Coils_NEOSID.pretty-%{version}.tar.gz
-# Source40-md5:	52bb487182bd6a1a2245f8076259c328
-Source41:	https://github.com/KiCad/Fuse_Holders_and_Fuses.pretty/archive/%{version}/Fuse_Holders_and_Fuses.pretty-%{version}.tar.gz
-# Source41-md5:	cadfa005debdfc7d0c469ef48b8d26d0
-Source42:	https://github.com/KiCad/Hall-Effect_Transducers_LEM.pretty/archive/%{version}/Hall-Effect_Transducers_LEM.pretty-%{version}.tar.gz
-# Source42-md5:	ebb9c1b12d906f0e69376fe3fa4e5ee7
-Source43:	https://github.com/KiCad/Heatsinks.pretty/archive/%{version}/Heatsinks.pretty-%{version}.tar.gz
-# Source43-md5:	4a7696b52a217c1af3d76310cefc9276
-Source44:	https://github.com/KiCad/Housings_BGA.pretty/archive/%{version}/Housings_BGA.pretty-%{version}.tar.gz
-# Source44-md5:	1a52287e9101f75ea0a013c8896ea5ad
-Source45:	https://github.com/KiCad/Housings_DFN_QFN.pretty/archive/%{version}/Housings_DFN_QFN.pretty-%{version}.tar.gz
-# Source45-md5:	bfca29af9ec269b811e95f5a12d49327
-Source46:	https://github.com/KiCad/Housings_DIP.pretty/archive/%{version}/Housings_DIP.pretty-%{version}.tar.gz
-# Source46-md5:	806e69140a65217b6124c0c0649d6474
-Source47:	https://github.com/KiCad/Housings_LCC.pretty/archive/%{version}/Housings_LCC.pretty-%{version}.tar.gz
-# Source47-md5:	79a0b216aa186eab822b45fb2ab48b81
-Source48:	https://github.com/KiCad/Housings_LGA.pretty/archive/%{version}/Housings_LGA.pretty-%{version}.tar.gz
-# Source48-md5:	0e3ef9347f68ab03fd9e4960ef652f6c
-Source49:	https://github.com/KiCad/Housings_PGA.pretty/archive/%{version}/Housings_PGA.pretty-%{version}.tar.gz
-# Source49-md5:	e008414845d6d1928a4607b2511a7fed
-Source50:	https://github.com/KiCad/Housings_QFP.pretty/archive/%{version}/Housings_QFP.pretty-%{version}.tar.gz
-# Source50-md5:	36ff18521539dcc036a421af4a3eeea1
-Source51:	https://github.com/KiCad/Housings_SIP.pretty/archive/%{version}/Housings_SIP.pretty-%{version}.tar.gz
-# Source51-md5:	5d5d071ba919c686fee70c1fe33360d7
-Source52:	https://github.com/KiCad/Housings_SOIC.pretty/archive/%{version}/Housings_SOIC.pretty-%{version}.tar.gz
-# Source52-md5:	6cf7b9bf4f6fba01c3bef5d4b81b7b01
-Source53:	https://github.com/KiCad/Housings_SSOP.pretty/archive/%{version}/Housings_SSOP.pretty-%{version}.tar.gz
-# Source53-md5:	462ad43dc28523cbd148f661aac26190
-Source54:	https://github.com/KiCad/Inductors_NEOSID.pretty/archive/%{version}/Inductors_NEOSID.pretty-%{version}.tar.gz
-# Source54-md5:	6fc983a43dccd17739d3cefa637a6005
-Source55:	https://github.com/KiCad/Inductors.pretty/archive/%{version}/Inductors.pretty-%{version}.tar.gz
-# Source55-md5:	99cfe2b7fcbfa170259c5ad94694ffee
-Source56:	https://github.com/KiCad/Inductors_SMD.pretty/archive/%{version}/Inductors_SMD.pretty-%{version}.tar.gz
-# Source56-md5:	6e2e634595a9f0bcb8a1ba9c884fee5f
-Source57:	https://github.com/KiCad/Inductors_THT.pretty/archive/%{version}/Inductors_THT.pretty-%{version}.tar.gz
-# Source57-md5:	ed47a1aed878619170cb2d104bf34992
-Source58:	https://github.com/KiCad/IR-DirectFETs.pretty/archive/%{version}/IR-DirectFETs.pretty-%{version}.tar.gz
-# Source58-md5:	baad0378907a45ce847e7c53d9d0fc36
-Source59:	https://github.com/KiCad/Labels.pretty/archive/%{version}/Labels.pretty-%{version}.tar.gz
-# Source59-md5:	e094fa074bd2252fa99e92021c1e3c3d
-Source60:	https://github.com/KiCad/LEDs.pretty/archive/%{version}/LEDs.pretty-%{version}.tar.gz
-# Source60-md5:	f40658749082dbb8f2b123dc3d8b9e6b
-Source61:	https://github.com/KiCad/Measurement_Points.pretty/archive/%{version}/Measurement_Points.pretty-%{version}.tar.gz
-# Source61-md5:	be7400d113165b932c38a83d0e1a81c6
-Source62:	https://github.com/KiCad/Measurement_Scales.pretty/archive/%{version}/Measurement_Scales.pretty-%{version}.tar.gz
-# Source62-md5:	f1d2226dcb04a6bbd83aba8b701d9df0
-Source63:	https://github.com/KiCad/Mechanical_Sockets.pretty/archive/%{version}/Mechanical_Sockets.pretty-%{version}.tar.gz
-# Source63-md5:	904a2beaf0b3cd03465aa50b22577f3f
-Source64:	https://github.com/KiCad/Microwave.pretty/archive/%{version}/Microwave.pretty-%{version}.tar.gz
-# Source64-md5:	c370a2b3cf5b284f98e6b264f0818726
-Source65:	https://github.com/KiCad/Modules.pretty/archive/%{version}/Modules.pretty-%{version}.tar.gz
-# Source65-md5:	4a501a24a6355fe814a884b94d162b22
-Source66:	https://github.com/KiCad/Mounting_Holes.pretty/archive/%{version}/Mounting_Holes.pretty-%{version}.tar.gz
-# Source66-md5:	7cc6b71a4e1f4c15db62fa8ba1c97d37
-Source67:	https://github.com/KiCad/NF-Transformers_ETAL.pretty/archive/%{version}/NF-Transformers_ETAL.pretty-%{version}.tar.gz
-# Source67-md5:	819b22b813b3fb7d09125cb4c3f05639
-Source68:	https://github.com/KiCad/Oddities.pretty/archive/%{version}/Oddities.pretty-%{version}.tar.gz
-# Source68-md5:	a93fa061e420ea397efa790f01e2a462
-Source69:	https://github.com/KiCad/Opto-Devices.pretty/archive/%{version}/Opto-Devices.pretty-%{version}.tar.gz
-# Source69-md5:	e5de89a96ca7bbabc3f1c82df09d2f90
-Source70:	https://github.com/KiCad/Oscillators.pretty/archive/%{version}/Oscillators.pretty-%{version}.tar.gz
-# Source70-md5:	8e38ea216c960a56fad2a32ab491bff7
-Source71:	https://github.com/KiCad/PFF_PSF_PSS_Leadforms.pretty/archive/%{version}/PFF_PSF_PSS_Leadforms.pretty-%{version}.tar.gz
-# Source71-md5:	597792f8c3b5a9e12902d597ea1fc132
-Source72:	https://github.com/KiCad/Pin_Headers.pretty/archive/%{version}/Pin_Headers.pretty-%{version}.tar.gz
-# Source72-md5:	5130d2e64fb526b5e037b9c04499a098
-Source73:	https://github.com/KiCad/Potentiometers.pretty/archive/%{version}/Potentiometers.pretty-%{version}.tar.gz
-# Source73-md5:	3db69082756229d2ec4c3a50848ffd28
-Source74:	https://github.com/KiCad/Power_Integrations.pretty/archive/%{version}/Power_Integrations.pretty-%{version}.tar.gz
-# Source74-md5:	ddbcc3767e163fe5789454de8735ba80
-Source75:	https://github.com/KiCad/Relays_THT.pretty/archive/%{version}/Relays_THT.pretty-%{version}.tar.gz
-# Source75-md5:	51494d7db9eabccea483c7f4c5d17f50
-Source76:	https://github.com/KiCad/Resistors_SMD.pretty/archive/%{version}/Resistors_SMD.pretty-%{version}.tar.gz
-# Source76-md5:	32f760a5bd68397bf7d8bfb2622b7038
-Source77:	https://github.com/KiCad/Resistors_THT.pretty/archive/%{version}/Resistors_THT.pretty-%{version}.tar.gz
-# Source77-md5:	7f3e3a656b94b4ec3ad59f841f8e1149
-Source78:	https://github.com/KiCad/Resistors_Universal.pretty/archive/%{version}/Resistors_Universal.pretty-%{version}.tar.gz
-# Source78-md5:	c35311f20f8c816244000b4d85fb6e8f
-Source79:	https://github.com/KiCad/RF_Modules.pretty/archive/%{version}/RF_Modules.pretty-%{version}.tar.gz
-# Source79-md5:	22df000a3a8fb16f9306015f2decea6a
-Source80:	https://github.com/KiCad/Shielding_Cabinets.pretty/archive/%{version}/Shielding_Cabinets.pretty-%{version}.tar.gz
-# Source80-md5:	7afa82ede121a46158d30a848002947d
-Source81:	https://github.com/KiCad/SMD_Packages.pretty/archive/%{version}/SMD_Packages.pretty-%{version}.tar.gz
-# Source81-md5:	ee99961ab96b360a446a5790c184a129
-Source82:	https://github.com/KiCad/Sockets_MOLEX_KK-System.pretty/archive/%{version}/Sockets_MOLEX_KK-System.pretty-%{version}.tar.gz
-# Source82-md5:	9c5f6f092156c138856e819cd245cb43
-Source83:	https://github.com/KiCad/Socket_Strips.pretty/archive/%{version}/Socket_Strips.pretty-%{version}.tar.gz
-# Source83-md5:	7ab96152fe961849944936e69671f99b
-Source84:	https://github.com/KiCad/Sockets.pretty/archive/%{version}/Sockets.pretty-%{version}.tar.gz
-# Source84-md5:	bd381d3f2222675e4f259f15f918c512
-Source85:	https://github.com/KiCad/Symbols.pretty/archive/%{version}/Symbols.pretty-%{version}.tar.gz
-# Source85-md5:	16185826b1eb27200c30ef972f7468cd
-Source86:	https://github.com/KiCad/TO_SOT_Packages_SMD.pretty/archive/%{version}/TO_SOT_Packages_SMD.pretty-%{version}.tar.gz
-# Source86-md5:	38addd895c3711539e291d5f86f27807
-Source87:	https://github.com/KiCad/TO_SOT_Packages_THT.pretty/archive/%{version}/TO_SOT_Packages_THT.pretty-%{version}.tar.gz
-# Source87-md5:	3a0c96fcec348fd7daf856e0351d0435
-Source88:	https://github.com/KiCad/Transformers_CHK.pretty/archive/%{version}/Transformers_CHK.pretty-%{version}.tar.gz
-# Source88-md5:	c9f4c477a7b3ee99258f0eb8d07eb2ad
-Source89:	https://github.com/KiCad/Transformers_SMD.pretty/archive/%{version}/Transformers_SMD.pretty-%{version}.tar.gz
-# Source89-md5:	9f3a326a296b10ea529d349d670b593e
-Source90:	https://github.com/KiCad/Transformers_SMPS_ThroughHole.pretty/archive/%{version}/Transformers_SMPS_ThroughHole.pretty-%{version}.tar.gz
-# Source90-md5:	bd6a05c82e5fa34771dc9b039c38279a
-Source91:	https://github.com/KiCad/Transformers_THT.pretty/archive/%{version}/Transformers_THT.pretty-%{version}.tar.gz
-# Source91-md5:	8f1fafb159a5890abb9cc1fe3f24543a
-Source92:	https://github.com/KiCad/Transistors_OldSowjetAera.pretty/archive/%{version}/Transistors_OldSowjetAera.pretty-%{version}.tar.gz
-# Source92-md5:	bad332b6c0097a4179611a7f86eddee2
-Source93:	https://github.com/KiCad/Valves.pretty/archive/%{version}/Valves.pretty-%{version}.tar.gz
-# Source93-md5:	0cef210c06a05af4f011fe73bd9d8f83
-Source94:	https://github.com/KiCad/Varistors.pretty/archive/%{version}/Varistors.pretty-%{version}.tar.gz
-# Source94-md5:	a18138206bf52efbdc37d448648b7e04
-Source95:	https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz
-# Source95-md5:	1724a3899fb5b483bf224da6a6db2650
-Source96:	https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz
-# Source96-md5:	06e3b9d0bb1be074b5693000736797db
+Source100:	https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz
+# Source100-md5:	e343fb1de9debbfca640879433964bf5
+Source101:	https://github.com/KiCad/Buttons_Switches_SMD.pretty/archive/%{version}/Buttons_Switches_SMD.pretty-%{version}.tar.gz
+# Source101-md5:	4d3bd10d0d7c29dd03e91f3ee999a4cf
+Source102:	https://github.com/KiCad/Buttons_Switches_THT.pretty/archive/%{version}/Buttons_Switches_THT.pretty-%{version}.tar.gz
+# Source102-md5:	8e83e77abd4a2699cabcf10ca2452a37
+Source103:	https://github.com/KiCad/Buzzers_Beepers.pretty/archive/%{version}/Buzzers_Beepers.pretty-%{version}.tar.gz
+# Source103-md5:	0be5ca79b86e23022b9ce5947fce4657
+Source104:	https://github.com/KiCad/Capacitors_SMD.pretty/archive/%{version}/Capacitors_SMD.pretty-%{version}.tar.gz
+# Source104-md5:	a132bacf9268f67caa9c504398b485f6
+Source105:	https://github.com/KiCad/Capacitors_Tantalum_SMD.pretty/archive/%{version}/Capacitors_Tantalum_SMD.pretty-%{version}.tar.gz
+# Source105-md5:	591a022e35a0d4eb3338e36cbfc2b111
+Source106:	https://github.com/KiCad/Capacitors_THT.pretty/archive/%{version}/Capacitors_THT.pretty-%{version}.tar.gz
+# Source106-md5:	d2b3ec61381efeda3787c306a5f20c4d
+Source107:	https://github.com/KiCad/Choke_Axial_ThroughHole.pretty/archive/%{version}/Choke_Axial_ThroughHole.pretty-%{version}.tar.gz
+# Source107-md5:	9e5ac090fc1d5a8145c93c6846d1242d
+Source108:	https://github.com/KiCad/Choke_Common-Mode_Wurth.pretty/archive/%{version}/Choke_Common-Mode_Wurth.pretty-%{version}.tar.gz
+# Source108-md5:	1b1b159c5f598cc0487b39fbfdc854ad
+Source109:	https://github.com/KiCad/Choke_Radial_ThroughHole.pretty/archive/%{version}/Choke_Radial_ThroughHole.pretty-%{version}.tar.gz
+# Source109-md5:	d90b7adb66b4f8535667875cb10f4fba
+Source110:	https://github.com/KiCad/Choke_SMD.pretty/archive/%{version}/Choke_SMD.pretty-%{version}.tar.gz
+# Source110-md5:	ffbbec04a597c3f8313df6d52020d7a7
+Source111:	https://github.com/KiCad/Choke_Toroid_ThroughHole.pretty/archive/%{version}/Choke_Toroid_ThroughHole.pretty-%{version}.tar.gz
+# Source111-md5:	4bdf6343c75887d67dc80e69b8e080ba
+Source112:	https://github.com/KiCad/Connectors_Harwin.pretty/archive/%{version}/Connectors_Harwin.pretty-%{version}.tar.gz
+# Source112-md5:	c103d987a87bde089155421af2216c93
+Source113:	https://github.com/KiCad/Connectors_Hirose.pretty/archive/%{version}/Connectors_Hirose.pretty-%{version}.tar.gz
+# Source113-md5:	8d10a6d792b1a1b55459494d0374326f
+Source114:	https://github.com/KiCad/Connectors_JAE.pretty/archive/%{version}/Connectors_JAE.pretty-%{version}.tar.gz
+# Source114-md5:	08db63855dc67995ed483a58af85f9f7
+Source115:	https://github.com/KiCad/Connectors_JST.pretty/archive/%{version}/Connectors_JST.pretty-%{version}.tar.gz
+# Source115-md5:	5ce5e2bac3bf25bbeb98a4dd33632609
+Source116:	https://github.com/KiCad/Connectors_Mini-Universal.pretty/archive/%{version}/Connectors_Mini-Universal.pretty-%{version}.tar.gz
+# Source116-md5:	9977b9592e4789c9b1b20ab26fe301a6
+Source117:	https://github.com/KiCad/Connectors_Molex.pretty/archive/%{version}/Connectors_Molex.pretty-%{version}.tar.gz
+# Source117-md5:	ef7d14f881e09be9a882b0e71f4474c7
+Source118:	https://github.com/KiCad/Connectors_Multicomp.pretty/archive/%{version}/Connectors_Multicomp.pretty-%{version}.tar.gz
+# Source118-md5:	951ba83ee8f34e51465c75d38c246ce8
+Source119:	https://github.com/KiCad/Connectors_Phoenix.pretty/archive/%{version}/Connectors_Phoenix.pretty-%{version}.tar.gz
+# Source119-md5:	7d9a232d0cd195f9d2b9ed82010c2ffe
+Source120:	https://github.com/KiCad/Connectors_Samtec.pretty/archive/%{version}/Connectors_Samtec.pretty-%{version}.tar.gz
+# Source120-md5:	b2610848de6e1c91b2c8d30d9cd518d5
+Source121:	https://github.com/KiCad/Connectors_TE-Connectivity.pretty/archive/%{version}/Connectors_TE-Connectivity.pretty-%{version}.tar.gz
+# Source121-md5:	43e70e5d21e1119f8981eed40d082a8f
+Source122:	https://github.com/KiCad/Connectors_Terminal_Blocks.pretty/archive/%{version}/Connectors_Terminal_Blocks.pretty-%{version}.tar.gz
+# Source122-md5:	cbb75de29fe23cab12519de5c314d738
+Source123:	https://github.com/KiCad/Connectors_WAGO.pretty/archive/%{version}/Connectors_WAGO.pretty-%{version}.tar.gz
+# Source123-md5:	219367a04e3917ba84a61341b9a5d939
+Source124:	https://github.com/KiCad/Connectors.pretty/archive/%{version}/Connectors.pretty-%{version}.tar.gz
+# Source124-md5:	53358aaf6319b4963df7ed988985a13a
+Source125:	https://github.com/KiCad/Converters_DCDC_ACDC.pretty/archive/%{version}/Converters_DCDC_ACDC.pretty-%{version}.tar.gz
+# Source125-md5:	8876b6ace69520adc78dd752ea872fcb
+Source126:	https://github.com/KiCad/Crystals.pretty/archive/%{version}/Crystals.pretty-%{version}.tar.gz
+# Source126-md5:	3d156ccfcc43216f96ecfa7c3f8345b8
+Source127:	https://github.com/KiCad/Diodes_SMD.pretty/archive/%{version}/Diodes_SMD.pretty-%{version}.tar.gz
+# Source127-md5:	bea39235640355298ea6f14332627a18
+Source128:	https://github.com/KiCad/Diodes_THT.pretty/archive/%{version}/Diodes_THT.pretty-%{version}.tar.gz
+# Source128-md5:	ec77db0c94cfae709d145bcad133ed4f
+Source129:	https://github.com/KiCad/Discret.pretty/archive/%{version}/Discret.pretty-%{version}.tar.gz
+# Source129-md5:	49598b208de48dd7ec87586950348112
+Source130:	https://github.com/KiCad/Displays_7-Segment.pretty/archive/%{version}/Displays_7-Segment.pretty-%{version}.tar.gz
+# Source130-md5:	7f05ebc80504e122961ea020b42e8c3c
+Source131:	https://github.com/KiCad/Displays.pretty/archive/%{version}/Displays.pretty-%{version}.tar.gz
+# Source131-md5:	fae3bd280525583ab8669c3b2f48e4a7
+Source132:	https://github.com/KiCad/Divers.pretty/archive/%{version}/Divers.pretty-%{version}.tar.gz
+# Source132-md5:	87a7ea52f622289d4486e5c4f9f4f308
+Source133:	https://github.com/KiCad/Enclosures.pretty/archive/%{version}/Enclosures.pretty-%{version}.tar.gz
+# Source133-md5:	af7c0066f10c3c449c36b23559ffddf0
+Source134:	https://github.com/KiCad/EuroBoard_Outline.pretty/archive/%{version}/EuroBoard_Outline.pretty-%{version}.tar.gz
+# Source134-md5:	305424a4e6b51de49856e3cb12b5eedb
+Source135:	https://github.com/KiCad/Fiducials.pretty/archive/%{version}/Fiducials.pretty-%{version}.tar.gz
+# Source135-md5:	45c7652cfbd5e2aba589e7e594f2f401
+Source136:	https://github.com/KiCad/Filters_HF_Coils_NEOSID.pretty/archive/%{version}/Filters_HF_Coils_NEOSID.pretty-%{version}.tar.gz
+# Source136-md5:	52bb487182bd6a1a2245f8076259c328
+Source137:	https://github.com/KiCad/Fuse_Holders_and_Fuses.pretty/archive/%{version}/Fuse_Holders_and_Fuses.pretty-%{version}.tar.gz
+# Source137-md5:	cadfa005debdfc7d0c469ef48b8d26d0
+Source138:	https://github.com/KiCad/Hall-Effect_Transducers_LEM.pretty/archive/%{version}/Hall-Effect_Transducers_LEM.pretty-%{version}.tar.gz
+# Source138-md5:	ebb9c1b12d906f0e69376fe3fa4e5ee7
+Source139:	https://github.com/KiCad/Heatsinks.pretty/archive/%{version}/Heatsinks.pretty-%{version}.tar.gz
+# Source139-md5:	4a7696b52a217c1af3d76310cefc9276
+Source140:	https://github.com/KiCad/Housings_BGA.pretty/archive/%{version}/Housings_BGA.pretty-%{version}.tar.gz
+# Source140-md5:	1a52287e9101f75ea0a013c8896ea5ad
+Source141:	https://github.com/KiCad/Housings_DFN_QFN.pretty/archive/%{version}/Housings_DFN_QFN.pretty-%{version}.tar.gz
+# Source141-md5:	bfca29af9ec269b811e95f5a12d49327
+Source142:	https://github.com/KiCad/Housings_DIP.pretty/archive/%{version}/Housings_DIP.pretty-%{version}.tar.gz
+# Source142-md5:	806e69140a65217b6124c0c0649d6474
+Source143:	https://github.com/KiCad/Housings_LCC.pretty/archive/%{version}/Housings_LCC.pretty-%{version}.tar.gz
+# Source143-md5:	79a0b216aa186eab822b45fb2ab48b81
+Source144:	https://github.com/KiCad/Housings_LGA.pretty/archive/%{version}/Housings_LGA.pretty-%{version}.tar.gz
+# Source144-md5:	0e3ef9347f68ab03fd9e4960ef652f6c
+Source145:	https://github.com/KiCad/Housings_PGA.pretty/archive/%{version}/Housings_PGA.pretty-%{version}.tar.gz
+# Source145-md5:	e008414845d6d1928a4607b2511a7fed
+Source146:	https://github.com/KiCad/Housings_QFP.pretty/archive/%{version}/Housings_QFP.pretty-%{version}.tar.gz
+# Source146-md5:	36ff18521539dcc036a421af4a3eeea1
+Source147:	https://github.com/KiCad/Housings_SIP.pretty/archive/%{version}/Housings_SIP.pretty-%{version}.tar.gz
+# Source147-md5:	5d5d071ba919c686fee70c1fe33360d7
+Source148:	https://github.com/KiCad/Housings_SOIC.pretty/archive/%{version}/Housings_SOIC.pretty-%{version}.tar.gz
+# Source148-md5:	6cf7b9bf4f6fba01c3bef5d4b81b7b01
+Source149:	https://github.com/KiCad/Housings_SSOP.pretty/archive/%{version}/Housings_SSOP.pretty-%{version}.tar.gz
+# Source149-md5:	462ad43dc28523cbd148f661aac26190
+Source150:	https://github.com/KiCad/Inductors_NEOSID.pretty/archive/%{version}/Inductors_NEOSID.pretty-%{version}.tar.gz
+# Source150-md5:	6fc983a43dccd17739d3cefa637a6005
+Source151:	https://github.com/KiCad/Inductors.pretty/archive/%{version}/Inductors.pretty-%{version}.tar.gz
+# Source151-md5:	99cfe2b7fcbfa170259c5ad94694ffee
+Source152:	https://github.com/KiCad/Inductors_SMD.pretty/archive/%{version}/Inductors_SMD.pretty-%{version}.tar.gz
+# Source152-md5:	6e2e634595a9f0bcb8a1ba9c884fee5f
+Source153:	https://github.com/KiCad/Inductors_THT.pretty/archive/%{version}/Inductors_THT.pretty-%{version}.tar.gz
+# Source153-md5:	ed47a1aed878619170cb2d104bf34992
+Source154:	https://github.com/KiCad/IR-DirectFETs.pretty/archive/%{version}/IR-DirectFETs.pretty-%{version}.tar.gz
+# Source154-md5:	baad0378907a45ce847e7c53d9d0fc36
+Source155:	https://github.com/KiCad/Labels.pretty/archive/%{version}/Labels.pretty-%{version}.tar.gz
+# Source155-md5:	e094fa074bd2252fa99e92021c1e3c3d
+Source156:	https://github.com/KiCad/LEDs.pretty/archive/%{version}/LEDs.pretty-%{version}.tar.gz
+# Source156-md5:	f40658749082dbb8f2b123dc3d8b9e6b
+Source157:	https://github.com/KiCad/Measurement_Points.pretty/archive/%{version}/Measurement_Points.pretty-%{version}.tar.gz
+# Source157-md5:	be7400d113165b932c38a83d0e1a81c6
+Source158:	https://github.com/KiCad/Measurement_Scales.pretty/archive/%{version}/Measurement_Scales.pretty-%{version}.tar.gz
+# Source158-md5:	f1d2226dcb04a6bbd83aba8b701d9df0
+Source159:	https://github.com/KiCad/Mechanical_Sockets.pretty/archive/%{version}/Mechanical_Sockets.pretty-%{version}.tar.gz
+# Source159-md5:	904a2beaf0b3cd03465aa50b22577f3f
+Source160:	https://github.com/KiCad/Microwave.pretty/archive/%{version}/Microwave.pretty-%{version}.tar.gz
+# Source160-md5:	c370a2b3cf5b284f98e6b264f0818726
+Source161:	https://github.com/KiCad/Modules.pretty/archive/%{version}/Modules.pretty-%{version}.tar.gz
+# Source161-md5:	4a501a24a6355fe814a884b94d162b22
+Source162:	https://github.com/KiCad/Mounting_Holes.pretty/archive/%{version}/Mounting_Holes.pretty-%{version}.tar.gz
+# Source162-md5:	7cc6b71a4e1f4c15db62fa8ba1c97d37
+Source163:	https://github.com/KiCad/NF-Transformers_ETAL.pretty/archive/%{version}/NF-Transformers_ETAL.pretty-%{version}.tar.gz
+# Source163-md5:	819b22b813b3fb7d09125cb4c3f05639
+Source164:	https://github.com/KiCad/Oddities.pretty/archive/%{version}/Oddities.pretty-%{version}.tar.gz
+# Source164-md5:	a93fa061e420ea397efa790f01e2a462
+Source165:	https://github.com/KiCad/Opto-Devices.pretty/archive/%{version}/Opto-Devices.pretty-%{version}.tar.gz
+# Source165-md5:	e5de89a96ca7bbabc3f1c82df09d2f90
+Source166:	https://github.com/KiCad/Oscillators.pretty/archive/%{version}/Oscillators.pretty-%{version}.tar.gz
+# Source166-md5:	8e38ea216c960a56fad2a32ab491bff7
+Source167:	https://github.com/KiCad/PFF_PSF_PSS_Leadforms.pretty/archive/%{version}/PFF_PSF_PSS_Leadforms.pretty-%{version}.tar.gz
+# Source167-md5:	597792f8c3b5a9e12902d597ea1fc132
+Source168:	https://github.com/KiCad/Pin_Headers.pretty/archive/%{version}/Pin_Headers.pretty-%{version}.tar.gz
+# Source168-md5:	5130d2e64fb526b5e037b9c04499a098
+Source169:	https://github.com/KiCad/Potentiometers.pretty/archive/%{version}/Potentiometers.pretty-%{version}.tar.gz
+# Source169-md5:	3db69082756229d2ec4c3a50848ffd28
+Source170:	https://github.com/KiCad/Power_Integrations.pretty/archive/%{version}/Power_Integrations.pretty-%{version}.tar.gz
+# Source170-md5:	ddbcc3767e163fe5789454de8735ba80
+Source171:	https://github.com/KiCad/Relays_THT.pretty/archive/%{version}/Relays_THT.pretty-%{version}.tar.gz
+# Source171-md5:	51494d7db9eabccea483c7f4c5d17f50
+Source172:	https://github.com/KiCad/Resistors_SMD.pretty/archive/%{version}/Resistors_SMD.pretty-%{version}.tar.gz
+# Source172-md5:	32f760a5bd68397bf7d8bfb2622b7038
+Source173:	https://github.com/KiCad/Resistors_THT.pretty/archive/%{version}/Resistors_THT.pretty-%{version}.tar.gz
+# Source173-md5:	7f3e3a656b94b4ec3ad59f841f8e1149
+Source174:	https://github.com/KiCad/Resistors_Universal.pretty/archive/%{version}/Resistors_Universal.pretty-%{version}.tar.gz
+# Source174-md5:	c35311f20f8c816244000b4d85fb6e8f
+Source175:	https://github.com/KiCad/RF_Modules.pretty/archive/%{version}/RF_Modules.pretty-%{version}.tar.gz
+# Source175-md5:	22df000a3a8fb16f9306015f2decea6a
+Source176:	https://github.com/KiCad/Shielding_Cabinets.pretty/archive/%{version}/Shielding_Cabinets.pretty-%{version}.tar.gz
+# Source176-md5:	7afa82ede121a46158d30a848002947d
+Source177:	https://github.com/KiCad/SMD_Packages.pretty/archive/%{version}/SMD_Packages.pretty-%{version}.tar.gz
+# Source177-md5:	ee99961ab96b360a446a5790c184a129
+Source178:	https://github.com/KiCad/Sockets_MOLEX_KK-System.pretty/archive/%{version}/Sockets_MOLEX_KK-System.pretty-%{version}.tar.gz
+# Source178-md5:	9c5f6f092156c138856e819cd245cb43
+Source179:	https://github.com/KiCad/Socket_Strips.pretty/archive/%{version}/Socket_Strips.pretty-%{version}.tar.gz
+# Source179-md5:	7ab96152fe961849944936e69671f99b
+Source180:	https://github.com/KiCad/Sockets.pretty/archive/%{version}/Sockets.pretty-%{version}.tar.gz
+# Source180-md5:	bd381d3f2222675e4f259f15f918c512
+Source181:	https://github.com/KiCad/Symbols.pretty/archive/%{version}/Symbols.pretty-%{version}.tar.gz
+# Source181-md5:	16185826b1eb27200c30ef972f7468cd
+Source182:	https://github.com/KiCad/TO_SOT_Packages_SMD.pretty/archive/%{version}/TO_SOT_Packages_SMD.pretty-%{version}.tar.gz
+# Source182-md5:	38addd895c3711539e291d5f86f27807
+Source183:	https://github.com/KiCad/TO_SOT_Packages_THT.pretty/archive/%{version}/TO_SOT_Packages_THT.pretty-%{version}.tar.gz
+# Source183-md5:	3a0c96fcec348fd7daf856e0351d0435
+Source184:	https://github.com/KiCad/Transformers_CHK.pretty/archive/%{version}/Transformers_CHK.pretty-%{version}.tar.gz
+# Source184-md5:	c9f4c477a7b3ee99258f0eb8d07eb2ad
+Source185:	https://github.com/KiCad/Transformers_SMD.pretty/archive/%{version}/Transformers_SMD.pretty-%{version}.tar.gz
+# Source185-md5:	9f3a326a296b10ea529d349d670b593e
+Source186:	https://github.com/KiCad/Transformers_SMPS_ThroughHole.pretty/archive/%{version}/Transformers_SMPS_ThroughHole.pretty-%{version}.tar.gz
+# Source186-md5:	bd6a05c82e5fa34771dc9b039c38279a
+Source187:	https://github.com/KiCad/Transformers_THT.pretty/archive/%{version}/Transformers_THT.pretty-%{version}.tar.gz
+# Source187-md5:	8f1fafb159a5890abb9cc1fe3f24543a
+Source188:	https://github.com/KiCad/Transistors_OldSowjetAera.pretty/archive/%{version}/Transistors_OldSowjetAera.pretty-%{version}.tar.gz
+# Source188-md5:	bad332b6c0097a4179611a7f86eddee2
+Source189:	https://github.com/KiCad/Valves.pretty/archive/%{version}/Valves.pretty-%{version}.tar.gz
+# Source189-md5:	0cef210c06a05af4f011fe73bd9d8f83
+Source190:	https://github.com/KiCad/Varistors.pretty/archive/%{version}/Varistors.pretty-%{version}.tar.gz
+# Source190-md5:	a18138206bf52efbdc37d448648b7e04
+Source191:	https://github.com/KiCad/Wire_Connections_Bridges.pretty/archive/%{version}/Wire_Connections_Bridges.pretty-%{version}.tar.gz
+# Source191-md5:	1724a3899fb5b483bf224da6a6db2650
+Source192:	https://github.com/KiCad/Wire_Pads.pretty/archive/%{version}/Wire_Pads.pretty-%{version}.tar.gz
+# Source192-md5:	06e3b9d0bb1be074b5693000736797db
 Patch0:		nostrip.patch
 # https://code.launchpad.net/~lkundrak/kicad/appstream-data/+merge/293391
 Patch1:		appstream.patch
@@ -384,23 +385,33 @@ Documentation and tutorials for Kicad in Russian
 
 %prep
 %setup -q -a 1 -a 2 -a 3
+%setup -qD %(seq -f '-a %g' 100 192 | xargs)
+
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 
+install -d modules
+for module in *.pretty-*; do
+	%{__mv} $module modules/${module%%.pretty-*}
+done
+
 %build
 # Symbols libraries
-cd %{name}-library-%{version}
-%cmake .
+mkdir %{name}-library-%{version}/build
+cd %{name}-library-%{version}/build
+%cmake ..
 %{__make} -j1 VERBOSE=1
-cd ..
+cd ../..
 
 # Documentation
-cd %{name}-doc-%{version}
-%cmake . -DBUILD_FORMATS=html
+mkdir %{name}-doc-%{version}/build
+cd %{name}-doc-%{version}/build
+%cmake .. \
+	-DBUILD_FORMATS=html
 %{__make} -j1 VERBOSE=1
-cd ..
+cd ../..
 
 # Translations
 mkdir %{name}-i18n-%{version}/build
@@ -411,7 +422,9 @@ cd %{name}-i18n-%{version}/build
 cd ../..
 
 # Core components
-%cmake . \
+mkdir build
+cd build
+%cmake .. \
 	-DKICAD_SKIP_BOOST=ON \
 	-DKICAD_BUILD_VERSION="%{version}-%{release}" \
 	-DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
@@ -422,11 +435,19 @@ cd ../..
 rm -rf $RPM_BUILD_ROOT
 
 # KiCAD itself
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 # Symbols libraries
-%{__make} -C %{name}-library-%{version} install \
+%{__make} -C %{name}-library-%{version}/build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# Documentation
+%{__make} -C %{name}-doc-%{version}/build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# Translations
+%{__make} -C %{name}-i18n-%{version}/build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 # install template
@@ -435,22 +456,9 @@ cp -p template/%{name}.pro $RPM_BUILD_ROOT%{_datadir}/%{name}/template
 
 # Footprints
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
-for S in %{sources}; do
-	P=$(basename $S |sed -n 's/\.pretty-.*/.pretty/p')
-	[ "$P" ] || continue
-	install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/$P
-	tar xzf $S --strip-components=1 -C $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/$P
-done
+cp -a modules/* $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
 ln -f $RPM_BUILD_ROOT%{_datadir}/%{name}/template/fp-lib-table{.for-pretty,}
 
-# Documentation
-%{__make} -C %{name}-doc-%{version} install \
-	DESTDIR=$RPM_BUILD_ROOT
-
-# Translations
-%{__make} -C %{name}-i18n-%{version}/build install \
-	DESTDIR=$RPM_BUILD_ROOT
-
 %find_lang %{name}
 
 %post
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kicad.git/commitdiff/0af3e1859944a7cd4d13a75e91ec045175bd2c95



More information about the pld-cvs-commit mailing list