]> git.pld-linux.org Git - packages/kde4-klines.git/commitdiff
- new, based on kde4-kdegames auto/th/kde4-klines-4.12.0-1
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 24 Dec 2013 21:05:30 +0000 (22:05 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 24 Dec 2013 21:05:30 +0000 (22:05 +0100)
kde4-klines.spec [new file with mode: 0644]

diff --git a/kde4-klines.spec b/kde4-klines.spec
new file mode 100644 (file)
index 0000000..d896ead
--- /dev/null
@@ -0,0 +1,71 @@
+%define                _state          stable
+%define                orgname         klines
+%define                qtver           4.8.0
+
+Summary:       Lines for KDE
+Summary(pl.UTF-8):     Gra Lines dla KDE
+Name:          kde4-%{orgname}
+Version:       4.12.0
+Release:       1
+License:       GPL
+Group:         X11/Applications/Games
+Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5: 540736c04346f1a8a643c81c3177f99f
+BuildRequires: automoc4 >= 0.9.88
+BuildRequires: cmake >= 2.8.0
+BuildRequires: kde4-kdelibs-devel >= %{version}
+BuildRequires: kde4-libkdegames-devel >= %{version}
+BuildRequires: qt4-build >= %{qtver}
+BuildRequires: qt4-qmake >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.600
+Obsoletes:     kde4-kdegames-%{orgname}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Lines for KDE. The main rules of game is as simple as possible: you
+move (using mouse) marbles from cell to cell and build lines
+(horizontal, vertical or diagonal). When a line contains 5 or more
+marbles - they are removed from the field and your score grows. After
+each of your turns computer drops three more marbles onto the field.
+
+%description -l pl.UTF-8
+Gra Lines dla KDE. Podstawowe zasady gry są najprostsze jak to
+możliwe: przesuwa się (przy użyciu muszy) klocki z pola na pole i
+buduje linie (poziome, pionowe lub ukośne). Kiedy linia zawiera 5 lub
+więcej klocków - są usuwane z pola i wynik wzrasta. Po każdym ruchu
+gracza komputer zrzuca trzy dodatkowe klocki.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       ../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       kde_htmldir=%{_kdedocdir}
+
+install -d $RPM_BUILD_ROOT/var/games
+# remove locolor icons
+rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
+
+%find_lang %{orgname}  --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{orgname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/klines
+%{_desktopdir}/kde4/klines.desktop
+%{_datadir}/config.kcfg/klines.kcfg
+%{_datadir}/apps/klines
+%{_iconsdir}/*/*/apps/klines.png
This page took 0.093037 seconds and 4 git commands to generate.