%define name @PACKAGE@ %define version @VERSION@ %define release 10 %define prefix @prefix@ Summary: instrument editor for Gigasampler files Name: %{name} Version: %{version} Release: %{release} Prefix: %{prefix} License: GPL Group: Sound Source0: %{name}-%{version}.tar.bz2 URL: http://www.linuxsampler.org/gigedit/ BuildRoot: /var/tmp/%{name}-%{version}-buildroot %description instrument editor for Gigasampler files %prep %setup if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi %build ./configure --prefix=%{prefix} make %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi mkdir -p $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} install %post /sbin/ldconfig %postun /sbin/ldconfig %clean if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi %files %defattr(-,root,root) %{prefix}/bin/* %{prefix}/lib/gigedit/libgigedit.* %{prefix}/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.* %{prefix}/share/doc/gigedit/* %{prefix}/share/gigedit/*.xpm %{prefix}/share/locale/* %changelog