NOTE: This is untested!
- Replace wxWidgets-3_0-devel for wxWidgets-devel BuildRequires: Package builds just fine with the newer 3.2 version. OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/wxmp3gain?expand=0&rev=14
This commit is contained in:
commit
6c19a7e6fe
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
wxmp3gain-4.0-src.tar.gz
Normal file
3
wxmp3gain-4.0-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:10ffaf8f7cb1231df01ba40459e688112f8f0b35fea16076a5150bcb795e6d5f
|
||||||
|
size 209292
|
12
wxmp3gain-docs.patch
Normal file
12
wxmp3gain-docs.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: wxmp3gain-4.0/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- wxmp3gain-4.0.orig/CMakeLists.txt
|
||||||
|
+++ wxmp3gain-4.0/CMakeLists.txt
|
||||||
|
@@ -35,7 +35,6 @@ target_link_libraries(wxmp3gain ${wxWidg
|
||||||
|
if(UNIX)
|
||||||
|
install(TARGETS "wxmp3gain" DESTINATION "bin")
|
||||||
|
install(DIRECTORY "resource/" DESTINATION "share/${PROJECT_NAME}/resource/")
|
||||||
|
- install(DIRECTORY "docs/" DESTINATION "share/doc/${PROJECT_NAME}/")
|
||||||
|
install(FILES "debian/menu/icon32x32.png" DESTINATION "share/icons/hicolor/32x32/apps/" RENAME "${PROJECT_NAME}.png")
|
||||||
|
install(FILES "debian/menu/icon48x48.png" DESTINATION "share/icons/hicolor/48x48/apps/" RENAME "${PROJECT_NAME}.png")
|
||||||
|
install(FILES "debian/menu/icon64x64.png" DESTINATION "share/icons/hicolor/64x64/apps/" RENAME "${PROJECT_NAME}.png")
|
36
wxmp3gain.changes
Normal file
36
wxmp3gain.changes
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 21 11:55:52 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Replace wxWidgets-3_0-devel for wxWidgets-devel BuildRequires:
|
||||||
|
Package builds just fine with the newer 3.2 version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 15:26:13 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 11 21:21:38 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Do not recommend lang package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 22 13:11:06 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Update to version 4.0
|
||||||
|
* Bug fix for unicode filenames
|
||||||
|
* Added Turkish translation
|
||||||
|
* Added Croatian translation
|
||||||
|
* Code refactor in make/build process
|
||||||
|
|
||||||
|
- Switched build to cmake
|
||||||
|
|
||||||
|
- Dropped wxmp3gain-makefile.patch
|
||||||
|
|
||||||
|
- Added wxmp3gain-docs.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 11 12:59:48 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Initial package (v. 3.7)
|
84
wxmp3gain.spec
Normal file
84
wxmp3gain.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
#
|
||||||
|
# spec file for package wxmp3gain
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: wxmp3gain
|
||||||
|
Version: 4.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Front-end for mp3gain based on wxWidgets
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||||
|
URL: https://wxmp3gain.sourceforge.io
|
||||||
|
Source0: https://sourceforge.net/projects/wxmp3gain/files/%{version}/wxmp3gain-%{version}-src.tar.gz
|
||||||
|
# PATCH-FEATURE-OPENSUSE wxmp3gain-docs.patch aloisio@gmx.com -- do not install docs
|
||||||
|
Patch1: wxmp3gain-docs.patch
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: wxWidgets-devel
|
||||||
|
Requires: mp3gain
|
||||||
|
|
||||||
|
%description
|
||||||
|
A front-end for mp3gain based on the wxWidgets toolkit.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
dos2unix docs/AUTHORS docs/CHANGELOG docs/README docs/TODO
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
%suse_update_desktop_file %{name} AudioVideoEditing
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc docs/AUTHORS docs/CHANGELOG docs/README docs/TODO
|
||||||
|
%license docs/COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
|
%dir %{_datadir}/%{name}
|
||||||
|
%dir %{_datadir}/%{name}/resource
|
||||||
|
%{_datadir}/%{name}/resource/*.ico
|
||||||
|
%{_datadir}/%{name}/resource/toolbar
|
||||||
|
|
||||||
|
%files lang
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/cs
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/de
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/es
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/hr_HR
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/pt_BR
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/ru
|
||||||
|
%dir %{_datadir}/%{name}/resource/msg/tr
|
||||||
|
%lang(cs) %{_datadir}/%{name}/resource/msg/cs/%{name}.mo
|
||||||
|
%lang(de) %{_datadir}/%{name}/resource/msg/de/%{name}.mo
|
||||||
|
%lang(es) %{_datadir}/%{name}/resource/msg/es/%{name}.mo
|
||||||
|
%lang(hr) %{_datadir}/%{name}/resource/msg/hr_HR/%{name}.mo
|
||||||
|
%lang(pt) %{_datadir}/%{name}/resource/msg/pt_BR/%{name}.mo
|
||||||
|
%lang(ru) %{_datadir}/%{name}/resource/msg/ru/%{name}.mo
|
||||||
|
%lang(tr) %{_datadir}/%{name}/resource/msg/tr/%{name}.mo
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user