SPECS: Togl.spec - updated to 1.7 - License is MIT-style
qboosh
qboosh at pld-linux.org
Sat Dec 9 01:38:04 CET 2006
Author: qboosh Date: Sat Dec 9 00:38:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 1.7
- License is MIT-style
---- Files affected:
SPECS:
Togl.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/Togl.spec
diff -u SPECS/Togl.spec:1.19 SPECS/Togl.spec:1.20
--- SPECS/Togl.spec:1.19 Wed Jul 26 17:02:19 2006
+++ SPECS/Togl.spec Sat Dec 9 01:37:59 2006
@@ -2,16 +2,17 @@
Summary: Togl - Tk OpenGL Widget
Summary(pl): Togl - Biblioteka widgetów dla Tk
Name: Togl
-Version: 1.6
-Release: 3
-License: Open Source (see LICENSE file for details)
+Version: 1.7
+Release: 1
+License: MIT
Group: Libraries
Source0: http://dl.sourceforge.net/togl/%{name}-%{version}.tar.gz
-# Source0-md5: 1019f483ee1564c98310ff3ca9a75463
+# Source0-md5: 0e7da2559513b064dbb0934dc128b46d
URL: http://togl.sourceforge.net/
BuildRequires: OpenGL-devel
BuildRequires: tcl >= 8.3
BuildRequires: tk >= 8.3
+BuildRequires: xorg-lib-libXmu-devel
Requires: OpenGL
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,27 +39,24 @@
%setup -q
%build
-%{__make} \
- CC="%{__cc}" \
- COPTS="-c %{rpmcflags} -fPIC -DPC_LINUX %{?debug:-DDEBUG} -DUSE_TCL_STUBS -DUSE_TK_STUBS -DUSE_LOCAL_TK_H" \
- SHLINK="%{__cc} -shared" \
- LIBDIRS="\$(TCL_LIB) -L/usr/X11R6/lib" \
- TCL_VER="8.3"
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir}/Togl-%{version},%{_includedir},%{_examplesdir}/%{name}-%{version}}
-install togl.so pkgIndex.tcl $RPM_BUILD_ROOT%{_libdir}/Togl-%{version}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
for f in double gears index overlay texture ; do
- install ${f}.c ${f}.so ${f}.tcl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+ install ${f}.c ${f}.tcl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
done
+
# for texture
install ben.rgb tree2.rgba $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install togl.h $RPM_BUILD_ROOT%{_includedir}
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,16 +65,15 @@
%files
%defattr(644,root,root,755)
-%doc LICENSE Togl.html
-%dir %{_libdir}/Togl-%{version}
-%attr(755,root,root) %{_libdir}/Togl-%{version}/togl.so
-%{_libdir}/Togl-%{version}/*.tcl
+%doc LICENSE README.stubs TODO Togl.html
+%dir %{_libdir}/Togl%{version}
+%attr(755,root,root) %{_libdir}/Togl%{version}/libTogl%{version}.so
+%{_libdir}/Togl%{version}/pkgIndex.tcl
%files devel
%defattr(644,root,root,755)
-%{_includedir}/togl.h
+%{_includedir}/togl*.h
%dir %{_examplesdir}/%{name}-%{version}
-%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*.so
%{_examplesdir}/%{name}-%{version}/*.c
%{_examplesdir}/%{name}-%{version}/*.tcl
%{_examplesdir}/%{name}-%{version}/*.rgb*
@@ -87,6 +84,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2006/12/09 00:37:59 qboosh
+- updated to 1.7
+- License is MIT-style
+
Revision 1.19 2006/07/26 15:02:19 glen
- avoid defining default %attr
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/Togl.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list