enable devel bits
This commit is contained in:
parent
64c120c2a5
commit
0c7bec848e
|
@ -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 @@ a bonus you get an application that is cross-platform from start. It is also
|
|||
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 @@ cd ../python
|
|||
|
||||
%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 @@ rm -rf %{buildroot}
|
|||
%{_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@redhat.com> - 2.2.10-10
|
||||
- enable -devel package
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue