]> git.pld-linux.org Git - packages/clementine.git/blobdiff - clementine.spec
- release 17 (rebuild with protobuf 3.9)
[packages/clementine.git] / clementine.spec
index 1e03bfcce1f42e07362486f42640ca3c75c9a882..a9eca5bdbeaec89e7819e59e7f68b411ee8425f1 100644 (file)
 %bcond_with    libspotify      # build with system libspotify instead of downloading blob
 %bcond_with    tests           # build without tests
 
-%define                qt_ver  4.5.0
+%define                qt_ver          4.5.0
 %define                qt_installed    %(pkg-config --silence-errors --modversion QtCore 2>/dev/null || echo ERROR)
 %define                sqlite_ver      3.14.0-2
 Summary:       A music player and library organiser
 Summary(hu.UTF-8):     Egy zenelejátszó és gyűjtemény-kezelő
+Summary(pl.UTF-8):     Odtwarzacz muzyki i organizator biblioteczki
 Name:          clementine
 Version:       1.3.1
-Release:       10
+Release:       17
 License:       GPL v3 and GPL v2+
 Group:         X11/Applications/Multimedia
 Source0:       https://github.com/clementine-player/Clementine/releases/download/%{version}/%{name}-%{version}.tar.xz
@@ -29,6 +30,8 @@ Patch1:               unbundle-po.patch
 Patch2:                %{name}-udisks-headers.patch
 Patch3:                %{name}-mygpo.patch
 Patch4:                moc.patch
+Patch5:                %{name}-protobuf.patch
+Patch6:                %{name}-cryptopp.patch
 URL:           http://www.clementine-player.org/
 BuildRequires: OpenGL-devel
 BuildRequires: QtCore-devel >= %{qt_ver}
@@ -108,6 +111,11 @@ Clementine egy modern zenelejátszó és gyűjtemény kezelő. Túlnyomórészt
 az Amarok 1.4 port-ja, néhány funkciója újraírva, hogy kihasználhassa
 a Qt4 előnyeit.
 
+%description -l pl.UTF-8
+Clementine to nowoczesny odtwarzacz muzyki i organizator biblioteczki.
+Jest w dużej części portem Amaroka 1.4 z niektórymi funkcjami
+przepisanymi tak, aby wykorzystać Qt4.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -115,6 +123,8 @@ a Qt4 előnyeit.
 %patch2 -p1
 #%patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 # cleanup vendor. keep only needed libraries.
 %{__mv} 3rdparty 3rdparty.dist
@@ -135,12 +145,11 @@ vendor vreen
 vendor libmygpo-qt
 
 # Don't build tests. They require gmock
-sed -i -e '/add_subdirectory(tests)/d' CMakeLists.txt
+%{__sed} -i -e '/add_subdirectory(tests)/d' CMakeLists.txt
 # remove -Wall
-sed -i -e 's/-Wall//' src/CMakeLists.txt
+%{__sed} -i -e 's/-Wall//' src/CMakeLists.txt
 
 %build
-install -d build
 install -d build/src/translations
 cd build
 # as our buildtype is not Release, need to pass these manually. see CMakeLists.txt ~135
@@ -164,6 +173,7 @@ desktop-file-validate ../dist/%{name}.desktop
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
This page took 0.037982 seconds and 4 git commands to generate.