File abc2prt.spec of Package abc2prt

# spec file for package abc2prt
#
# Copyright (c) 2007 by Edgar Aichinger
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to edogawa@aon.at
#
#
# norootforbuild

Summary:      A program to extract parts from multivoice ABC files
Summary(de):  Ein Programm um Auszüge aus mehrstimmigen ABC Dateien zu extrahieren
Name:         abc2prt
Version:      1.0.2
Release:      0.1
License:      GPL-2.0+
URL:          http://abcplus.sourceforge.net
Group:        Productivity/Publishing/Other
Prefix:       %{_prefix}
Source:       http://abcplus.sourceforge.net/%{name}-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
abc2prt is a simple tool to extract parts from multivoice ABC music files.

I wrote it because it's often desirable to give singers their own part in 
addition to the complete score. I know that Perl scripts exist that do the 
trick, and Unix users will be happy with them. However, installing Perl on a 
Windows machine only for running a script is quite an overkill.

Author:  Guido Gonzato <guido.gonzato@poste.it>

%if %{defined fedora}
%global debug_package %{nil}
%endif

%prep
%setup -q

%build
make CFLAGS="$RPM_OPT_FLAGS -Wall"

%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir $RPM_BUILD_ROOT%{_datadir}
mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}
%{_bindir}/install -s -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc COPYING INSTALL README
%{_bindir}/*

%changelog
* Sun Jul 08 2007 - Edgar Aichinger <edogawa@aon.at>
- initial spec for openSUSE/JAD, ver. 1.0.2

openSUSE Build Service is sponsored by