packages: tint2/tint2.spec - up to 0.7.1 - auto-hell added - examples, pdf doc

duddits duddits at pld-linux.org
Sun Jul 26 17:02:05 CEST 2009


Author: duddits                      Date: Sun Jul 26 15:02:05 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.7.1
- auto-hell added
- examples, pdf doc

---- Files affected:
packages/tint2:
   tint2.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/tint2/tint2.spec
diff -u packages/tint2/tint2.spec:1.4 packages/tint2/tint2.spec:1.5
--- packages/tint2/tint2.spec:1.4	Fri May 15 21:11:03 2009
+++ packages/tint2/tint2.spec	Sun Jul 26 17:01:59 2009
@@ -1,19 +1,23 @@
 # $Revision$, $Date$
-%define		_beta	0.7-beta1
 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.beta1
+Version:	0.7.1
 Release:	0.1
 License:	GPL v2
 Group:		Applications
-Source0:	http://tint2.googlecode.com/files/%{name}-%{_beta}.tar.gz
-# Source0-md5:	93b70b4603235b307d3707b2e51d23d9
+Source0:	http://tint2.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	b7a740550a82093d4d0d8143499f3f13
+Source1:	http://tint2.googlecode.com/files/%{name}-0.7.pdf
+# Source1-md5:	25980bd22fabc6a66660173fa639957b
 URL:		http://code.google.com/p/tint2/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	cairo-devel
 BuildRequires:	glib2-devel
 BuildRequires:	imlib2-devel
 BuildRequires:	libpng-devel
+BuildRequires:	libtool
 BuildRequires:	pango-devel
 BuildRequires:	pkgconfig
 BuildRequires:	xorg-lib-libXinerama-devel
@@ -27,42 +31,71 @@
 
 %description -l pl.UTF-8
 tint2 jest prostym panelem/zasobnikiem oryginalnie zaprojektowanym dla
-openbox3 ale powinien również współpracować z innymi menadżerami
+openbox3, ale powinien również współpracować z innymi menadżerami
 okien. Jego kod oparty jest na ttm http://code.google.com/p/ttm/
 
+%package examples
+Summary:        tint2 - example configurations
+Summary(pl.UTF-8):      tint2 - przykładowe konfiguracje
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+
+%description examples
+tint2 - example configurations.
+
+%description examples -l pl.UTF-8
+tint2 - przykładowe konfiguracje.
+
 %prep
-%setup -q -n %{name}-%{_beta}
-rm src/tint2
+%setup -q 
 
 %build
-cd src
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
 %{__make} \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd src
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp %{SOURCE1} doc
+install tintrc0* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README doc/tint2-0.7.pdf
+%doc AUTHORS ChangeLog NEWS README doc/tint2-0.7.pdf
 %attr(755,root,root) %{_bindir}/tint2
 %dir %{_sysconfdir}/xdg/tint2
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/tint2/tint2rc
 %{_mandir}/man1/tint2.1.*
 
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
 %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.5  2009/07/26 15:01:59  duddits
+- up to 0.7.1
+- auto-hell added
+- examples, pdf doc
+
 Revision 1.4  2009/05/15 19:11:03  sparky
 - don't use prebuilt binary
 - use __cc and rpm*flags
================================================================

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



More information about the pld-cvs-commit mailing list