]> git.pld-linux.org Git - packages/babychess.git/commitdiff
- initial
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Thu, 9 Oct 2003 22:10:00 +0000 (22:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    babychess.spec -> 1.1

babychess.spec [new file with mode: 0644]

diff --git a/babychess.spec b/babychess.spec
new file mode 100644 (file)
index 0000000..6b5cb95
--- /dev/null
@@ -0,0 +1,55 @@
+Summary:       BabyChess is a chess program.
+Summary(pl):   Program do gry w szachy.
+Name:          babychess
+Version:       14.1
+Release:       1
+Epoch:         0
+License:       GPL
+Group:         X11/Applications/Games
+Source0:       http://user.cs.tu-berlin.de/~kunegis/babychess/download/%{name}-%{version}.tar.bz2
+# Source0-md5: 4d63c534dabfa7dda87ccea77ce45198
+URL:           http://user.cs.tu-berlin.de/~kunegis/babychess/
+Patch0:                %{name}-buildfix.patch
+Patch1:                %{name}-destdir.patch
+Patch2:                %{name}-desktop.patch
+BuildRequires: gtk+-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BabyChess is a chess program. You can edit chess games, play chess on
+the internet, and play locally against engines.
+
+%description -l pl
+BabyChess jest programem do gry w szachy. Mo¿liwa jest edycja stanu
+gry, gra poprzez internet, oraz gra z komputerem.
+
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/%{_desktopdir}
+mv "$RPM_BUILD_ROOT%{_applnkdir}/Games/BabyChess Server.desktop" $RPM_BUILD_ROOT/%{_desktopdir}
+mv "$RPM_BUILD_ROOT%{_applnkdir}/Games/BabyChess Game Archive.desktop" $RPM_BUILD_ROOT/%{_desktopdir}
+mv "$RPM_BUILD_ROOT%{_applnkdir}/Games/BabyChess Game.desktop" $RPM_BUILD_ROOT/%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README LICENSING
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*
+%{_datadir}/baby
This page took 0.030345 seconds and 4 git commands to generate.