4465925
Name:       bristol
4465925
Version:    0.60.11
c2caa48
Release:    11%{dist}
4465925
Summary:    Synthesizer emulator
4465925
4465925
Group:      Applications/Multimedia
4465925
License:    GPLv2+
4465925
URL:        http://bristol.sourceforge.net
4465925
Source0:    http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
4465925
Source1:    %{name}.desktop
4465925
Patch0:     bristol-0.60.9-CVE-2010-3351.patch
4465925
Patch1:     bristol-0.60.11-fix-build-with-alsa.patch
4465925
4465925
BuildRequires: libX11-devel alsa-lib-devel jack-audio-connection-kit-devel desktop-file-utils
3b305ff
3b305ff
%description
4465925
Bristol is an emulation package for a number of different 'classic'
4465925
synthesizers including additive and subtractive and a few organs.
4465925
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
4465925
Summary:    %{summary}
4465925
Group:      Applications/Multimedia
4465925
Requires:   %{name} = %{version}
3b305ff
3b305ff
%description devel
3b305ff
This package contains the development libraries for Bristol.
3b305ff
3b305ff
%prep
4465925
%autosetup -p1
3b305ff
4465925
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
Jon Ciesla 20bd958
chmod -x memory/mixer/default/memory memory/mini/readme.txt
3b305ff
d537256
# Only x86_64 is optimised for SSE, non x86 platforms don't have SSE
d537256
%ifnarch x86_64
4465925
sed -i.sse 's/-msse -mfpmath=sse //g' bristol/Makefile.am
d537256
sed -i.sse 's/-msse -mfpmath=sse //g' bristol/Makefile.in
d537256
%endif
d537256
3b305ff
%build
Jon Ciesla 20bd958
%configure --enable-static=no --disable-version-check
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
4465925
%make_build
3b305ff
3b305ff
%install
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
%files
4465925
%license COPYING*
4465925
%doc AUTHORS ChangeLog NEWS README
3b305ff
%{_bindir}/*
3b305ff
%{_datadir}/bristol
3b305ff
%{_datadir}/pixmaps/*
3b305ff
%{_datadir}/applications/bristol.desktop
3b305ff
%{_libdir}/lib*.so.*
Jon Ciesla 20bd958
%{_mandir}/man1/*
3b305ff
3b305ff
%files devel
3b305ff
%{_libdir}/lib*.so
3b305ff
3b305ff
%changelog
c2caa48
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.60.11-11
c2caa48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c2caa48
43fd999
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.60.11-10
43fd999
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
43fd999
503b504
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.60.11-9
503b504
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
503b504
ccaab81
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.60.11-8
ccaab81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ccaab81
4465925
* Fri Sep 02 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.60.11-7
4465925
- Add patch to fix rawhide build.
4465925
- Minor spec cleanup; fix whitespace and rpmlint complaints.
4465925
- Use %%license.
4465925
88cc9b2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.60.11-6
88cc9b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
88cc9b2
7346dd5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.11-5
7346dd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7346dd5
fd2998d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.11-4
fd2998d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fd2998d
121906a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.11-3
121906a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
121906a
a06c3e1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.11-2
a06c3e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a06c3e1
ea25abc
* Fri Mar 08 2013 Jon Ciesla <limburgher@gmail.com> - 0.60.11-1
ea25abc
- New upstream.
ea25abc
35a1e4e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.10-4
35a1e4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
35a1e4e
0bcf5e7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.10-3
0bcf5e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0bcf5e7
d537256
* Thu Jul  5 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.60.10-2
d537256
- Fix compilation on platforms where we don't support SSE
d537256
94471e6
* Tue Jun 05 2012 Jon Ciesla <limburgher@gmail.com> - 0.60.10-1
94471e6
- New upstream.
94471e6
a30dda4
* Fri Jan 20 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.60.9-2
a30dda4
- fix build on secondary arches
a30dda4
0acb2d2
* Wed Jan 11 2012 Jon Ciesla <limburgher@gmail.com> - 0.60.9-1
0acb2d2
- New upstream.
0acb2d2
b693a70
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60.8-2
b693a70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b693a70
Jon Ciesla 414e253
* Wed Jan 26 2011 Jon Ciesla <limb@jcomserv.net> - 0.60.8-1
Jon Ciesla 414e253
- New upstream.
Jon Ciesla 414e253
Jon Ciesla 20bd958
* Wed Sep 29 2010 Jon Ciesla <limb@jcomserv.net> - 0.60.6-1
Jon Ciesla 20bd958
- New upstream, fix for CVE-2010-3351, BZ 638376.
Jon Ciesla 20bd958
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.