summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-29 11:34:44 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-01-29 11:34:44 -0800
commit662cfc8cfcd8f5ceaffd162126170f50e2af22fb (patch)
tree116f01835b64ebbc408f9ea2294886d542329168
parent82ed4ccc02250afae19e4ea740804b030c443849 (diff)
downloadspecs-662cfc8cfcd8f5ceaffd162126170f50e2af22fb.tar.gz
specs-662cfc8cfcd8f5ceaffd162126170f50e2af22fb.tar.xz
specs-662cfc8cfcd8f5ceaffd162126170f50e2af22fb.zip
+ Helvum and dependencies
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--rust/rust-cookie-factory.spec85
-rw-r--r--rust/rust-helvum.spec55
-rw-r--r--rust/rust-libspa-sys.spec75
-rw-r--r--rust/rust-libspa.spec73
-rw-r--r--rust/rust-pipewire-sys.spec75
-rw-r--r--rust/rust-pipewire.spec70
-rw-r--r--rust/rust-signal.spec71
7 files changed, 504 insertions, 0 deletions
diff --git a/rust/rust-cookie-factory.spec b/rust/rust-cookie-factory.spec
new file mode 100644
index 0000000..145c0fd
--- /dev/null
+++ b/rust/rust-cookie-factory.spec
@@ -0,0 +1,85 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cookie-factory
+
+Name: rust-%{crate}
+Version: 0.3.2
+Release: %autorelease
+Summary: Nom inspired serialization library
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/cookie-factory
+Source: %{crates_source}
+# Initial patched metadata
+Patch0: cookie-factory-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Nom inspired serialization library.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
+
+%files -n %{name}+std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-helvum.spec b/rust/rust-helvum.spec
new file mode 100644
index 0000000..5d123c5
--- /dev/null
+++ b/rust/rust-helvum.spec
@@ -0,0 +1,55 @@
+# Generated by rust2rpm 20
+%bcond_without check
+
+%global crate helvum
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: %autorelease
+Summary: GTK patchbay for pipewire
+
+# Upstream license specification: GPL-3.0-only
+License: GPL-3.0-only
+# FIXME: Upstream uses unknown SPDX tag GPL-3.0-only!
+URL: https://crates.io/crates/helvum
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+GTK patchbay for pipewire.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md meson_options.txt
+%{_bindir}/helvum
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-libspa-sys.spec b/rust/rust-libspa-sys.spec
new file mode 100644
index 0000000..e4d3c16
--- /dev/null
+++ b/rust/rust-libspa-sys.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate libspa-sys
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Rust FFI bindings for libspa
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/libspa-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# system dependencies
+# todo: move to .rust2rpm.conf
+BuildRequires: pkgconfig(libpipewire-0.3)
+
+%global _description %{expand:
+Rust FFI bindings for libspa.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libpipewire-0.3)
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libpipewire-0.3)
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-libspa.spec b/rust/rust-libspa.spec
new file mode 100644
index 0000000..d355dd0
--- /dev/null
+++ b/rust/rust-libspa.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 20
+# loop with pipewire, reenable after pipewire is in
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate libspa
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Rust bindings for libspa
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/libspa
+Source: %{crates_source}
+# Initial patched metadata
+Patch0: libspa-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Rust bindings for libspa.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-pipewire-sys.spec b/rust/rust-pipewire-sys.spec
new file mode 100644
index 0000000..6429ff8
--- /dev/null
+++ b/rust/rust-pipewire-sys.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate pipewire-sys
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Rust FFI bindings for PipeWire
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/pipewire-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# system dependencies
+# todo: move to .rust2rpm.conf
+BuildRequires: pkgconfig(libpipewire-0.3)
+
+%global _description %{expand:
+Rust FFI bindings for PipeWire.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libpipewire-0.3)
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libpipewire-0.3)
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-pipewire.spec b/rust/rust-pipewire.spec
new file mode 100644
index 0000000..a19d91d
--- /dev/null
+++ b/rust/rust-pipewire.spec
@@ -0,0 +1,70 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate pipewire
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Rust bindings for PipeWire
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/pipewire
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Rust bindings for PipeWire.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/rust/rust-signal.spec b/rust/rust-signal.spec
new file mode 100644
index 0000000..59d0ffe
--- /dev/null
+++ b/rust/rust-signal.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate signal
+
+Name: rust-%{crate}
+Version: 0.7.0
+Release: %autorelease
+Summary: Higher-level abstractions around unix signals
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/signal
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Higher-level abstractions around unix signals.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license LICENSE LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog