Author: uzsolt                       Date: Fri May 21 08:50:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 3.0
- use make to install
- fix files section

---- Files affected:
packages/tofu:
   tofu.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/tofu/tofu.spec
diff -u packages/tofu/tofu.spec:1.5 packages/tofu/tofu.spec:1.6
--- packages/tofu/tofu.spec:1.5 Tue Apr  7 23:24:45 2009
+++ packages/tofu/tofu.spec     Fri May 21 10:50:18 2010
@@ -2,12 +2,12 @@
 Summary:       Tofu provides an easy, very lightweight, and effiscient way to 
manage your todo list(s)
 Summary(hu.UTF-8):     Tofu egy könnyű, nagyon gyors utat biztosít a teendőid 
listáinak kezeléséhez
 Name:          tofu
-Version:       2.5
+Version:       3.0
 Release:       0.1
 License:       MIT/X11
 Group:         Development/Tools
 Source0:       http://requiescant.tuxfamily.org/tofu/%{name}-%{version}.tar.gz
-# Source0-md5: 18dbd1854411f929ea6eb53dceaaab52
+# Source0-md5: 8c6f71c31a269cf75c6fc8f483ff79c0
 URL:           http://requiescant.tuxfamily.org/tofu/index.html
 BuildRequires: perl-base
 BuildRequires: sed >= 4.0
@@ -27,23 +27,22 @@
 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' tofu
 
 %build
+./configure --prefix=%{_prefix} --mandir=%{_mandir} 
--docdir=%{_docdir}/%{name}-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install tofu $RPM_BUILD_ROOT%{_bindir}
-cp -a share/tofu.1 $RPM_BUILD_ROOT%{_mandir}/man1
-%{__perl} playground.pl -root=$RPM_BUILD_ROOT%{_examplesdir}/%{name} playground
+
+%{__make} DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README CHANGELOG PLAY playground.pl
-%attr(755,root,root) %{_bindir}/tofu
-%{_mandir}/man1/tofu.1*
-%{_examplesdir}/%{name}
+%attr(755,root,root) %{_bindir}/tofu*
+%doc %{_docdir}/%{name}-%{version}
+%{_mandir}/man1/*.1*
+%{_mandir}/man7/*.7*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +50,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/05/21 08:50:18  uzsolt
+- 3.0
+- use make to install
+- fix files section
+
 Revision 1.5  2009/04/07 21:24:45  uzsolt
 - noarch build
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tofu/tofu.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to