From: DongHun Kwak Date: Wed, 6 Sep 2023 07:30:31 +0000 (+0900) Subject: Add license file X-Git-Tag: accepted/tizen/rust/20231016.021648^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5030e0094f247ce7f43869607f709909d0186c3e;p=platform%2Fupstream%2Frust-plotters-backend.git Add license file --- diff --git a/packaging/LICENSE-MIT b/packaging/LICENSE-MIT new file mode 100644 index 0000000..f9773ff --- /dev/null +++ b/packaging/LICENSE-MIT @@ -0,0 +1,20 @@ +Copyright (c) 2014-2017 Sean McArthur + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/packaging/rust-plotters-backend.spec b/packaging/rust-plotters-backend.spec index e9ac071..70ece35 100644 --- a/packaging/rust-plotters-backend.spec +++ b/packaging/rust-plotters-backend.spec @@ -15,6 +15,7 @@ License: MIT URL: https://crates.io/crates/plotters-backend Source: %{crate}-%{version}.tar.gz Source1: %{name}.manifest +Source2: LICENSE-MIT # ========================================================== # BuildRequires @@ -30,6 +31,7 @@ Plotters Backend API. %prep %setup -q cp %{SOURCE1} . +cp %{SOURCE2} . # ========================================================== # build section @@ -59,4 +61,5 @@ install -m 0644 lib%{real_crate_name}.so %{buildroot}/%{_rust_dylibdir}/lib%{rea # ========================================================== %files %manifest %{name}.manifest +%license LICENSE-MIT %{_rust_dylibdir}/lib%{real_crate_name}.so