[mp3diags/f25] remove BR make gcc-c++
by Martin Gansser
Summary of changes:
e9666a3... remove BR make gcc-c++ (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 4 months
[mp3diags] remove BR make gcc-c++
by Martin Gansser
commit e9666a3614975649768f70a83f455996c7d15a32
Author: martinkg <mgansser(a)alice.de>
Date: Mon Oct 17 10:29:30 2016 +0200
remove BR make gcc-c++
.gitignore | 1 +
mp3diags-system-lib.patch | 20 +++++++++++
mp3diags.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 111 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45eaae7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MP3Diags-1.2.03.tar.gz
diff --git a/mp3diags-system-lib.patch b/mp3diags-system-lib.patch
new file mode 100644
index 0000000..a181f7c
--- /dev/null
+++ b/mp3diags-system-lib.patch
@@ -0,0 +1,20 @@
+--- src/src.pro 2016-07-29 20:23:43.000000000 +0200
++++ src/src.pro.new 2016-08-28 20:13:52.757470900 +0200
+@@ -175,7 +175,7 @@
+ -lboost_serialization-mt \
+ -lboost_program_options-mt
+
+-#LIBS += -lmp3lame
++LIBS += -lmp3lame
+
+ # Notes for Windows gapless support:
+ # - It's hard to build Lame and prebuilt libs are not official and don't work:
+@@ -199,7 +199,7 @@
+ #
+ # A dir for LAME's include should be created and inside it there should be a "lame" dir and inside it a copy of "lame.h", then the parent of "lame" should be added to the path. The reason is that the #include is for "<lame/lame.h>"
+ #INCLUDEPATH += C:\\Users\\ciobi\\temp\\lame-include
+-#
++#include "<lame/lame.h>"
+
+
+ TRANSLATIONS = translations/mp3diags_cs.ts \
diff --git a/mp3diags.spec b/mp3diags.spec
new file mode 100644
index 0000000..a84205e
--- /dev/null
+++ b/mp3diags.spec
@@ -0,0 +1,89 @@
+%global oname MP3Diags
+
+Name: mp3diags
+Version: 1.2.03
+Release: 2%{?dist}
+License: GPLv2
+Summary: Find and fix Problems in MP3 Files
+URL: http://mp3diags.sourceforge.net
+Source: http://prdownloads.sourceforge.net/mp3diags/MP3Diags-%{version}.tar.gz
+Patch0: mp3diags-system-lib.patch
+
+BuildRequires: boost-devel
+BuildRequires: qt4-devel
+BuildRequires: zlib-devel
+BuildRequires: glibc-devel
+BuildRequires: lame-devel
+Requires: hicolor-icon-theme
+Requires: mp3gain
+
+%description
+MP3 Diags finds problems in MP3 files and helps the user fix many of them. It
+looks at both the audio part (VBR info, quality, normalization) and the tags
+containing track information (ID3). It has a tag editor, which can download
+album information (including cover art) from MusicBrainz and Discogs, as well
+as paste data from the clipboard. Track information can also be extracted from
+a file's name. Another component is the file renamer, which can rename files
+based on the fields in their ID3V2 tag (artist, track number, album, genre,
+etc.).
+
+%prep
+%autosetup -p0 -n "MP3Diags-%{version}"
+./AdjustMt.sh
+
+%build
+# Create translation files.
+lrelease-qt4 src/translations/mp3diags_*.ts
+%{qmake_qt4}
+%make_build
+
+%install
+# main executable
+install -D -m0755 bin/%{oname} %{buildroot}%{_bindir}/%{oname}
+ln -s MP3Diags "%{buildroot}%{_bindir}/mp3diags"
+
+install -D -m0644 desktop/MP3Diags.desktop "%{buildroot}%{_datadir}/applications/%{name}.desktop"
+
+# icons
+for i in "16" "22" "24" "32" "36" "40" "48"; do
+ mkdir -p "%{buildroot}/%{_datadir}/icons/hicolor/${i}x${i}/apps"
+ install -p -m644 "desktop/MP3Diags${i}.png" "%{buildroot}/%{_datadir}/icons/hicolor/${i}x${i}/apps/MP3Diags.png"
+done
+
+mkdir -p %{buildroot}/usr/share/%{name}/translations
+install -p -m644 src/translations/*.qm %{buildroot}/%{_datadir}/%{name}/translations
+%find_lang %{name} --with-qt
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%doc README.TXT changelog.txt
+%license license.boost.* COPYING
+%{_bindir}/mp3diags
+%{_bindir}/MP3Diags
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/MP3Diags.png
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/translations
+
+%changelog
+* Thu Oct 13 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 1.2.03-2
+- remove BR make gcc-c++
+
+* Sat Jul 30 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 1.2.03-1
+- initial build
diff --git a/sources b/sources
index e69de29..fe1f87c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9a749bb903dc9941877983c854e18e02 MP3Diags-1.2.03.tar.gz
8 years, 4 months
[qtav/f25: 2/2] Merge branch 'master' into f25
by Martin Gansser
commit 604ac3f70df63715ddeffaccd592d83cb5b4615c
Merge: 8811b6c 7b06340
Author: Martin Gansser <mgansser(a)alice.de>
Date: Mon Oct 17 09:04:11 2016 +0200
Merge branch 'master' into f25
qtav.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
8 years, 4 months
[xmms-mp3] add buildrequires perl (needed for i686 build)
by Leigh Scott
commit a118473719cca1c6b0e6f607f5771b589ca0be29
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sun Oct 16 16:22:26 2016 +0100
add buildrequires perl (needed for i686 build)
xmms-mp3.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/xmms-mp3.spec b/xmms-mp3.spec
index ef92eb8..6ead8d1 100644
--- a/xmms-mp3.spec
+++ b/xmms-mp3.spec
@@ -12,6 +12,7 @@ Source: http://www.xmms.org/files/1.2.x/xmms-%{version}-20071117cvs.tar.gz
Requires: xmms-libs = %{xmmsepoch}:%{version}
BuildRequires: gtk+-devel
BuildRequires: glib-devel
+BuildRequires: perl
BuildRequires: xmms-devel = %{xmmsepoch}:%{version}
%ifarch x86_64
BuildRequires: libtool
@@ -58,6 +59,7 @@ install -p -m 0755 Input/mpg123/.libs/libmpg123.so $RPM_BUILD_ROOT%{inputplugind
* Sun Oct 16 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 1.2.11-7.20071117cvs
- enable ipv6 (rfbz#4181)
- spec file clean up
+- add buildrequires perl (needed for i686 build)
* Sun Aug 31 2014 Sérgio Basto <sergio(a)serjux.com> - 1.2.11-6.20071117cvs
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8 years, 4 months