public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mediawriter] epel10: Initial commit
@ 2026-09-29 15:27 Martin Briza
0 siblings, 0 replies; only message in thread
From: Martin Briza @ 2026-09-29 15:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mediawriter
Branch : epel10
Commit : 8954bdb2d433ce0be5adea0d16e6cd72686fbbc5
Author : Martin Briza <mbriza@redhat.com>
Date : 2016-08-09T16:07:52+02:00
Stats : +55/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/mediawriter/c/8954bdb2d433ce0be5adea0d16e6cd72686fbbc5?branch=epel10
Log:
Initial commit
---
diff --git a/.gitignore b/.gitignore
index e69de29..d72d942 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mediawriter-0049ab3.tar.gz
diff --git a/mediawriter.spec b/mediawriter.spec
new file mode 100644
index 0000000..efb3eda
--- /dev/null
+++ b/mediawriter.spec
@@ -0,0 +1,53 @@
+%global commit 0049ab30668af35155c090c9b7821b7278b71a74
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: mediawriter
+Version: 0
+Release: 0.1git%{shortcommit}%{?dist}
+Summary: Fedora Media Writer
+
+License: GPLv2+
+URL: https://github.com/MartinBriza/MediaWriter
+#Source0: https://github.com/MartinBriza/MediaWriter/archive/#{version}.tar.gz
+Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qtdeclarative
+BuildRequires: gettext
+#BuildRequires: libappstream-glib
+BuildRequires: gcc-c++
+
+Requires: qt5-qtbase%{?_isa}
+Requires: qt5-qtquickcontrols%{?_isa} >= 5.3.0
+Requires: polkit%{?_isa}
+%if 0%{?fedora} && 0%{?fedora} < 25
+Requires: udisks2%{?_isa}
+%else
+Requires: storaged%{?_isa}
+%endif
+
+%description
+A tool to write images of Fedora media to portable drives
+like flash drives or memory cards.
+
+%prep
+%autosetup -p1 -n MediaWriter-%{commit}
+mkdir %{_target_platform}
+
+%build
+pushd %{_target_platform}
+%{qmake_qt5} PREFIX=%{_prefix} ..
+popd
+%make_build -C %{_target_platform}
+
+%install
+make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
+
+
+%files
+%{_bindir}/%{name}
+%{_libexecdir}/%{name}/
+
+%changelog
+* Tue Aug 9 2016 Martin Bříza <mbriza@redhat.com> 0-0.1git0049ab3
+- Initial release
diff --git a/sources b/sources
index e69de29..831ab2b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+28cdb86262b3d9ee4f31e189e9207a5d mediawriter-0049ab3.tar.gz
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 15:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 15:27 [rpms/mediawriter] epel10: Initial commit Martin Briza
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox