rpms/tcl-snack/devel tcl-snack.spec,1.8,1.9
Tom Callaway
spot at fedoraproject.org
Tue Mar 17 22:29:52 UTC 2009
Author: spot
Update of /cvs/pkgs/rpms/tcl-snack/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13584/devel
Modified Files:
tcl-snack.spec
Log Message:
enable devel bits
Index: tcl-snack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-snack/devel/tcl-snack.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- tcl-snack.spec 25 Feb 2009 18:39:26 -0000 1.8
+++ tcl-snack.spec 17 Mar 2009 22:29:21 -0000 1.9
@@ -9,7 +9,7 @@
Name: tcl-%{realname}
Version: 2.2.10
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Sound toolkit
Group: System Environment/Libraries
License: GPLv2+
@@ -48,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
@@ -77,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}
@@ -99,12 +115,20 @@
%{_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
More information about the fedora-extras-commits
mailing list