[tcl-togl] Initial import

Sandro Mani smani at fedoraproject.org
Thu Jun 12 23:06:22 UTC 2014


commit 41fef065a3f819a3b47c9709232d17366e00a57c
Author: Sandro Mani <manisandro at gmail.com>
Date:   Fri Jun 13 01:06:02 2014 +0200

    Initial import

 .gitignore    |    1 +
 sources       |    1 +
 tcl-togl.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..519a55a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Togl-1.7.tar.gz
diff --git a/sources b/sources
index e69de29..fd948b5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0e7da2559513b064dbb0934dc128b46d  Togl-1.7.tar.gz
diff --git a/tcl-togl.spec b/tcl-togl.spec
new file mode 100644
index 0000000..65cb587
--- /dev/null
+++ b/tcl-togl.spec
@@ -0,0 +1,59 @@
+%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
+%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
+
+Name:           tcl-togl
+Version:        1.7
+Release:        1%{?dist}
+Summary:        A Tk OpenGL widget
+
+License:        BSD
+URL:            http://togl.sourceforge.net/
+Source0:        http://sourceforge.net/projects/togl/files/Togl/%{version}/Togl-%{version}.tar.gz
+
+Provides:       togl = %{version}-%{release}
+
+Requires:       tcl(abi) = 8.6
+
+BuildRequires:  tk-devel
+BuildRequires:  libXmu-devel
+BuildRequires:  mesa-libGL-devel
+
+%description
+Togl is a Tk widget for OpenGL rendering
+
+
+%package devel
+Summary:         Development files for %{name}
+Requires:        %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for %{name}.
+
+
+%prep
+%setup -q -n Togl-%{version}
+
+
+%build
+%configure --libdir=%{tcl_sitearch} --with-tk=%{_libdir}
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+rm -f %{buildroot}/%{_libdir}/Togl%{version}/LICENSE
+ln -s %{tcl_sitearch}/Togl%{version}/libTogl%{version}.so %{buildroot}/%{_libdir}/libTogl%{version}.so
+
+
+%files
+%doc LICENSE README.stubs
+%{tcl_sitearch}/Togl%{version}
+%{_libdir}/libTogl%{version}.so
+
+%files devel
+%{_includedir}/*
+
+
+%changelog
+* Wed Jun 11 2014 Sandro Mani <manisandro at gmail.com> - 1.7-1
+- Initial package


More information about the scm-commits mailing list