aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-21 20:23:29 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-03-21 20:23:29 +0100
commitb2f551889a10de5334e727b8f34007b388896161 (patch)
treecc733a9bc73e8760e87cb416a7e3c957e0ee4ecf
parent03c50f4cc3b841548227dbc4d5d92f22432ddb3d (diff)
downloadqtmips-b2f551889a10de5334e727b8f34007b388896161.tar.gz
qtmips-b2f551889a10de5334e727b8f34007b388896161.tar.bz2
qtmips-b2f551889a10de5334e727b8f34007b388896161.zip
Initial attempt to package QtMips by Open Build Service.
Build is available at https://build.opensuse.org/package/show/home:ppisa/qtmips Package builds for Fedora_29 already but Suse seems to be excluded for some reasons. The build for debian required qtmips.dsc, debian.changelog, debian.control and debian.rules. The last three are available in archive but OBS does not found them. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
-rw-r--r--qtmips.spec70
1 files changed, 70 insertions, 0 deletions
diff --git a/qtmips.spec b/qtmips.spec
new file mode 100644
index 0000000..411fdd3
--- /dev/null
+++ b/qtmips.spec
@@ -0,0 +1,70 @@
+#
+# spec file for package qtmips
+#
+# -- Copyright omitted --
+
+Name: qtmips
+
+
+Version: 0.6.6
+
+
+Release: 0
+
+
+License: GPL-2.0+
+
+
+Group: Emulators
+
+
+Summary: MIPS CPU simulator for education purposes with pipeline and cache visualization.
+
+
+Url: https://github.com/cvut/QtMips/
+
+
+Source: qtmips-%{version}.tar.gz
+
+
+BuildRequires: gcc-c++
+BuildRequires: qt5-qtbase-devel >= 5.3
+BuildRequires: elfutils-libelf-devel
+
+Requires: qt5-qtbase
+
+# Qt devel packages
+%define qmake /usr/bin/qmake-qt5
+BuildRequires: cmake
+
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+
+MIPS CPU simulator for education purposes with pipeline and cache visualization.
+
+%prep
+
+
+%setup -q -n %{name}-%{version}
+
+%build
+%{qmake} "CONFIG+=release" "CONFIG+=force_debug_info"
+
+make
+
+
+%install
+mkdir -p %{buildroot}/%{_bindir}
+install -m755 qtmips_gui/qtmips_gui %{buildroot}/%{_bindir}
+install -m755 qtmips_cli/qtmips_cli %{buildroot}/%{_bindir}
+
+%files
+%{_bindir}/qtmips_gui
+%{_bindir}/qtmips_cli
+%doc README.md LICENSE
+
+%changelog
+* Thu 21 Mar 2019 Pavel Pisa <pisa@cmp.felk.cvut.cz - 1.0-1
+- Initial attemp to package QtMips by Open Build Service.