- updated to 18.12.0
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 27 Dec 2018 09:40:45 +0000 (10:40 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 27 Dec 2018 09:40:45 +0000 (10:40 +0100)
ka5-kubrick.spec [new file with mode: 0644]

diff --git a/ka5-kubrick.spec b/ka5-kubrick.spec
new file mode 100644 (file)
index 0000000..3cf7ff5
--- /dev/null
@@ -0,0 +1,80 @@
+%define                kdeappsver      18.12.0
+%define                qtver           5.9.0
+%define                kaname          kubrick
+Summary:       kubrick
+Summary(pl.UTF-8):     kubrick
+Name:          ka5-%{kaname}
+Version:       18.12.0
+Release:       1
+License:       GPL v2+
+Group:         X11/Applications/Games
+Source0:       http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 0fb5ecf5f0b4b728f284eb5b28c26c47
+URL:           http://www.kde.org/
+BuildRequires: OpenGL-devel
+BuildRequires: Qt5Core-devel
+BuildRequires: Qt5Gui-devel >= 5.11.1
+BuildRequires: Qt5OpenGL-devel
+BuildRequires: Qt5Qml-devel >= 5.11.1
+BuildRequires: Qt5Quick-devel >= 5.11.1
+BuildRequires: Qt5Svg-devel
+BuildRequires: Qt5Widgets-devel
+BuildRequires: gettext-devel
+BuildRequires: ka5-libkdegames-devel >= 18.12.0
+BuildRequires: kf5-extra-cmake-modules >= 5.30.0
+BuildRequires: kf5-kconfig-devel >= 5.30.0
+BuildRequires: kf5-kconfigwidgets-devel >= 5.30.0
+BuildRequires: kf5-kcoreaddons-devel >= 5.30.0
+BuildRequires: kf5-kcrash-devel >= 5.30.0
+BuildRequires: kf5-kdoctools-devel >= 5.30.0
+BuildRequires: kf5-ki18n-devel >= 5.30.0
+BuildRequires: kf5-kio-devel >= 5.30.0
+BuildRequires: kf5-kwidgetsaddons-devel >= 5.30.0
+BuildRequires: kf5-kxmlgui-devel >= 5.30.0
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kubrick is a game based on the Rubik's Cubeā„¢ puzzle. The cube sizes
+range from 2x2x2 up to 6x6x6, or you can play with irregular "bricks"
+such as 5x3x2 or "mats" such as 6x4x1 or 2x2x1. The game has a
+selection of puzzles at several levels of difficulty, as well as demos
+of pretty patterns and solution moves, or you can make up your own
+puzzles.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+/etc/xdg/kubrick.categories
+%attr(755,root,root) %{_bindir}/kubrick
+%{_desktopdir}/org.kde.kubrick.desktop
+%{_iconsdir}/hicolor/128x128/apps/kubrick.png
+%{_iconsdir}/hicolor/16x16/apps/kubrick.png
+%{_iconsdir}/hicolor/22x22/apps/kubrick.png
+%{_iconsdir}/hicolor/32x32/apps/kubrick.png
+%{_iconsdir}/hicolor/48x48/apps/kubrick.png
+%{_iconsdir}/hicolor/64x64/apps/kubrick.png
+%{_datadir}/kubrick
+%dir %{_datadir}/kxmlgui5/kubrick
+%{_datadir}/kxmlgui5/kubrick/kubrickui.rc
+%{_datadir}/metainfo/org.kde.kubrick.appdata.xml
This page took 0.103049 seconds and 4 git commands to generate.