rpms/tcl-snack/F-9 tcl-snack.spec,1.5,1.6
Tom Callaway
spot at fedoraproject.org
Tue Mar 17 22:29:51 UTC 2009
Author: spot
Update of /cvs/pkgs/rpms/tcl-snack/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13584/F-9
Modified Files:
tcl-snack.spec
Log Message:
enable devel bits
Index: tcl-snack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-snack/F-9/tcl-snack.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- tcl-snack.spec 22 Oct 2008 18:19:46 -0000 1.5
+++ tcl-snack.spec 17 Mar 2009 22:29:21 -0000 1.6
@@ -9,7 +9,7 @@
Name: tcl-%{realname}
Version: 2.2.10
-Release: 6%{?dist}
+Release: 10%{?dist}
Summary: Sound toolkit
Group: System Environment/Libraries
License: GPLv2+
@@ -27,6 +27,7 @@
Patch3: snack2.2.10-newALSA.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcl-devel, tk-devel, libogg-devel, libvorbis-devel
+BuildRequires: libXft-devel
# BuildRequires: alsa-lib-devel
BuildRequires: python-devel
Requires: tcl(abi) = %{tcl_version}
@@ -47,6 +48,14 @@
easy to integrate Snack based applications with existing sound analysis
software.
+%package devel
+Summary: Development files for Snack Sound Toolkit
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains development files for the Snack Sound Toolkit.
+
%package -n python-%{realname}
Summary: Python bindings for Snack Sound Toolkit
Group: System Environment/Libraries
@@ -76,14 +85,22 @@
%install
rm -rf %{buildroot}
-cd unix/
+pushd unix/
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
-cd ../python
+popd
+
+pushd python
%{__python} setup.py install --skip-build --root %{buildroot}
install -d %{buildroot}%{tcl_sitearch}
mv %{buildroot}%{_libdir}/%{realname}2.2 %{buildroot}%{tcl_sitearch}/%{realname}2.2
chmod -x %{buildroot}%{tcl_sitearch}/%{realname}2.2/snack.tcl
+popd
+
+# Devel bits
+mkdir -p %{buildroot}%{_includedir}
+install -p generic/*.h %{buildroot}%{_includedir}
+install -p unix/snackConfig.sh %{buildroot}%{_libdir}
%clean
rm -rf %{buildroot}
@@ -98,12 +115,29 @@
%{_libdir}/libsnackstub2.2.so
%{tcl_sitearch}/%{realname}2.2/
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*.h
+%{_libdir}/snackConfig.sh
+
%files -n python-%{realname}
%defattr(-,root,root,-)
%doc doc/python-man.html demos/python/
%{python_sitelib}/tkSnack*
%changelog
+* Mon Mar 16 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 2.2.10-10
+- enable -devel package
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.10-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Dec 24 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.2.10-8
+- fix missing BR: libXft-devel
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 2.2.10-7
+- Rebuild for Python 2.6
+
* Wed Oct 22 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.2.10-6
- disable alsa (bz 463259)
More information about the fedora-extras-commits
mailing list