[openav-luppp] Package approved

Zbigniew Jędrzejewski-Szmek zbyszek at fedoraproject.org
Tue Feb 11 21:09:04 UTC 2014


commit 2ba19cb085c7a226972e1bce80317951927ba721
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Tue Feb 11 16:08:35 2014 -0500

    Package approved

 .gitignore        |    1 +
 loop.svg          |   98 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 luppp.appdata.xml |   21 +++++++++++
 luppp.desktop     |   11 ++++++
 openav-luppp.spec |   89 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 6 files changed, 221 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..72ea6e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/release-1.0.tar.gz
diff --git a/loop.svg b/loop.svg
new file mode 100644
index 0000000..fcd6585
--- /dev/null
+++ b/loop.svg
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.4 r9939"
+   width="80.98954"
+   height="81.848236"
+   sodipodi:docname="loop.png">
+  <metadata
+     id="metadata8">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs6" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1574"
+     inkscape:window-height="948"
+     id="namedview4"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:zoom="3.2353964"
+     inkscape:cx="-39.722812"
+     inkscape:cy="13.273451"
+     inkscape:window-x="75"
+     inkscape:window-y="75"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="layer2" />
+  <g
+     inkscape:groupmode="layer"
+     id="layer2"
+     inkscape:label="icon"
+     style="display:inline"
+     transform="translate(-139.6875,-71.268497)">
+    <path
+       style="fill:none;stroke:#ff7a00;stroke-width:9;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 181.03182,75.867923 c 45.73707,0.361801 37.75985,55.525147 12.72523,66.560037 -27.59612,12.16397 -54.44676,-12.04018 -47.10062,-38.29287"
+       id="path2987"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="csc" />
+    <path
+       transform="translate(-1.5745326e-7,-3.9981037e-6)"
+       sodipodi:type="arc"
+       style="color:#000000;fill:#4c4c4c;fill-opacity:1;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="path2989"
+       sodipodi:cx="181.10631"
+       sodipodi:cy="115.98209"
+       sodipodi:rx="17.551201"
+       sodipodi:ry="17.551201"
+       d="m 198.65751,115.98209 c 0,9.69326 -7.85794,17.5512 -17.5512,17.5512 -9.69326,0 -17.5512,-7.85794 -17.5512,-17.5512 0,-9.69326 7.85794,-17.551197 17.5512,-17.551197 9.69326,0 17.5512,7.857937 17.5512,17.551197 z" />
+    <rect
+       style="color:#000000;fill:#0778c2;fill-opacity:1;fill-rule:nonzero;stroke:#0778c2;stroke-width:1.38077474;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="rect3816-9"
+       width="53.402393"
+       height="0.3959083"
+       x="140.36829"
+       y="95.836067" />
+    <text
+       xml:space="preserve"
+       style="font-size:18.55913162px;font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#0099ff;fill-opacity:1;stroke:none;display:inline;font-family:Source Code Pro;-inkscape-font-specification:Source Code Pro Heavy"
+       x="133.09561"
+       y="94.823845"
+       id="text3818-5"
+       sodipodi:linespacing="125%"
+       transform="scale(1.0357699,0.96546537)"><tspan
+         sodipodi:role="line"
+         id="tspan3820-8"
+         x="133.09561"
+         y="94.823845">Luppp</tspan></text>
+  </g>
+</svg>
diff --git a/luppp.appdata.xml b/luppp.appdata.xml
new file mode 100644
index 0000000..35ecb2a
--- /dev/null
+++ b/luppp.appdata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">luppp.desktop</id>
+  <licence>CC0</licence>
+  <name>OpenAV Luppp</name>
+  <description>
+    <p>
+      Luppp is a music creation tool, intended for live use. It
+      focuses on real time processing and a fast intuitive
+      workflow. It has been developed since December 2011, and many
+      iterations of development have been completed. Luppp
+      uses jack for audio output.
+    </p>
+  </description>
+  <screenshots>
+    <!-- the width and height are optional, but suggested -->
+    <screenshot type="default" width="1110" height="650">https://raw.github.com/harryhaaren/openAV-Luppp/master/resources/screenshots/1.0.png</screenshot>
+  </screenshots>
+  <url type="homepage">http://openavproductions.com/luppp</url>
+  <updatecontact>zbyszek at in.waw.pl</updatecontact>
+</application>
diff --git a/luppp.desktop b/luppp.desktop
new file mode 100644
index 0000000..0ec3e98
--- /dev/null
+++ b/luppp.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Luppp
+GenericName=Live performance mixing tool
+Comment=Create music by recording, playing, and mixing samples
+Type=Application
+Categories=Audio;AudioVideo;
+Exec=luppp
+Terminal=false
+StartupNotify=true
+Icon=luppp
diff --git a/openav-luppp.spec b/openav-luppp.spec
new file mode 100644
index 0000000..daf442b
--- /dev/null
+++ b/openav-luppp.spec
@@ -0,0 +1,89 @@
+%global realname openAV-Luppp
+
+Name:       openav-luppp
+Version:    1.0
+Release:    3%{?dist}
+Summary:    Live performance mixing tool
+License:    GPLv3
+URL:        http://openavproductions.com/Luppp
+Source0:    https://github.com/harryhaaren/openAV-Luppp/archive/release-1.0.tar.gz
+Source1:    loop.svg
+Source2:    luppp.desktop
+Source3:    luppp.appdata.xml
+
+BuildRequires: cmake
+BuildRequires: desktop-file-utils
+BuildRequires: appdata-tools
+BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: cairo-devel
+BuildRequires: liblo-devel
+BuildRequires: libsndfile-devel
+BuildRequires: libsamplerate-devel
+BuildRequires: non-ntk-devel
+
+Requires: hicolor-icon-theme
+
+%description
+Luppp is a music creation tool, intended for live use. It focuses on
+real time processing and a fast intuitive workflow. It uses Jack
+for audio output.
+
+%prep
+%autosetup -n %{realname}-release-%{version}
+sed -i 's/SET(CMAKE_CXX_FLAGS ".*")/SET(CMAKE_CXX_FLAGS "%{optflags}")/' src/CMakeLists.txt
+sed -i 's/SET(CMAKE_C_FLAGS ".*")/SET(CMAKE_C_FLAGS "%{optflags}")/' src/CMakeLists.txt
+
+%build
+echo '#define GIT_VERSION "%{version}-%{release}"' > src/version.hxx
+pushd build
+%cmake -DRELEASE_BUILD=1 ../
+make %{?_smp_mflags}
+
+%install
+install -p -D build/src/luppp %{buildroot}%{_bindir}/luppp
+mkdir -p %{buildroot}%{_datadir}/%{name}
+cp -av resources/controllers %{buildroot}%{_datadir}/%{name}/
+cp -av src/resources/luppp.prfs %{buildroot}%{_datadir}/%{name}/
+install -p -Dm0644 %SOURCE1 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/luppp.svg
+install -p -Dm0644 %SOURCE3 %{buildroot}%{_datadir}/appdata/luppp.appdata.xml
+
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE2}
+
+# Note, but ignore appdata validation for now
+appdata-validate %{buildroot}%{_datadir}/appdata/luppp.appdata.xml || :
+
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%files
+%{_bindir}/luppp
+%{_datadir}/%{name}
+%{_datadir}/icons/hicolor/scalable/apps/*.svg
+%{_datadir}/applications/*.desktop
+%{_datadir}/appdata/*.appdata.xml
+%doc LICENSE CHANGELOG README.md
+
+%changelog
+* Mon Feb 10 2014 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> - 1.0-3
+- Install .desktop file properly and extend %%post/%%postun
+- Update Requires and BuildRequires
+- Preserve timestamps
+
+* Mon Feb 10 2014 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> - 1.0-2
+- Tweak .desktop file
+
+* Fri Dec 13 2013 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> - 1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..b8e99f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f894c413cd69b64aa25a1504857466cf  release-1.0.tar.gz


More information about the scm-commits mailing list