/[packages]/cauldron/rust-parking_lot/current/SPECS/rust-parking_lot.spec
ViewVC logotype

Contents of /cauldron/rust-parking_lot/current/SPECS/rust-parking_lot.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1786555 - (show annotations) (download)
Mon Feb 28 06:50:26 2022 UTC (2 years, 3 months ago) by guillomovitch
File size: 5106 byte(s)
imported package rust-parking_lot
1 # Generated by rust2rpm 21
2 %bcond_without check
3
4 %global crate parking_lot
5
6 Name: rust-%{crate}
7 Version: 0.11.2
8 Release: %mkrel 1
9 Summary: More compact and efficient implementations of the standard synchronization primitives
10 Group: Development/Other
11
12 # Upstream license specification: Apache-2.0/MIT
13 License: ASL 2.0 or MIT
14 URL: https://crates.io/crates/parking_lot
15 Source: %{crates_source}
16
17 ExclusiveArch: %{rust_arches}
18 BuildArch: noarch
19
20 BuildRequires: rust-packaging >= 21
21 BuildRequires: crate(instant/default) >= 0.1.9
22 BuildRequires: crate(lock_api/default) >= 0.4.5
23 BuildRequires: crate(parking_lot_core/default) >= 0.8.4
24 %if %{with check}
25 BuildRequires: crate(bincode/default) >= 1.3.3
26 BuildRequires: crate(rand/default) >= 0.8.3
27 %endif
28
29 %global _description %{expand:
30 More compact and efficient implementations of the standard synchronization
31 primitives.}
32
33 %description %{_description}
34
35 %package devel
36 Summary: %{summary}
37 Group: Development/Other
38 BuildArch: noarch
39
40 %description devel %{_description}
41
42 This package contains library source intended for building other packages which
43 use the "%{crate}" crate.
44
45 %files devel
46 %license %{crate_instdir}/LICENSE-APACHE
47 %license %{crate_instdir}/LICENSE-MIT
48 %doc %{crate_instdir}/CHANGELOG.md
49 %doc %{crate_instdir}/README.md
50 %{crate_instdir}/
51
52 %package -n %{name}+default-devel
53 Summary: %{summary}
54 Group: Development/Other
55 BuildArch: noarch
56
57 %description -n %{name}+default-devel %{_description}
58
59 This package contains library source intended for building other packages which
60 use the "default" feature of the "%{crate}" crate.
61
62 %files -n %{name}+default-devel
63 %ghost %{crate_instdir}/Cargo.toml
64
65 %package -n %{name}+arc_lock-devel
66 Summary: %{summary}
67 Group: Development/Other
68 BuildArch: noarch
69
70 %description -n %{name}+arc_lock-devel %{_description}
71
72 This package contains library source intended for building other packages which
73 use the "arc_lock" feature of the "%{crate}" crate.
74
75 %files -n %{name}+arc_lock-devel
76 %ghost %{crate_instdir}/Cargo.toml
77
78 %package -n %{name}+deadlock_detection-devel
79 Summary: %{summary}
80 Group: Development/Other
81 BuildArch: noarch
82
83 %description -n %{name}+deadlock_detection-devel %{_description}
84
85 This package contains library source intended for building other packages which
86 use the "deadlock_detection" feature of the "%{crate}" crate.
87
88 %files -n %{name}+deadlock_detection-devel
89 %ghost %{crate_instdir}/Cargo.toml
90
91 %package -n %{name}+nightly-devel
92 Summary: %{summary}
93 Group: Development/Other
94 BuildArch: noarch
95
96 %description -n %{name}+nightly-devel %{_description}
97
98 This package contains library source intended for building other packages which
99 use the "nightly" feature of the "%{crate}" crate.
100
101 %files -n %{name}+nightly-devel
102 %ghost %{crate_instdir}/Cargo.toml
103
104 %package -n %{name}+owning_ref-devel
105 Summary: %{summary}
106 Group: Development/Other
107 BuildArch: noarch
108
109 %description -n %{name}+owning_ref-devel %{_description}
110
111 This package contains library source intended for building other packages which
112 use the "owning_ref" feature of the "%{crate}" crate.
113
114 %files -n %{name}+owning_ref-devel
115 %ghost %{crate_instdir}/Cargo.toml
116
117 %package -n %{name}+send_guard-devel
118 Summary: %{summary}
119 Group: Development/Other
120 BuildArch: noarch
121
122 %description -n %{name}+send_guard-devel %{_description}
123
124 This package contains library source intended for building other packages which
125 use the "send_guard" feature of the "%{crate}" crate.
126
127 %files -n %{name}+send_guard-devel
128 %ghost %{crate_instdir}/Cargo.toml
129
130 %package -n %{name}+serde-devel
131 Summary: %{summary}
132 Group: Development/Other
133 BuildArch: noarch
134
135 %description -n %{name}+serde-devel %{_description}
136
137 This package contains library source intended for building other packages which
138 use the "serde" feature of the "%{crate}" crate.
139
140 %files -n %{name}+serde-devel
141 %ghost %{crate_instdir}/Cargo.toml
142
143 %package -n %{name}+stdweb-devel
144 Summary: %{summary}
145 Group: Development/Other
146 BuildArch: noarch
147
148 %description -n %{name}+stdweb-devel %{_description}
149
150 This package contains library source intended for building other packages which
151 use the "stdweb" feature of the "%{crate}" crate.
152
153 %files -n %{name}+stdweb-devel
154 %ghost %{crate_instdir}/Cargo.toml
155
156 %package -n %{name}+wasm-bindgen-devel
157 Summary: %{summary}
158 Group: Development/Other
159 BuildArch: noarch
160
161 %description -n %{name}+wasm-bindgen-devel %{_description}
162
163 This package contains library source intended for building other packages which
164 use the "wasm-bindgen" feature of the "%{crate}" crate.
165
166 %files -n %{name}+wasm-bindgen-devel
167 %ghost %{crate_instdir}/Cargo.toml
168
169 %prep
170 %autosetup -n %{crate}-%{version_no_tilde} -p1
171 %cargo_prep
172
173 %build
174 %cargo_build
175
176 %install
177 %cargo_install
178
179 %if %{with check}
180 %check
181 %cargo_test
182 %endif
183

  ViewVC Help
Powered by ViewVC 1.1.30