]> git.pld-linux.org Git - packages/clementine.git/blobdiff - clementine.spec
- libechonest-2.3.1-1 rebuild
[packages/clementine.git] / clementine.spec
index e2b0b14ed20113c4ceb89555ab239f4079f34e49..5c700b81fb2758b0b6170108f63a81a353dfcd13 100644 (file)
@@ -10,7 +10,7 @@
 # Conditional build:
 %bcond_with    static_projectm # with static projectM
 %bcond_with    libspotify      # build with system libspotify instead of downloading blob
-%bcond_without tests           # build without tests
+%bcond_with    tests           # build without tests
 
 %define                qtver   %(pkg-config --silence-errors --modversion QtCore 2>/dev/null || echo ERROR)
 %define                sqlitever       3.14.0-2
@@ -18,14 +18,14 @@ Summary:    A music player and library organiser
 Summary(hu.UTF-8):     Egy zenelejátszó és gyűjtemény-kezelő
 Name:          clementine
 Version:       1.3.1
-Release:       3
+Release:       4
 License:       GPL v3 and GPL v2+
-Group:         Applications/Multimedia
+Group:         X11/Applications/Multimedia
 Source0:       https://github.com/clementine-player/Clementine/releases/download/%{version}/%{name}-%{version}.tar.xz
 # Source0-md5: 18cc5f66aa5fbb2781198a65439bd38a
 Patch1:                unbundle-po.patch
-Patch4:                %{name}-mygpo.patch
-Patch6:                %{name}-udisks-headers.patch
+Patch2:                %{name}-udisks-headers.patch
+Patch3:                %{name}-mygpo.patch
 URL:           http://www.clementine-player.org/
 BuildRequires: QtCore-devel >= %{qtver}
 BuildRequires: QtDBus-devel >= %{qtver}
@@ -37,7 +37,6 @@ BuildRequires:        QtSingleApplication-devel >= 2.6-4
 BuildRequires: QtSql-devel >= %{qtver}
 %{?with_tests:BuildRequires:   QtTest-devel >= %{qtver}}
 BuildRequires: QtXml-devel >= %{qtver}
-BuildRequires: QtXmlPatterns-devel >= %{qtver}
 BuildRequires: boost-devel
 BuildRequires: cmake >= 2.6
 BuildRequires: cryptopp-devel >= 5.6.1-4
@@ -45,15 +44,14 @@ BuildRequires:      desktop-file-utils
 BuildRequires: gettext-tools
 %{?with_static_projectm:BuildRequires: glew-devel}
 BuildRequires: glib2-devel
-BuildRequires: gstreamer0.10-devel
-BuildRequires: gstreamer0.10-plugins-base-devel
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-base-devel
 BuildRequires: gtest-devel
 BuildRequires: libcdio-devel
 BuildRequires: libchromaprint-devel
 BuildRequires: libechonest-devel
 BuildRequires: libgpod-devel >= 0.7.92
 BuildRequires: libimobiledevice-devel >= 1.1.5
-BuildRequires: libindicate-qt-devel
 BuildRequires: liblastfm-devel >= 0.3.3
 BuildRequires: libmtp-devel >= 1.0
 BuildRequires: libmygpo-qt-devel >= 1.0.7
@@ -66,7 +64,6 @@ BuildRequires:        libxml2-devel
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig
 BuildRequires: protobuf-devel
-BuildRequires: qca-devel
 BuildRequires: qjson-devel
 BuildRequires: qt4-build >= %{qtver}
 BuildRequires: qt4-linguist
@@ -85,9 +82,9 @@ Requires(post,postun):        hicolor-icon-theme
 BuildRequires: sqlite3 >= %{sqlitever}
 Requires:      QtSingleApplication >= 2.6-4
 Requires:      QtSql-sqlite3 >= %{qtver}
-Requires:      gstreamer0.10-audio-effects-base
-Requires:      gstreamer0.10-mad
-Suggests:      gstreamer0.10-flac
+Requires:      gstreamer-audio-effects-base
+Requires:      gstreamer-mad
+Suggests:      gstreamer-flac
 # if we do not link, we use datafiles
 %{!?with_static_projectm:Requires:     libprojectM}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -108,8 +105,8 @@ a Qt4 előnyeit.
 %prep
 %setup -q
 %patch1 -p1
-#%patch4 -p1
-%patch6 -p1
+%patch2 -p1
+#%patch3 -p1
 
 # cleanup vendor. keep only needed libraries.
 mv 3rdparty 3rdparty.dist
@@ -152,8 +149,9 @@ CXXFLAGS="%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG_OUTPUT"
        ..
 %{__make}
 
-%if %{with tests}
 desktop-file-validate ../dist/%{name}.desktop
+
+%if %{with tests}
 %endif
 
 %install
This page took 0.44938 seconds and 4 git commands to generate.