SPECS: rolldice.spec (NEW) - initial

lisu lisu at pld-linux.org
Wed Dec 17 12:20:33 CET 2008


Author: lisu                         Date: Wed Dec 17 11:20:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   rolldice.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/rolldice.spec
diff -u /dev/null SPECS/rolldice.spec:1.1
--- /dev/null	Wed Dec 17 12:20:33 2008
+++ SPECS/rolldice.spec	Wed Dec 17 12:20:27 2008
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary:	A dice rolling software
+Summary(pl.UTF-8):	Program do rzucania kośćmi
+Name:		rolldice
+Version:	1.10
+Release:	1
+License:	GPL v2+
+Group:		Applications
+Source0:	http://ftp.de.debian.org/debian/pool/main/r/rolldice/%{name}_%{version}.orig.tar.gz
+# Source0-md5:	c65d37f81e80d0d5db6c49c08cf3b484
+Patch0:		%{name}-Makefile.patch
+URL:		http://packages.debian.org/source/sid/rolldice
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+rolldice is a simple command line tool for rolling dices with
+different ways to compute.
+
+%description -l pl.UTF-8
+rolldice jest prostym narzędziem konsolowym, które symuluje rzut
+kością na wiele różnych sposobów.
+
+%prep
+%setup -q -n %{name}-%{version}.orig
+%patch0 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS Changelog README
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man6/%{name}.6*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/12/17 11:20:27  lisu
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list