d2383b8
Summary:       An additive synthesizer using JACK
d2383b8
Name:          Add64
d2383b8
Version:       1.2.2
f948f4a
Release:       11%{?dist}
d2383b8
URL:           http://sourceforge.net/projects/add64
d2383b8
Source0:       http://downloads.sourceforge.net/project/add64/%{name}-%{version}.tar.bz2
d2383b8
Source1:       %{name}.desktop
d2383b8
# icon taken from screenshot
d2383b8
Source2:       add64.png
d2383b8
License:       GPLv3
d2383b8
Group:         Applications/Multimedia
d2383b8
d2383b8
BuildRequires: jack-audio-connection-kit-devel
d2383b8
BuildRequires: qt4-devel
d2383b8
BuildRequires: desktop-file-utils
d2383b8
d2383b8
%description
d2383b8
Add64 is an additive synthesizer using Qt and the JACK audio connection kit
d2383b8
d2383b8
%prep
d2383b8
%setup -q -n %{name}-%{version}
d2383b8
sed -i -e 's|lib64|%{_lib}|' \
d2383b8
       -e 's|$(QT_BASE_DIR)/bin|%{_qt4_libdir}/qt4/bin|' \
d2383b8
       -e 's|-lm|-lm -lstdc++|' \
d2383b8
       -e 's|-O2 -g -Wall|%{optflags}|' Makefile
d2383b8
chmod -x * 
d2383b8
d2383b8
%build
d2383b8
make %{?_smp_mflags}
d2383b8
d2383b8
%install
d2383b8
install -d -m 755 %{buildroot}%{_bindir}
d2383b8
install -d -m 755 %{buildroot}%{_datadir}/applications
d2383b8
install -d -m 755 %{buildroot}%{_datadir}/pixmaps
d2383b8
d2383b8
install -m 755 -p %{name} %{buildroot}%{_bindir}
d2383b8
install -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps
d2383b8
desktop-file-install \
d2383b8
  --dir %{buildroot}%{_datadir}/applications    \
d2383b8
    %{SOURCE1}
d2383b8
Richard Hughes 2509a3c
# Register as an application to be visible in the software center
Richard Hughes 2509a3c
#
Richard Hughes 2509a3c
# NOTE: It would be *awesome* if this file was maintained by the upstream
Richard Hughes 2509a3c
# project, translated and installed into the right place during `make install`.
Richard Hughes 2509a3c
#
Richard Hughes 2509a3c
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
Richard Hughes 2509a3c
#
Richard Hughes 2509a3c
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
Richard Hughes 2509a3c
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
Richard Hughes 2509a3c
Richard Hughes 2509a3c
Richard Hughes 2509a3c
Richard Hughes 2509a3c
BugReportURL: https://sourceforge.net/p/add64/discussion/general/thread/6ff4fec1/
Richard Hughes 2509a3c
SentUpstream: 2014-09-17
Richard Hughes 2509a3c
-->
Richard Hughes 2509a3c
<application>
Richard Hughes 2509a3c
  <id type="desktop">Add64.desktop</id>
Richard Hughes 2509a3c
  <metadata_license>CC0-1.0</metadata_license>
Richard Hughes 2509a3c
  <summary>Additive software sound synthesizer</summary>
Richard Hughes 2509a3c
  <description>
Richard Hughes 2509a3c
    

Richard Hughes 2509a3c
      Add64 is an additive modular software synthesizer for generating sounds.
Richard Hughes 2509a3c
      Unlike other software synthesizers -- that use a skeuomorphic interface of
Richard Hughes 2509a3c
      knobs, sliders and buttons, Add64 displays a spectral graph and allows the
Richard Hughes 2509a3c
      user to modify the oscillators and related parameters.
Richard Hughes 2509a3c
    

Richard Hughes 2509a3c
  </description>
Richard Hughes 2509a3c
  <url type="homepage">http://www.amsynth.com/add64.html</url>
Richard Hughes 2509a3c
  <screenshots>
Richard Hughes 2509a3c
    <screenshot type="default">http://www.amsynth.com/images/Add64-Harmonics.png</screenshot>
Richard Hughes 2509a3c
  </screenshots>
Richard Hughes 2509a3c
  
Richard Hughes 2509a3c
  <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
Richard Hughes 2509a3c
   -->
Richard Hughes 2509a3c
</application>
Richard Hughes 2509a3c
EOF
Richard Hughes 2509a3c
d2383b8
%post
d2383b8
update-desktop-database &> /dev/null || :
d2383b8
d2383b8
%postun
d2383b8
update-desktop-database &> /dev/null || :
d2383b8
d2383b8
%files 
d2383b8
%doc LICENSE README 
d2383b8
%{_bindir}/%{name}
Richard Hughes 2509a3c
%{_datadir}/appdata/*.appdata.xml
d2383b8
%{_datadir}/applications/%{name}.desktop
d2383b8
%{_datadir}/pixmaps/add64.png
d2383b8
d2383b8
%changelog
f948f4a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-11
f948f4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f948f4a
ef36a5e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-10
ef36a5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ef36a5e
809d4ff
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-9
809d4ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
809d4ff
80bcdc9
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2.2-8
80bcdc9
- Rebuilt for GCC 5 C++11 ABI change
80bcdc9
Richard Hughes 2509a3c
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 1.2.2-7
Richard Hughes 2509a3c
- Add an AppData file for the software center
Richard Hughes 2509a3c
ad534c4
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-6
ad534c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ad534c4
664238f
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5
664238f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
664238f
ce011dc
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
ce011dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ce011dc
8945142
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
8945142
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8945142
d2383b8
* Thu Jul 26 2012 Brendan Jones <brendan.jones.it@gmail.com> 1.2.2-2
d2383b8
- Add missing BR
d2383b8
d2383b8
* Mon Jun 11 2012 Brendan Jones <brendan.jones.it@gmail.com> 1.2.2-1
d2383b8
- Initial build