|
|
3b305ff |
Name: bristol
|
|
|
3b305ff |
Version: 0.40.7
|
|
Jon Ciesla |
04bb657 |
Release: 7%{dist}
|
|
|
3b305ff |
Summary: Synthesizer emulator
|
|
|
3b305ff |
|
|
|
3b305ff |
Group: Applications/Multimedia
|
|
|
3b305ff |
License: GPLv2+
|
|
|
3b305ff |
URL: http://bristol.sourceforge.net
|
|
|
3b305ff |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
3b305ff |
Source1: %{name}.desktop
|
|
Jon Ciesla |
04bb657 |
Patch0: bristol-0.40.7-CVE-2010-3351.patch
|
|
|
3b305ff |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
3b305ff |
|
|
|
3b305ff |
BuildRequires: libX11-devel alsa-lib-devel jack-audio-connection-kit-devel desktop-file-utils
|
|
|
3b305ff |
|
|
|
3b305ff |
%description
|
|
|
3b305ff |
Bristol is an emulation package for a number of different 'classic'
|
|
|
3b305ff |
synthesizers including additive and subtractive and a few organs.
|
|
|
3b305ff |
The application consists of the engine, which is called bristol,
|
|
|
3b305ff |
and its own GUI library called brighton that represents all the emulations.
|
|
|
3b305ff |
|
|
|
3b305ff |
%package devel
|
|
|
3b305ff |
Summary: %{summary}
|
|
|
3b305ff |
Group: Applications/Multimedia
|
|
|
3b305ff |
Requires: %{name} = %{version}
|
|
|
3b305ff |
|
|
|
3b305ff |
%description devel
|
|
|
3b305ff |
This package contains the development libraries for Bristol.
|
|
|
3b305ff |
|
|
|
3b305ff |
%prep
|
|
|
3b305ff |
%setup -q
|
|
|
3b305ff |
|
|
Jon Ciesla |
04bb657 |
%patch0 -p0 -b .libpath
|
|
Jon Ciesla |
04bb657 |
|
|
|
3b305ff |
find ./bitmaps/ -name '*.gz' | xargs chmod -x
|
|
|
3b305ff |
chmod -x ./memory/profiles/*
|
|
|
3b305ff |
find . -name '*.c' | xargs chmod -x
|
|
|
3b305ff |
find . -name '*.h' | xargs chmod -x
|
|
|
3b305ff |
find . -name '*.xbm' | xargs chmod -x
|
|
|
3b305ff |
find . -name '*.svg' | xargs chmod -x
|
|
|
3b305ff |
chmod -x NEWS COPYING* README AUTHORS ChangeLog
|
|
|
3b305ff |
chmod -x memory/mixer/another memory/mixer/test memory/mixer/default/memory memory/mini/readme.txt
|
|
|
3b305ff |
|
|
|
3b305ff |
%build
|
|
|
3b305ff |
%configure --enable-static=no
|
|
|
3b305ff |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
3b305ff |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
3b305ff |
|
|
|
3b305ff |
make %{?_smp_mflags}
|
|
|
3b305ff |
|
|
|
3b305ff |
%install
|
|
|
3b305ff |
rm -rf $RPM_BUILD_ROOT
|
|
|
3b305ff |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
|
|
3b305ff |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
3b305ff |
rm INSTALL
|
|
|
3b305ff |
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
3b305ff |
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
3b305ff |
install -p -m 0644 bitmaps/bicon.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/bristol.svg
|
|
|
3b305ff |
desktop-file-install \
|
|
|
3b305ff |
--mode 0644 \
|
|
|
3b305ff |
--dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
|
|
|
3b305ff |
%{SOURCE1}
|
|
|
3b305ff |
|
|
|
3b305ff |
%post -p /sbin/ldconfig
|
|
|
3b305ff |
|
|
|
3b305ff |
%postun -p /sbin/ldconfig
|
|
|
3b305ff |
|
|
|
3b305ff |
%clean
|
|
|
3b305ff |
rm -rf $RPM_BUILD_ROOT
|
|
|
3b305ff |
|
|
|
3b305ff |
%files
|
|
|
3b305ff |
%defattr(-,root,root,-)
|
|
|
3b305ff |
%doc AUTHORS ChangeLog COPYING* NEWS README
|
|
|
3b305ff |
%{_bindir}/*
|
|
|
3b305ff |
%{_datadir}/bristol
|
|
|
3b305ff |
%{_datadir}/pixmaps/*
|
|
|
3b305ff |
%{_datadir}/applications/bristol.desktop
|
|
|
3b305ff |
%{_libdir}/lib*.so.*
|
|
|
3b305ff |
|
|
|
3b305ff |
%files devel
|
|
|
3b305ff |
%defattr(-,root,root,-)
|
|
|
3b305ff |
%{_libdir}/lib*.so
|
|
|
3b305ff |
|
|
|
3b305ff |
%changelog
|
|
Jon Ciesla |
04bb657 |
* Mon Oct 25 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-7
|
|
Jon Ciesla |
04bb657 |
- Fix for CVE-2010-3351, BZ 638376.
|
|
Jon Ciesla |
04bb657 |
|
|
|
3b305ff |
* Tue Jan 26 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-6
|
|
|
3b305ff |
- Removed INSTALL.
|
|
|
3b305ff |
|
|
|
3b305ff |
* Mon Jan 25 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-5
|
|
|
3b305ff |
- Switched to svg icon, preserved timestamps.
|
|
|
3b305ff |
|
|
|
3b305ff |
* Fri Jan 22 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-4
|
|
|
3b305ff |
- Dropped Encoding from desktop.
|
|
|
3b305ff |
- Fixed lib ownership.
|
|
|
3b305ff |
|
|
|
3b305ff |
* Fri Jan 22 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-3
|
|
|
3b305ff |
- Drop -libs subpackage, create -devel.
|
|
|
3b305ff |
- Re-dropped mistakenly added static libs.
|
|
|
3b305ff |
- Add .desktop file for -b3.
|
|
|
3b305ff |
|
|
|
3b305ff |
* Thu Jan 21 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-2
|
|
|
3b305ff |
- Configure macro, parallel make, fixed rpath.
|
|
|
3b305ff |
|
|
|
3b305ff |
* Tue Jan 19 2010 Jon Ciesla <limb@jcomserv.net> - 0.40.7-1
|
|
|
3b305ff |
- Initial creation.
|