stupid obs
OBS-URL: https://build.opensuse.org/package/show/games/q5go?expand=0&rev=2
This commit is contained in:
12
q5go.spec
12
q5go.spec
@@ -22,7 +22,7 @@ Release: 0
|
||||
Summary: A Go board including an editor and analysis frontend
|
||||
License: GPL-2.0-or-later
|
||||
Group: Amusements/Games/Board/Other
|
||||
URL: https://github.com/bernds/%{name}
|
||||
URL: https://github.com/bernds/q5go
|
||||
Source0: https://github.com/bernds/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
BuildRequires: libqt5-linguist-devel
|
||||
BuildRequires: pkgconfig
|
||||
@@ -57,29 +57,29 @@ pushd src
|
||||
popd
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
mkdir -p %{buildroot}%{_datadir}/q5go/translations
|
||||
|
||||
pushd src
|
||||
install -m 0755 q5go %{buildroot}%{_bindir}
|
||||
install -m 0755 q5go %{buildroot}%{_bindir}/
|
||||
|
||||
# install translations
|
||||
install -m 0644 translations/*.qm %{buildroot}%{_datadir}/q5go/translations
|
||||
install -m 0644 translations/*.qm %{buildroot}%{_datadir}/q5go/translations/
|
||||
|
||||
# q5go doesn't have a highres icon
|
||||
install -m 0644 images/clientwindow/Bowl.png %{buildroot}%{_datadir}/pixmaps/q5go.png
|
||||
|
||||
%suse_update_desktop_file -c q5Go q5Go "Go client" q5go qgo "Qt;Game;BoardGame;"
|
||||
install -m 0644 q5Go.desktop %{buildroot}%{_datadir}/applications
|
||||
%suse_update_desktop_file -c q5Go q5Go "Go client" q5go q5go "Qt;Game;BoardGame;"
|
||||
popd
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README.md
|
||||
%{_bindir}/q5go
|
||||
%{_datadir}/applications/q5Go.desktop
|
||||
%{_datadir}/pixmaps/q5go.png
|
||||
%{_datadir}/q5go
|
||||
%{_libqt5_bindir}/q5go
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user