A new user interface for you!

File qwbfsmanager.spec of Package qwbfs

Name:          qwbfsmanager
BuildRequires: libqt5-qtbase-devel, libudev-devel, libopenssl-devel
License:       GPLv2
Group:         System/Management
Summary:       A User Interface to manager files for WII using WBFS filesystem
Version:       1.2.5
Release:       1
URL:           https://github.com/pasnox/qwbfsmanager
Source0:       %{name}-%{version}.tar.gz

QWBFS Manager provides a cross platform Qt GUI for working with hard disk drives that have been formatted to the WBFS file system.

%dir %{_datadir}/qt5
%dir %{_datadir}/qt5/translations

%package devel
Summary:    Development files for %{name}
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel

%files devel
%dir %{_datadir}/qt5
%dir %{_datadir}/qt5/translations

%setup -q -n %{name}-%{version}

find -name '*.prf' -o -name '*.pro' -exec sed -i 's/QMAKE_RPATHDIR/# QMAKE_RPATHDIR/gi' '{}' \;
qmake-qt5 -r PREFIX=%{buildroot}/usr qwbfs.pro
make %{?_smp_mflags}

make INSTALL_ROOT=%{buildroot} install
mkdir -p %{buildroot}/%{_bindir}
find %{buildroot}/home/ -name qwbfsmanager -exec mv '{}' %{buildroot}/%{_bindir}/ \;
# nuke desktop/icon, don't care about that for now
rm -Rf %{buildroot}/home