SPECS: typespeed.spec - 0.6.5 - hungarizing

uzsolt uzsolt at pld-linux.org
Tue Apr 7 19:55:36 CEST 2009


Author: uzsolt                       Date: Tue Apr  7 17:55:36 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.6.5
- hungarizing

---- Files affected:
SPECS:
   typespeed.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/typespeed.spec
diff -u SPECS/typespeed.spec:1.16 SPECS/typespeed.spec:1.17
--- SPECS/typespeed.spec:1.16	Fri Apr 27 00:36:13 2007
+++ SPECS/typespeed.spec	Tue Apr  7 19:55:30 2009
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
 Summary:	Program for counting typed chars
+Summary(hu.UTF-8):	Program a gépelt karakterek számlálására
 Summary(pl.UTF-8):	Program do mierzenia ilości wciskanych klawiszy
 Name:		typespeed
-Version:	0.5.3
+Version:	0.6.5
 Release:	1
 License:	GPL
 Group:		Applications/Text
-Source0:	http://tobias.eyedacor.org/typespeed/%{name}-%{version}.tar.gz 
-# Source0-md5:	ee888deb405a40045297a6e5175f78e8
+Source0:	http://tobias.eyedacor.org/typespeed/%{name}-%{version}.tar.gz
+# Source0-md5:	578102b418c7df84903d3e90df2e7483
 Patch0:		%{name}-dirs.patch
 URL:		http://ls.purkki.org/typespeed/
 BuildRequires:	ncurses-devel
@@ -17,6 +18,11 @@
 Typespeed gives your fingers' cps (total and correct), typoratio and
 some points to compare with your friends.
 
+%description -l hu.UTF-8
+Typespeed megadja az ujjaid cps-ét (összes és helyes
+(karakter/másodperc)), gépelési arányt és pontozza, amit
+összehasonlíthatsz a barátaid teljesítményével.
+
 %description -l pl.UTF-8
 Typespeed podaje ilość znaków na sekundę Twoich palców, poprawność
 pisowni i kilka innych współczynników do porównania się z
@@ -24,34 +30,36 @@
 
 %prep
 %setup -q
-%patch0 -p1
+# %patch0 -p1
 
 %build
-%{__make} \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -D_GNU_SOURCE -I/usr/include/ncurses"
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{usr/share/typespeed,etc}
-
-install -D typespeed $RPM_BUILD_ROOT%{_bindir}/typespeed
-install -D typespeed.6 $RPM_BUILD_ROOT%{_mandir}/man6/typespeed.6
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 
-install words.* $RPM_BUILD_ROOT%{_datadir}/typespeed/
-echo %{_datadir}/typespeed/ > $RPM_BUILD_ROOT%{_sysconfdir}/typespeedrc
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README
-%{_sysconfdir}/typespeedrc
+%dir %{_datadir}/locale/fr_FR/LC_MESSAGES
 %attr(755,root,root) %{_bindir}/%{name}
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/words.*
-%{_mandir}/man?/*
+%attr(1777,root,root) /var/games/typespeed.score
+%{_sysconfdir}/typespeedrc
+%{_datadir}/%{name}
+%{_mandir}/man6/typespeed*
+%doc README
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +67,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2009/04/07 17:55:30  uzsolt
+- 0.6.5
+- hungarizing
+
 Revision 1.16  2007/04/26 22:36:13  qboosh
 - CVE reference for 0.5.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/typespeed.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list