summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-19 03:51:05 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2022-04-19 03:51:05 +0000
commit0f459b5598da17d7c6868694ba039a1a19fc05ca (patch)
tree7f743c9dd6fca93e276cf08e95a2fd890aa6e37d
parentc82285aac8e4db3c9040a930fa428aefc8fd2945 (diff)
automatic import of rubygem-ffi-libavHEADmasterf36
-rw-r--r--.gitignore1
-rw-r--r--rubygem-ffi-libav.spec71
-rw-r--r--sources1
3 files changed, 73 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4f64af1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ffi-libav-0.3.0.gem
diff --git a/rubygem-ffi-libav.spec b/rubygem-ffi-libav.spec
new file mode 100644
index 0000000..5e86303
--- /dev/null
+++ b/rubygem-ffi-libav.spec
@@ -0,0 +1,71 @@
+# Generated from ffi-libav-0.3.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name ffi-libav
+
+Name: rubygem-%{gem_name}
+Version: 0.3.0
+Release: 1%{?dist}
+Summary: Ruby FFI bindings and wrapper for Libav
+License: BSD 3-Clause
+URL: https://github.com/dmlary/ffi-libav
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+Ruby FFI bindings and wrapper for Libav.
+
+
+%package doc
+Summary: Documentation for %{name}
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+%setup -q -n %{gem_name}-%{version}
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build ../%{gem_name}-%{version}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+
+
+%check
+pushd .%{gem_instdir}
+# Run the test suite.
+popd
+
+%files
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/.gitignore
+%license %{gem_instdir}/LICENSE
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%exclude %{gem_instdir}/.rspec
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/examples
+%{gem_instdir}/ffi-libav.gemspec
+%{gem_instdir}/spec
+
+%changelog
+* Tue Apr 19 2022 mockbuilder - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..a5983f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b55699019e7f0c96b542ca6c6e676984 ffi-libav-0.3.0.gem