- Modernise spec file and remove obsolete rpmlintrc filters
OBS-URL: https://build.opensuse.org/package/show/editors/mp?expand=0&rev=9
This commit is contained in:
parent
27aeb8607e
commit
b1a413b870
21
mp-rpmlintrc
21
mp-rpmlintrc
@ -1,23 +1,2 @@
|
|||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_core.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_crypt.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_session.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_move.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_writing.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_toys.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_misc.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_syntax.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_vcs.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_spell.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_edit.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_macro.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_templates.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_clipboard.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_tui.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_search.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_drv.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_build.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_tags.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_dir.mpsl")
|
|
||||||
addFilter("incorrect-fsf-address .*/usr/share/mp-5/mp_file.mpsl")
|
|
||||||
addFilter("no-manual-page-for-binary .*mpsl")
|
addFilter("no-manual-page-for-binary .*mpsl")
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 4 08:23:42 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Modernise spec file and remove obsolete rpmlintrc filters
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 3 13:35:57 UTC 2024 - Friedrich Haubensak <hsk17@mail.de>
|
Tue Dec 3 13:35:57 UTC 2024 - Friedrich Haubensak <hsk17@mail.de>
|
||||||
|
|
||||||
|
36
mp.spec
36
mp.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mp
|
# spec file for package mp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,11 +20,10 @@ Name: mp
|
|||||||
Version: 5.2.13
|
Version: 5.2.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A text editor for programmers
|
Summary: A text editor for programmers
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Editors
|
URL: https://triptico.com/software/mp.html
|
||||||
Url: http://triptico.com/software/mp.html
|
Source0: https://triptico.com/download/mp/mp-%{version}.tar.gz
|
||||||
Source0: http://triptico.com/download/mp/mp-%{version}.tar.gz
|
Source1: https://triptico.com/download/mp/mp-%{version}.tar.gz.asc
|
||||||
Source1: http://triptico.com/download/mp/mp-%{version}.tar.gz.asc
|
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: %{name}-5.desktop
|
Source3: %{name}-5.desktop
|
||||||
Source4: %{name}-5.png
|
Source4: %{name}-5.png
|
||||||
@ -38,10 +37,6 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
%if 0%{?suse_version} < 1500
|
|
||||||
Requires(post): update-desktop-files
|
|
||||||
Requires(postun): update-desktop-files
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Minimum Profit
|
Minimum Profit
|
||||||
@ -74,7 +69,6 @@ Features
|
|||||||
|
|
||||||
%package gtk3
|
%package gtk3
|
||||||
Summary: A text editor for programmers (GTK+3 version)
|
Summary: A text editor for programmers (GTK+3 version)
|
||||||
Group: Productivity/Text/Editors
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description gtk3
|
%description gtk3
|
||||||
@ -112,10 +106,10 @@ Features
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
mv mp-5 mp-5-qt5
|
mv mp-5 mp-5-qt5
|
||||||
WITHOUT_QT5=1 WITHOUT_QT4=1 ./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
WITHOUT_QT5=1 WITHOUT_QT4=1 ./config.sh --prefix=%{_prefix} --docdir=%{_docdir}/mp-5
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
mv mp-5 mp-5-gtk3
|
mv mp-5 mp-5-gtk3
|
||||||
mv mp-5-qt5 mp-5
|
mv mp-5-qt5 mp-5
|
||||||
|
|
||||||
@ -131,23 +125,15 @@ install -m 644 mp-5.1 %{buildroot}/%{_mandir}/man1/mp-5-gtk3.1
|
|||||||
%suse_update_desktop_file %{name}-5 TextEditor
|
%suse_update_desktop_file %{name}-5 TextEditor
|
||||||
|
|
||||||
%find_lang minimum-profit
|
%find_lang minimum-profit
|
||||||
rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
|
rm %{buildroot}%{_docdir}/mp-5/mpsl_quickref.ps
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%if 0%{?suse_version} < 1500
|
|
||||||
%post
|
|
||||||
%desktop_database_post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%desktop_database_postun
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f minimum-profit.lang
|
%files -f minimum-profit.lang
|
||||||
%{_bindir}/%{name}-5
|
%{_bindir}/%{name}-5
|
||||||
%{_bindir}/%{name}sl
|
%{_bindir}/%{name}sl
|
||||||
%dir %{_docdir}/%{name}-5
|
%dir %{_docdir}/%{name}-5
|
||||||
%{_docdir}/%{name}-5/*
|
%{_docdir}/%{name}-5/*
|
||||||
%{_mandir}/man1/%{name}-5.1%{ext_man}
|
%{_mandir}/man1/%{name}-5.1%{?ext_man}
|
||||||
%dir %{_datadir}/%{name}-5
|
%dir %{_datadir}/%{name}-5
|
||||||
%{_datadir}/%{name}-5/*
|
%{_datadir}/%{name}-5/*
|
||||||
%{_datadir}/applications/%{name}-5.desktop
|
%{_datadir}/applications/%{name}-5.desktop
|
||||||
@ -156,6 +142,6 @@ rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
|
|||||||
%files gtk3
|
%files gtk3
|
||||||
%{_bindir}/%{name}-5-gtk3
|
%{_bindir}/%{name}-5-gtk3
|
||||||
%{_datadir}/applications/%{name}-5-gtk3.desktop
|
%{_datadir}/applications/%{name}-5-gtk3.desktop
|
||||||
%{_mandir}/man1/%{name}-5-gtk3.1%{ext_man}
|
%{_mandir}/man1/%{name}-5-gtk3.1%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user