SPECS: tile.spec (NEW) - initial version

lkrotowski lkrotowski at pld-linux.org
Sat Mar 17 19:54:56 CET 2007


Author: lkrotowski                   Date: Sat Mar 17 18:54:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial version

---- Files affected:
SPECS:
   tile.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/tile.spec
diff -u /dev/null SPECS/tile.spec:1.1
--- /dev/null	Sat Mar 17 19:54:56 2007
+++ SPECS/tile.spec	Sat Mar 17 19:54:51 2007
@@ -0,0 +1,108 @@
+# $Revision$, $Date$
+%define tkver	8.4
+Summary:	Tile - an improved themeing engine for Tk
+Name:		tile
+Version:	0.7.8
+Release:	1
+License:	BSD
+Group:		Development/Languages/Tcl
+Source0:	http://dl.sourceforge.net/tktable/%{name}-%{version}.tar.gz
+# Source0-md5:	1172c1875ae63d7a73d8ba27835e16d4
+Patch0:		%{name}-pkg_lib_file.patch
+URL:		http://tktable.sourceforge.net/tile/
+BuildRequires:	autoconf
+BuildRequires:	tk-devel >= %{tkver}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_ulibdir	/usr/lib
+
+%description
+The Tile Widget Set is a next-generation re-implementation of many of
+the core Tk widgets, along with the addition of several new widgets.
+With Tile, Tk applications can achieve an appearance much closer to
+native platform widgets, as well as take advantage of a modern, highly
+dynamic theme engine to produce a wide variety of alternative user
+interface styles. Tile widgets complement the existing Tk widgets, and
+Tile is currently being incorporated directly into Tk.
+
+%package devel
+Summary:	Tile - development files
+Group:		Development/Languages/Tcl
+Requires:	%{name} = %{version}-%{release}
+Requires:	tk-devel >= %{tkver}
+
+%description devel
+The Tile Widget Set development files.
+
+%package demo
+Summary:	Tile - demo programs
+Group:		Development/Languages/Tcl
+Requires:	%{name} = %{version}-%{release}
+
+%description demo
+The Tile Widget Set demo programs.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__autoconf}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_mandir},%{_ulibdir}}
+
+%{__make} install \
+	 DESTDIR=$RPM_BUILD_ROOT
+
+if [ "%{_libdir}" != "%{_ulibdir}" ] ; then
+	mv $RPM_BUILD_ROOT%{_libdir}/%{name}%{version} $RPM_BUILD_ROOT%{_ulibdir}/
+	ln -sf %{_libdir}/lib%{name}%{version}.so $RPM_BUILD_ROOT%{_ulibdir}/lib%{name}%{version}.so
+fi
+
+ln -sf %{_libdir}/lib%{name}%{version}.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
+
+mkdir $RPM_BUILD_ROOT%{_mandir}/man{n,3}
+install doc/*.n $RPM_BUILD_ROOT%{_mandir}/mann
+install doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+
+mv demos $RPM_BUILD_ROOT%{_ulibdir}/%{name}%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib%{name}%{version}.so
+%dir %{_ulibdir}/%{name}%{version}
+%{_ulibdir}/%{name}%{version}/*.tcl
+%{_ulibdir}/lib*.so
+%{_mandir}/mann/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/lib%{name}.so
+%{_includedir}/*
+%{_libdir}/libttkstub.a
+%{_mandir}/man3/*
+
+%files demo
+%defattr(644,root,root,755)
+%{_ulibdir}/%{name}%{version}/demos
+
+%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.1  2007/03/17 18:54:51  lkrotowski
+- initial version
+
================================================================


More information about the pld-cvs-commit mailing list