[Add64] Initial import of SRPM

Brendan Jones bsjones at fedoraproject.org
Thu Jul 26 05:05:31 UTC 2012


commit d2383b89bcc064b6ed9175a57d84bb57c217c15b
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date:   Thu Jul 26 07:05:12 2012 +0200

    Initial import of SRPM

 .gitignore    |    1 +
 Add64.desktop |   11 ++++++++++
 Add64.spec    |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 add64.png     |  Bin 0 -> 6989 bytes
 sources       |    1 +
 5 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3fb4bc1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Add64-1.2.2.tar.bz2
diff --git a/Add64.desktop b/Add64.desktop
new file mode 100644
index 0000000..e1e8322
--- /dev/null
+++ b/Add64.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Categories=Application;Audio;AudioVideo;Qt;X-Jack;X-Sound;
+Comment=An additive synthesizer
+Encoding=UTF-8
+Exec=Add64
+GenericName=Additive Synthesizer
+Hidden=false
+Icon=add64
+Name=Add64
+Terminal=false
+Type=Application
diff --git a/Add64.spec b/Add64.spec
new file mode 100644
index 0000000..3684dc7
--- /dev/null
+++ b/Add64.spec
@@ -0,0 +1,59 @@
+Summary:       An additive synthesizer using JACK
+Name:          Add64
+Version:       1.2.2
+Release:       2%{?dist}
+URL:           http://sourceforge.net/projects/add64
+Source0:       http://downloads.sourceforge.net/project/add64/%{name}-%{version}.tar.bz2
+Source1:       %{name}.desktop
+# icon taken from screenshot
+Source2:       add64.png
+License:       GPLv3
+Group:         Applications/Multimedia
+
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: qt4-devel
+BuildRequires: desktop-file-utils
+
+%description
+Add64 is an additive synthesizer using Qt and the JACK audio connection kit
+
+%prep
+%setup -q -n %{name}-%{version}
+sed -i -e 's|lib64|%{_lib}|' \
+       -e 's|$(QT_BASE_DIR)/bin|%{_qt4_libdir}/qt4/bin|' \
+       -e 's|-lm|-lm -lstdc++|' \
+       -e 's|-O2 -g -Wall|%{optflags}|' Makefile
+chmod -x * 
+
+%build
+make %{?_smp_mflags}
+
+%install
+install -d -m 755 %{buildroot}%{_bindir}
+install -d -m 755 %{buildroot}%{_datadir}/applications
+install -d -m 755 %{buildroot}%{_datadir}/pixmaps
+
+install -m 755 -p %{name} %{buildroot}%{_bindir}
+install -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps
+desktop-file-install \
+  --dir %{buildroot}%{_datadir}/applications    \
+    %{SOURCE1}
+
+%post
+update-desktop-database &> /dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+
+%files 
+%doc LICENSE README 
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/add64.png
+
+%changelog
+* Thu Jul 26 2012 Brendan Jones <brendan.jones.it at gmail.com> 1.2.2-2
+- Add missing BR
+
+* Mon Jun 11 2012 Brendan Jones <brendan.jones.it at gmail.com> 1.2.2-1
+- Initial build
diff --git a/add64.png b/add64.png
new file mode 100644
index 0000000..2138d89
Binary files /dev/null and b/add64.png differ
diff --git a/sources b/sources
index e69de29..1eaaa94 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9799d5b5ca88b04b194d832c29a78c46  Add64-1.2.2.tar.bz2


More information about the scm-commits mailing list