packages: tint2/tint2.spec - up to 0.11 - it now uses cmake build, BR: cmak...

duddits duddits at pld-linux.org
Sun Aug 15 23:05:54 CEST 2010


Author: duddits                      Date: Sun Aug 15 21:05:54 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.11
- it now uses cmake build, BR: cmake
- drop auto-hell
- BR: desktop-file-utils
- mo' files!
- back to .1 rel. for testing purposes

---- Files affected:
packages/tint2:
   tint2.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/tint2/tint2.spec
diff -u packages/tint2/tint2.spec:1.14 packages/tint2/tint2.spec:1.15
--- packages/tint2/tint2.spec:1.14	Mon Mar 22 21:10:51 2010
+++ packages/tint2/tint2.spec	Sun Aug 15 23:05:46 2010
@@ -6,19 +6,18 @@
 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.9
-Release:	1
+Version:	0.11
+Release:	0.1
 License:	GPL v2
 Group:		Applications
-Source0:	http://tint2.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5:	411de6ccb8b82089852d8c854b12ddb9
+Source0:	http://tint2.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	6fc5731e7425125fa84a2add5cef4bff
 Source1:	http://tint2.googlecode.com/files/%{name}-0.7.pdf
 # Source1-md5:	25980bd22fabc6a66660173fa639957b
-Patch0:		%{name}-tintwizard_conf.patch
 URL:		http://code.google.com/p/tint2/
-BuildRequires:	autoconf
-BuildRequires:	automake
 BuildRequires:	cairo-devel
+BuildRequires:	cmake
+BuildRequires:	desktop-file-utils
 BuildRequires:	glib2-devel
 BuildRequires:	imlib2-devel
 BuildRequires:	libpng-devel
@@ -60,15 +59,13 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch0 -p1
+mkdir build
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_usr} \
+	..
 %{__make} \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} %{rpmldflags}"
@@ -78,7 +75,7 @@
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{?with_tintwizard:install -d $RPM_BUILD_ROOT%{_bindir}}
 
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{?with_tintwizard:cp src/tint2conf/tintwizard.py $RPM_BUILD_ROOT%{_bindir}}
@@ -90,14 +87,18 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README doc/tint2-0.7.pdf
+%doc AUTHORS ChangeLog README doc/tint2-0.7.pdf
 %attr(755,root,root) %{_bindir}/tint2
+%attr(755,root,root) %{_bindir}/tint2conf
 %{?with_tintwizard:%attr(755,root,root) %{_bindir}/tintwizard.py}
 %dir %{_sysconfdir}/xdg/tint2
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/tint2/tint2rc
 %dir %{_datadir}/tint2
 %{_datadir}/tint2/default_icon.png
 %{_mandir}/man1/tint2.1.*
+%{_pixmapsdir}/tint2conf.png
+%{_pixmapsdir}/tint2conf.svg
+%{_desktopdir}/tint2conf.desktop
 
 %files examples
 %defattr(644,root,root,755)
@@ -109,6 +110,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2010/08/15 21:05:46  duddits
+- up to 0.11
+- it now uses cmake build, BR: cmake
+- drop auto-hell
+- BR: desktop-file-utils
+- mo' files!
+- back to .1 rel. for testing purposes
+
 Revision 1.14  2010/03/22 20:10:51  duddits
 - up to 0.9
 - rel. 1
================================================================

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



More information about the pld-cvs-commit mailing list