[tomahawk] import

Rex Dieter rdieter at fedoraproject.org
Sat Jan 7 17:04:34 UTC 2012


commit 0dca691e89645d7d537124404d5b239728c1dd29
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Sat Jan 7 11:04:29 2012 -0600

    import

 .gitignore    |    1 +
 sources       |    1 +
 tomahawk.spec |  128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 130 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bc330c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tomahawk-0.3.3.tar.bz2
diff --git a/sources b/sources
index e69de29..bff49a9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0ee6ff7cd7fcf2dd01db6772902efbb4  tomahawk-0.3.3.tar.bz2
diff --git a/tomahawk.spec b/tomahawk.spec
new file mode 100644
index 0000000..3b9f5c6
--- /dev/null
+++ b/tomahawk.spec
@@ -0,0 +1,128 @@
+
+Name:    tomahawk
+Version: 0.3.3
+Release: 2%{?dist}
+Summary: The Social Music Player
+
+License: GPLv2+
+URL:     http://tomahawk-player.org/
+Source0: http://download.tomahawk-player.org/tomahawk-%{version}.tar.bz2 
+
+BuildRequires: jreen-devel
+BuildRequires: boost-devel
+BuildRequires: kdelibs4-devel
+BuildRequires: pkgconfig(libattica)
+BuildRequires: pkgconfig(libechonest) >= 1.2.0
+BuildRequires: pkgconfig(libclucene-core) >= 2.3
+BuildRequires: pkgconfig(phonon) >= 4.5.0
+BuildRequires: pkgconfig(qca2)
+BuildRequires: pkgconfig(QJson) 
+BuildRequires: pkgconfig(taglib)
+BuildRequires: quazip-devel
+BuildRequires: qt4-devel
+BuildRequires: qtweetlib-devel
+
+%global libechonest_version %(pkg-config --modversion libechonest 2>/dev/null || echo 1.1.7)
+Requires: libechonest%{?_isa} >= %{libechonest_version}
+%global phonon_version %(pkg-config --modversion phonon 2>/dev/null || echo 4.5.0)
+Requires: phonon%{?_isa} >= %{phonon_version}
+%{?_qt4:Requires: qt4%{?_isa} >= %{_qt4_version}}
+Requires: qca-ossl
+
+
+%description
+Stop chasing your music across different machines, services and
+websites. It's time to take the work out of "play". If the song you want
+to listen to is in your local library, it just plays. If the song is on
+a remote machine, it just plays. If the song is on the web, or available
+from your subscription service, it just plays. By abstracting a piece
+of content's metadata from its file location, users can easily share
+playlists, listening history and more. It's sort of like Wonka Vision,
+Tomahawk will reassemble it on the other side. OK, maybe that's not a
+good analogy... but it's just as delicious.
+
+
+%prep
+%setup -q -n tomahawk-%{version}
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} \
+  .. 
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+#unpackaged files (fixme?)
+rm -fv %{buildroot}%{_datadir}/icons/hicolor/scalable/tomahawk.svg
+%if 0%{?internal_jreen}
+rm -rfv %{buildroot}%{_includedir}/jreen/
+rm -fv  %{buildroot}%{_libdir}/libjreen.a
+%endif
+
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/tomahawk.desktop
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+%files
+%doc AUTHORS LICENSE.txt README
+%{_kde4_bindir}/tomahawk
+%{_kde4_libdir}/libtomahawk*.so
+%{_libexecdir}/tomahawk_crash_reporter
+%{_datadir}/applications/tomahawk.desktop
+%{_kde4_datadir}/kde4/services/tomahawk.protocol
+%{_datadir}/icons/hicolor/*/*/*
+
+
+%changelog
+* Fri Jan 06 2012 Rex Dieter <rdieter at fedoraproject.org> 0.3.3-2
+- drop unused patch
+- drop snapshotting comment
+
+* Fri Jan 06 2012 Rex Dieter <rdieter at fedoraproject.org> 0.3.3-1
+- 0.3.3
+
+* Mon Nov 14 2011 Rex Dieter <rdieter at fedoraproject.org> 0.3.0-1
+- 0.3.0
+
+* Thu Sep 01 2011 Rex Dieter <rdieter at fedoraproject.org> 0.2.3-1
+- 0.2.3
+
+* Wed Aug 17 2011 Rex Dieter <rdieter at fedoraproject.org> 0.2.1-2
+- unbundle jreen, BR: jreen-devel
+- BR: boost-devel qca2-devel
+- Requires: qca-ossl
+
+* Tue Aug 16 2011 Rex Dieter <rdieter at fedoraproject.org> 0.2.1-1
+- 0.2.1
+
+* Tue Jun 14 2011 Rex Dieter <rdieter at fedoraproject.org> 0.1.0-3.20110614
+- 20110614 snapshot
+- bundle jreen/qtweetlib (for now)
+
+* Thu Jun 02 2011 Rex Dieter <rdieter at fedoraproject.org> 0.1.0-2
+- enable jreen, qtweeklib support
+- add min runtime deps for qt,phonon,libechonest
+
+* Wed Jun 01 2011 Rex Dieter <rdieter at fedoraproject.org> 0.1.0-1
+- first try at 0.1.0
+


More information about the scm-commits mailing list