[qmplay2] removed %%_isa requirement from kde-integration subpackage
by Martin Gansser
commit 11ac3829a05cc85e3b928e39e77526d2295ad8cc
Author: Martin Gansser <mgansser(a)alice.de>
Date: Sat Sep 3 08:12:24 2016 +0200
removed %%_isa requirement from kde-integration subpackage
qmplay2.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/qmplay2.spec b/qmplay2.spec
index b24dce8..c2377b6 100644
--- a/qmplay2.spec
+++ b/qmplay2.spec
@@ -2,7 +2,7 @@
Name: qmplay2
Version: 16.08.19
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A Qt based media player, streamer and downloader
License: LGPLv3+
Url: http://zaps166.sourceforge.net/?app=QMPlay2
@@ -38,7 +38,7 @@ ffmpeg and libmodplug (including J2B). It has an integrated Youtube browser.
%package kde-integration
Summary: %{pname} KDE integration subpackage
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
Requires: kde-workspace-common
BuildArch: noarch
@@ -125,6 +125,9 @@ fi
%{_includedir}/%{pname}
%changelog
+* Sat Sep 03 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.08.19-4
+- removed %%_isa requirement from kde-integration subpackage
+
* Tue Aug 23 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.08.19-3
- Take ownership of directory %%{_datadir}/solid and %%{_datadir}/solid/actions
- Removed call to gzip manpage file and added
8 years, 2 months
[qtav/f25] Disabled config test by adding no-tests
by Martin Gansser
commit 64ba56677c96376f29d11db8425586df2b8ad4ff
Author: Martin Gansser <mgansser(a)alice.de>
Date: Fri Sep 2 23:09:51 2016 +0200
Disabled config test by adding no-tests
qtav.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/qtav.spec b/qtav.spec
index b069536..d65fa02 100644
--- a/qtav.spec
+++ b/qtav.spec
@@ -133,7 +133,7 @@ mkdir build; pushd build
QMAKE_CFLAGS="%{optflags}" \
QMAKE_CXXFLAGS="%{optflags}" \
QMAKE_LFLAGS="-Wl,--as-needed" \
- CONFIG+="no_rpath recheck config_libass_link no_config_tests debug" \
+ CONFIG+="no_rpath recheck config_libass_link no-tests debug" \
..
%make_build
@@ -223,7 +223,7 @@ fi
%changelog
* Fri Sep 02 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 1.11.0-0.4gitc5db90b
-- Disabled config test by adding no_config_tests
+- Disabled config test by adding no-tests
* Mon Aug 29 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 1.11.0-0.3gitc5db90b
- update to last git release
8 years, 2 months
[qtav/f25] Disabled config test by adding no_config_tests
by Martin Gansser
commit 45df8b560736df8f1e9738f9c9b1e6241328d222
Author: Martin Gansser <mgansser(a)alice.de>
Date: Fri Sep 2 22:59:43 2016 +0200
Disabled config test by adding no_config_tests
qtav.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/qtav.spec b/qtav.spec
index b1a6e71..b069536 100644
--- a/qtav.spec
+++ b/qtav.spec
@@ -7,7 +7,7 @@
Name: qtav
Version: 1.11.0
-Release: 0.3git%{shortcommit0}%{?dist}
+Release: 0.4git%{shortcommit0}%{?dist}
Summary: A media playback framework based on Qt and FFmpeg
License: LGPLv2+ and GPLv3+ and BSD
Group: Development/Libraries
@@ -133,7 +133,7 @@ mkdir build; pushd build
QMAKE_CFLAGS="%{optflags}" \
QMAKE_CXXFLAGS="%{optflags}" \
QMAKE_LFLAGS="-Wl,--as-needed" \
- CONFIG+="no_rpath recheck config_libass_link debug" \
+ CONFIG+="no_rpath recheck config_libass_link no_config_tests debug" \
..
%make_build
@@ -222,6 +222,9 @@ fi
%{_datadir}/icons/hicolor/*/apps/QtAV.svg
%changelog
+* Fri Sep 02 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 1.11.0-0.4gitc5db90b
+- Disabled config test by adding no_config_tests
+
* Mon Aug 29 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 1.11.0-0.3gitc5db90b
- update to last git release
8 years, 2 months
[qtav/f24] Initial version of qtav
by Martin Gansser
Summary of changes:
405f563... Initial version of qtav (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 2 months
[qtav/f25] Initial version of qtav
by Martin Gansser
Summary of changes:
405f563... Initial version of qtav (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 2 months
[qmplay2] Initial version of qmplay2
by Martin Gansser
commit c4b6d6c1ef8c4f9d136233664ec802047c022bbd
Author: Martin Gansser <mgansser(a)alice.de>
Date: Fri Sep 2 21:28:13 2016 +0200
Initial version of qmplay2
.gitignore | 1 +
qmplay2.spec | 172 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 174 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..693c7b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/QMPlay2-src-16.08.19.tar.xz
diff --git a/qmplay2.spec b/qmplay2.spec
new file mode 100644
index 0000000..b24dce8
--- /dev/null
+++ b/qmplay2.spec
@@ -0,0 +1,172 @@
+%global pname QMPlay2
+
+Name: qmplay2
+Version: 16.08.19
+Release: 3%{?dist}
+Summary: A Qt based media player, streamer and downloader
+License: LGPLv3+
+Url: http://zaps166.sourceforge.net/?app=QMPlay2
+Source: https://github.com/zaps166/QMPlay2/releases/download/%{version}/%{pname}-...
+
+BuildRequires: kde-workspace-devel
+BuildRequires: pkgconfig(Qt5)
+BuildRequires: qt5-linguist
+BuildRequires: portaudio-devel
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(libass)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavdevice)
+BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libavutil)
+BuildRequires: pkgconfig(libcddb)
+BuildRequires: pkgconfig(libcdio)
+BuildRequires: pkgconfig(libgme)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(libsidplayfp)
+BuildRequires: pkgconfig(libswresample)
+BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(libva)
+BuildRequires: pkgconfig(taglib)
+BuildRequires: pkgconfig(vdpau)
+BuildRequires: pkgconfig(xv)
+Requires: youtube-dl
+Requires: hicolor-icon-theme
+
+%description
+%{name} is a video player, it can play and stream all formats supported by
+ffmpeg and libmodplug (including J2B). It has an integrated Youtube browser.
+
+%package kde-integration
+Summary: %{pname} KDE integration subpackage
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: kde-workspace-common
+BuildArch: noarch
+
+%description kde-integration
+Media playing actions for removable devices in KDE.
+
+%package devel
+Summary: %{pname} development files
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+It's a development package for %{name}.
+
+%prep
+%autosetup -n %{pname}-src-%{version}
+
+# E: invalid-desktopfile /usr/share/applications/QMPlay2.desktop file
+# contains group "PlayPause Shortcut Group", but groups extending the
+# format should start with "X-"
+sed -i '12,33d' src/gui/Unix/QMPlay2.desktop
+
+%build
+# Create translation files.
+lrelease-qt5 QMPlay2.pro
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+ %cmake \
+ -DCMAKE_BUILD_TYPE='Debug' \
+ ..
+popd
+%make_build -C %{_target_platform}
+
+%install
+%make_install -C %{_target_platform}
+
+find %{buildroot}%{_datadir}/%{name} -name "*.qm" | sed 's:'%{buildroot}'::
+s:.*/\([a-zA-Z]\{2\}\).qm:%lang(\1) \0:' > %{name}.lang
+
+# Let's use %%doc macro. AUTHORS & ChangeLog are required for help window
+cd %{buildroot}/%{_datadir}/qmplay2
+rm LICENSE README.md TODO AUTHORS ChangeLog
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+%post
+/sbin/ldconfig
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%posttrans
+/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%doc AUTHORS ChangeLog README.md TODO
+%license LICENSE
+%{_bindir}/%{pname}
+%{_libdir}/%{name}
+%{_libdir}/libqmplay2.so
+%{_datadir}/mime/packages/x-*.xml
+%dir %{_datadir}/solid
+%dir %{_datadir}/solid/actions
+%{_datadir}/applications/%{pname}*.desktop
+%{_datadir}/icons/hicolor/*/apps/%{pname}.png
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/lang
+%{_mandir}/man1/%{pname}.1*
+
+%files kde-integration
+%{_datadir}/solid/actions/*.desktop
+
+%files devel
+%{_includedir}/%{pname}
+
+%changelog
+* Tue Aug 23 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.08.19-3
+- Take ownership of directory %%{_datadir}/solid and %%{_datadir}/solid/actions
+- Removed call to gzip manpage file and added
+ %%{_mandir}/man1/%%{pname}.1 to %%files section
+- Removed installation folder for doc files
+- Changed if condition for installing system libdir
+- Used macro %%autosetup
+- Dropped %%{pname}-debug-info.patch
+- Used %%{_datadir}/%%{name} for lang files
+- Switched build commmand to %%cmake
+- spec file cleanup
+
+* Mon Aug 22 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.08.19-2
+- Changed qt5-qtbase-devel to pkgconfig(Qt5)
+- Removed QT4 BR pkgconfig(QtCore)
+
+* Sat Aug 20 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.08.19-1
+- Update to 16.08.19
+
+* Wed Jul 27 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.07.20-1
+- Update to 16.07.20
+
+* Thu Jun 09 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.06.01-2
+- Added %%check section for desktop file
+
+* Thu Jun 02 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.06.01-1
+- Update to 16.06.01
+
+* Tue May 03 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.05.02-1
+- Update to 16.05.02
+
+* Sun Apr 24 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.04.23-1
+- Update to 16.04.23
+
+* Fri Mar 25 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.03.24-1
+- Update to 16.03.24
+
+* Sat Mar 12 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.03.11-1
+- Update to 16.03.11
+
+* Fri Mar 11 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.03.08-2
+- Added patch %%{pname}-debug-info.patch
+
+* Wed Mar 09 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 16.03.08-1
+- Initial build
diff --git a/sources b/sources
index e69de29..ff8d00e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b38beba1f43cb4c650363f560fe56489 QMPlay2-src-16.08.19.tar.xz
8 years, 2 months