Author: duddits                      Date: Mon Jan  4 20:07:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.8
- new bcond: tintwizard and corresponding R: added
- new examples

---- Files affected:
packages/tint2:
   tint2.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/tint2/tint2.spec
diff -u packages/tint2/tint2.spec:1.6 packages/tint2/tint2.spec:1.7
--- packages/tint2/tint2.spec:1.6       Sat Sep  5 12:07:47 2009
+++ packages/tint2/tint2.spec   Mon Jan  4 21:07:35 2010
@@ -1,13 +1,17 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without  tintwizard     # build without tests
+#
 Summary:       tint2 is a simple panel/taskbar intentionally made for openbox3
 Summary(pl.UTF-8):     tint2 jest prostym panelem oryginalnie zaprojektowanym 
dla openbox3
 Name:          tint2
-Version:       0.7.1
+Version:       0.8
 Release:       1
 License:       GPL v2
 Group:         Applications
 Source0:       http://tint2.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: b7a740550a82093d4d0d8143499f3f13
+# Source0-md5: 866bc529cb7d0884e976f8fc9aef0eea
 Source1:       http://tint2.googlecode.com/files/%{name}-0.7.pdf
 # Source1-md5: 25980bd22fabc6a66660173fa639957b
 URL:           http://code.google.com/p/tint2/
@@ -21,6 +25,10 @@
 BuildRequires: pango-devel
 BuildRequires: pkgconfig
 BuildRequires: xorg-lib-libXinerama-devel
+%if %{with tintwizard}
+Requires:      python
+Requires:      python-pygtk-gtk
+%endif
 Suggests:      openbox
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -63,12 +71,14 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{?with_tintwizard:cp src/tint2conf/tintwizard.py $RPM_BUILD_ROOT%{_bindir}}
 cp %{SOURCE1} doc
-install tintrc0* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} 
+install sample/*.tint2rc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -77,6 +87,7 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README doc/tint2-0.7.pdf
 %attr(755,root,root) %{_bindir}/tint2
+%{?with_tintwizard:%attr(755,root,root) %{_bindir}/tintwizard.py}
 %dir %{_sysconfdir}/xdg/tint2
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/tint2/tint2rc
 %{_mandir}/man1/tint2.1.*
@@ -91,6 +102,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/01/04 20:07:35  duddits
+- up to 0.8
+- new bcond: tintwizard and corresponding R: added
+- new examples
+
 Revision 1.6  2009/09/05 10:07:47  duddits
 - rel. 1, works
 
================================================================

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

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

Reply via email to