commit 9fee80f4be0ee166cf828132ce44eba8b35b24cb Author: Joshua Goins Date: Mon Sep 18 17:30:45 2023 -0400 Add specfiles diff --git a/astra.spec b/astra.spec new file mode 100644 index 0000000..788dcfa --- /dev/null +++ b/astra.spec @@ -0,0 +1,76 @@ +Name: astra +Version: 0.0.0 +Release: 0 +License: GPLv3 +Summary: Linux FFXIV launcher +Url: https://git.sr.ht/~redstrate/astra +Source0: https://git.sr.ht/~redstrate/astra/archive/main.tar.gz + +BuildRequires: appstream +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: extra-cmake-modules +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: kf6-rpm-macros +BuildRequires: libappstream-glib +BuildRequires: git +BuildRequires: rust +BuildRequires: cargo + +BuildRequires: cmake(KF6Config) +BuildRequires: cmake(KF6CoreAddons) +BuildRequires: cmake(KF6I18n) +BuildRequires: cmake(KF6Kirigami2) +BuildRequires: cmake(KF6KirigamiAddons) +BuildRequires: cmake(KF6QQC2DesktopStyle) + +BuildRequires: pkgconfig(mpv) +BuildRequires: pkgconfig(xkbcommon) + +BuildRequires: cmake(Qt6Core) +BuildRequires: cmake(Qt6Core5Compat) +BuildRequires: cmake(Qt6Gui) +BuildRequires: cmake(Qt6Keychain) +BuildRequires: cmake(Qt6Quick) +BuildRequires: cmake(Qt6QuickControls2) +BuildRequires: cmake(Qt6WebView) + +BuildRequires: pkgconfig(gamemode) +BuildRequires: cmake(QCoro6) +BuildRequires: cmake(QuaZip-Qt6) + +Requires: kf6-kirigami2 +Requires: hicolor-icon-theme + +%description +Linux FFXIV launcher + +%prep +%autosetup -n %{name}-main -p1 + +%build +%cmake_kf6 -DQT_MAJOR_VERSION=6 +%cmake_build + +%install +%cmake_install +%find_lang %{name} + +%check +appstream-util validate-relax --nonet %{buildroot}%{_kf6_datadir}/metainfo/zone.xiv.%{name}.appdata.xml +desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/zone.xiv.%{name}.desktop + +%files -f %{name}.lang +%doc README.md + +%license LICENSES/ + +%{_kf6_bindir}/%{name} + +%{_kf6_datadir}/applications/zone.xiv.%{name}.desktop +%{_kf6_datadir}/icons/hicolor/scalable/apps/zone.xiv.%{name}.svg + +%{_kf6_metainfodir}/zone.xiv.%{name}.appdata.xml + +%changelog diff --git a/unshield.spec b/unshield.spec new file mode 100644 index 0000000..e1389fe --- /dev/null +++ b/unshield.spec @@ -0,0 +1,62 @@ +%global git_date 20230323 +%global git_hash 67bca73 +%global git_ver 1.5.1 +%global rel 2 +%global src_name %{name}-%{git_date}-%{git_hash}.tar.xz + +Name: unshield +Version: %{git_ver}^%{git_date}g%{git_hash} +Release: %{rel}%{?dist} +Summary: Install InstallShield applications on a Pocket PC + +License: MIT +URL: https://github.com/twogood/unshield +Source0: %{url}/%{src_name} + +BuildRequires: zlib-devel +BuildRequires: cmake +BuildRequires: gcc + +%description +This tool allows the extraction of InstallShield format cabinet files (which +are different from Microsoft cabinet files). It was initially developed as a +part of the SynCE project to aid with installing applications for Pocket PC +devices, which were often contained in InstallShield installers, but these days +that is rather less likely to be the primary use case. + +%package devel +Summary: Files needed for software development with %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains the files needed for development with +%{name}. + +%prep +%autosetup -n %{name} + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%ldconfig_scriptlets + +%files +%license LICENSE +%doc README.md +%{_bindir}/unshield +%{_mandir}/man1/unshield.1.* +%{_libdir}/libunshield.so.0 +%{_libdir}/libunshield.so.0.0.0 + +%files devel +%{_libdir}/libunshield.so +%{_includedir}/libunshield.h +%{_libdir}/pkgconfig/libunshield.pc + +%changelog +%autochangelog +