]> git.pld-linux.org Git - packages/SoundStudio.git/blobdiff - SoundStudio.spec
- cleaning
[packages/SoundStudio.git] / SoundStudio.spec
index d0ce15be711b5233a6eb55a682d864fbbb5e067a..13241e5d287bc1d28b7c177dc7e4c3ec954f86ca 100644 (file)
@@ -1,67 +1,77 @@
-Summary: tk sound editor, with record, playback, and mixer facilities 
-Name: SoundStudio
-Version: 0.9.1
-Release: 2
-Group: Applications/Sound
-Copyright: GPL
-Source: http://www.elec-eng.leeds.ac.uk/staff/een6njb/Software/Studio/SoundStudio-0.9.1.tar.gz
-URL: http://www.elec-eng.leeds.ac.uk/staff/een6njb/Software/Studio/screens.html
-Source1: SoundStudio.wmconfig
-Source2: studio.xpm
-Patch0: SoundStudio.patch
-BuildRoot: /var/tmp/SoundStudio-root
-Requires: tcl >= 7.4, tk >= 4.0, sox >= 11, /bin/more
-
+Summary:       tk sound editor, with record, playback, and mixer facilities
+Summary(pl):   Edytor d¼wiêku z mo¿liwo¶ci± nagrywania, odtwarzania i miksowania
+Name:          SoundStudio
+Version:       1.0.6
+Release:       1
+License:       GPL
+Group:         Applications/Sound
+Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/studio/%{name}-%{version}.tar.gz
+Source1:       %{name}.desktop
+Source2:       studio.xpm
+Patch0:                %{name}.patch
+URL:           http://studio.sourceforge.net/
+Requires:      tcl >= 7.4
+Requires:      tk >= 4.0
+Requires:      sox >= 11
+Requires:      /bin/more
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Sound Studio provides a graphical user interface for manipulating
-digitised sound. It allows you to record, play and edit sound files
-in various formats, such as Microsoft's wav files, Sun's audio files
-(.au) and Creative Lab's .voc format.
-It also provides access to a sound card's built-in mixer to adjust
-recording levels and output volumes. Also Sound Studio provides you
-with information about the sample and allows conversion into other
-formats, sampling rates etc.
+digitized sound. It allows you to record, play and edit sound files in
+various formats, such as Microsoft's wav files, Sun's audio files
+(.au) and Creative Lab's .voc format. It also provides access to a
+sound card's built-in mixer to adjust recording levels and output
+volumes. Also Sound Studio provides you with information about the
+sample and allows conversion into other formats, sampling rates etc.
+
+%description -l pl
+Sound Studio daje graficzny interfejs do obrabiania cyfrowego d¼wiêku.
+Pozwala na nagrywanie, odtwarzanie i edycjê plików d¼wiêkowych
+w ró¿nych formatach: Microsoft .wav, Sun .au, Creative Labs .voc.
+Daje tak¿e dostêp do miksera karty d¼wiêkowej. Pozwala na konwersjê do
+innych formatów i czêstotliwo¶ci próbkowania.
 
 %prep
-%setup -q
-%patch0 -p1 -b .patch
+%setup -q -n SoundStudio
+%patch0 -p1
 
 %build
-./install
+MYFILES=%{_libdir}/%{name} \
+SOX_CMD="set SOX_CMD [exec which sox]" \
+CC="%{__cc} %{rpmcflags}" \
+./build default
 
 %install
-rm -fr ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir}/mini,%{_libdir}/%{name},%{_bindir}} \
+       $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
 
-mkdir -p ${RPM_BUILD_ROOT}/etc/X11/wmconfig
-mkdir -p ${RPM_BUILD_ROOT}/usr/share/icons/mini
-install -m755 -d ${RPM_BUILD_ROOT}/usr/lib/${RPM_PACKAGE_NAME}
-install -m755 -d ${RPM_BUILD_ROOT}/usr/bin
-install -m555 studio reset_dsp ${RPM_BUILD_ROOT}/usr/bin
-install -m555 maxmin studio_mixer studio_tool ${RPM_BUILD_ROOT}/usr/lib/${RPM_PACKAGE_NAME}
-install -m444 *.tk *.ico ${RPM_BUILD_ROOT}/usr/lib/${RPM_PACKAGE_NAME}
-install -m444 help1.hlp matra.wav test.au woof.wav ${RPM_BUILD_ROOT}/usr/lib/${RPM_PACKAGE_NAME}
-install -m 644 $RPM_SOURCE_DIR/SoundStudio.wmconfig  $RPM_BUILD_ROOT/etc/X11/wmconfig/SoundStudio
-install -m 644 $RPM_SOURCE_DIR/studio.xpm $RPM_BUILD_ROOT/usr/share/icons/mini/studio.xpm
+install studio reset_dsp $RPM_BUILD_ROOT%{_bindir}
+install fader maxmin studio_mixer studio_tool $RPM_BUILD_ROOT%{_libdir}/%{name}
+install *.tk *.ico $RPM_BUILD_ROOT%{_libdir}/%{name}
+install help1.hlp v12.au StudioHelp $RPM_BUILD_ROOT%{_libdir}/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/mini/studio.xpm
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
 
 %clean
-rm -fr ${RPM_BUILD_ROOT}
+rm -rf ${RPM_BUILD_ROOT}
 
 %files
-%defattr(-,root,root)
-%doc COPYING README StudioHelp studio-${RPM_PACKAGE_VERSION}.lsm  DOCS/*
-/usr/bin/studio
-/usr/bin/reset_dsp
-/usr/lib/SoundStudio
-/etc/X11/wmconfig/SoundStudio
-/usr/share/icons/mini/studio.xpm
-
-%changelog 
-* Sun May  9 1999 Peter Hanecak <hanecak@megaloman.sk>
-- changes to allow non-root users to build too (%install)
-
-* Wed Oct 06 1998 Michael Maher <mike@redhat.com>
-- rebuilt package for 5.2, fixed RPM.
-
-* Wed May 19 1998 Michael Maher <mike@redhat.com>
-- built package
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/studio
+%attr(755,root,root) %{_bindir}/reset_dsp
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/fader
+%attr(755,root,root) %{_libdir}/%{name}/maxmin
+%attr(755,root,root) %{_libdir}/%{name}/studio_mixer
+%attr(755,root,root) %{_libdir}/%{name}/studio_tool
+%{_libdir}/%{name}/*.tk
+%{_libdir}/%{name}/*.ico
+%{_libdir}/%{name}/*.hlp
+%{_libdir}/%{name}/*.au
+%{_libdir}/%{name}/StudioHelp
+%{_pixmapsdir}/mini/studio.xpm
+%{_applnkdir}/Multimedia/SoundStudio.desktop
This page took 0.060688 seconds and 4 git commands to generate.