File gramofile.spec of Package gramofile

#
# spec file for package gramofile (Version 1.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           gramofile
BuildRequires:  ncurses-devel
Url:            http://panic.et.tudelft.nl/~costar/gramofile
Version:        1.6
Release:        371
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Editors and Convertors
Summary:        Digitize Audio Records
Source:         gramofile-%{version}.tar.gz
Patch1:         gramofile-1.6-makefiles.dif
Patch2:         gramofile-codecleanup.dif
Provides:       gramofil
Obsoletes:      gramofil
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Gramofile is a program to digitize audio records. Through the
application of several filters, it is possible to accomplish a
significant reduction of disturbances like ticks and scratches. Data is
saved in WAV format, making it easy to record on CD with programs like
cdrecord or xcdroast.



Authors:
--------
    J.A. Bezemer <J.A.Bezemer@ITS.TUDelft.NL>

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}/%{name} install

%files
%defattr(-,root,root)
/usr/bin/bplay_gramo
/usr/bin/brec_gramo
/usr/bin/gramofile
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/ChangeLog
%{_docdir}/%{name}/COPYING
%{_docdir}/%{name}/README
%{_docdir}/%{name}/Signproc.txt
%{_docdir}/%{name}/TODO
%{_docdir}/%{name}/Tracksplit2.txt
%{_docdir}/%{name}/Tracksplit.txt

%changelog
* Fri Mar 30 2007 ro@suse.de
- added ncurses-devel to buildreq
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 08 2005 pth@suse.de
- Fix implicit declarations.
- Compile bplay with RPM_OPT_FLAGS
* Thu Apr 22 2004 pth@suse.de
- Split patch.
- Include standard headers where necessary.
- Mark functions that don't return with attribute((noreturn)).
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Wed Jun 18 2003 ro@suse.de
- added directory to filelist
* Tue Aug 06 2002 ro@suse.de
- renamed package to gramofile
* Fri Jun 16 2000 pthomas@suse.de
- fix spec file bug
* Fri Jun 16 2000 pthomas@suse.de
- Initial Spec file created by autospec
- Modified Makefile to fit our needs
- Minor code changes to suppress warnings
openSUSE Build Service is sponsored by