- initial release
authorpascalek <pascalek@pld-linux.org>
Thu, 12 Sep 2002 05:11:48 +0000 (05:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cuyo.spec -> 1.1

cuyo.spec [new file with mode: 0644]

diff --git a/cuyo.spec b/cuyo.spec
new file mode 100644 (file)
index 0000000..4502a99
--- /dev/null
+++ b/cuyo.spec
@@ -0,0 +1,56 @@
+Summary:       Cuyo.
+Name:          cuyo
+Version:       1.6.0alpha5
+Release:       1
+License:       GPL
+Group:         X11/Applications/Games
+Source0:       http://freesoftware.fsf.org/download/%{name}/%{name}-%{version}.tar.gz
+Patch0:                %{name}-make.patch
+URL:           http://www.karimmi.de/%{name}/
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: qt-devel
+Requires:      qt
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+
+%description
+Cuyo is an interesting Tetris clone.
+  
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+aclocal -I .
+%{__automake}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+#Could somebody help me to force automake using DESTDIR? //pascalek
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_bindir}
+install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}/pics
+install -d $RPM_BUILD_ROOT/%{_mandir}/man6
+
+cp src/%{name} $RPM_BUILD_ROOT/%{_bindir}
+cp data/*.ld $RPM_BUILD_ROOT/%{_datadir}/%{name}
+cp data/pics/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/pics
+cp docs/%{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS TODO README docs/cual
+%attr(755,root,root) %{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/pics
+%{_datadir}/%{name}/*.ld
+%{_datadir}/%{name}/pics/*
+%{_mandir}/man6/*
This page took 0.030968 seconds and 4 git commands to generate.