diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c921d86 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +shntool-3.0.10.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 54e733b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: shntool -# $Id$ -NAME := shntool -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/shntool.spec b/shntool.spec new file mode 100644 index 0000000..b02b07f --- /dev/null +++ b/shntool.spec @@ -0,0 +1,52 @@ +Name: shntool +Version: 3.0.10 +Release: 1%{?dist} +Summary: A multi-purpose WAVE data processing and reporting utility + +Group: Applications/Multimedia +License: GPLv2+ +URL: http://etree.org/shnutils/shntool +Source0: http://etree.org/shnutils/shntool/dist/src/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +A multi-purpose WAVE data processing and reporting utility. File +formats are abstracted from its core, so it can process any file that contains +WAVE data, compressed or not - provided there exists a format module to handle +that particular file type. + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%doc doc/* +%{_bindir}/shn* +%{_mandir}/man1/%{name}.1.gz + + +%changelog +* Thu Apr 09 2009 Felix Kaechele - 3.0.10-1 +- 3.0.10 + +* Sun Mar 29 2009 Felix Kaechele - 3.0.9-1 +- 3.0.9 + +* Tue Mar 03 2009 Felix Kaechele - 3.0.8-1 +- initial build diff --git a/sources b/sources index e69de29..7739f27 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5d41f8f42c3c15e3145a7a43539c3eae shntool-3.0.10.tar.gz