LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xanalyser.spec of Package xanalyser (Project home:derselbst)

#
# spec file for package xanalyser
#

Name:		xanalyser
License:	GPL
Group:		Sound
Version:	1.32
Release:	0
Summary:	xanalyser
Source:		%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
BuildRequires:	autoconf automake libtool gcc-c++ xorg-x11-devel openmotif-devel alsa-devel

%description
xanalyser

Author:
-------
    Arvin Schnell

%prep
%setup

%build

export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG"

aclocal
libtoolize --force --automake --copy
autoheader
automake --add-missing --copy
autoconf

./configure --prefix=/usr --mandir=%{_mandir}
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
/usr/bin/xanalyser
%doc %{_mandir}/man1/xanalyser.1.gz
/usr/share/X11/app-defaults
%config /usr/share/X11/app-defaults/XAnalyser

%changelog