SHA256
1
0
forked from pool/mp

- Cleanup spec file

- Add gpg signature

OBS-URL: https://build.opensuse.org/package/show/editors/mp?expand=0&rev=2
This commit is contained in:
Martin Pluskal 2017-01-16 18:11:36 +00:00 committed by Git OBS Bridge
parent ffe79e0151
commit ec3ff5c350
4 changed files with 64414 additions and 7 deletions

7
mp-5.2.10.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlWY+acACgkQQw7jGUI4qLgcNwCgkIiDPUipaIOOq3gEwOecTYP+
ZbcAn1SCfxEULYKa4/zhJrI0kSsKO9kB
=/NY0
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 16 18:10:54 UTC 2017 - mpluskal@suse.com
- Cleanup spec file
- Add gpg signature
-------------------------------------------------------------------
Mon Jan 16 13:48:28 UTC 2017 - aloisio@gmx.com

64386
mp.keyring Normal file

File diff suppressed because it is too large Load Diff

22
mp.spec
View File

@ -23,17 +23,20 @@ Summary: A text editor for programmers
License: GPL-2.0
Group: Productivity/Text/Editors
Url: http://triptico.com/software/mp.html
Source0: http://triptico.com/download/%{name}-%{version}.tar.gz
Source1: %{name}-5.desktop
Source2: %{name}-5.png
Source3: %{name}-rpmlintrc
Source0: http://triptico.com/download/mp/mp-%{version}.tar.gz
Source1: http://triptico.com/download/mp/mp-%{version}.tar.gz.asc
Source2: %{name}.keyring
Source3: %{name}-5.desktop
Source4: %{name}-5.png
Source5: %{name}-rpmlintrc
Patch0: %{name}-docdir.patch
BuildRequires: fdupes
BuildRequires: glibc-devel
BuildRequires: gtk2-devel
BuildRequires: libqt4-devel
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
Requires(post): update-desktop-files
Requires(postun): update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -80,8 +83,8 @@ make %{?_smp_mflags}
mkdir -p %{buildroot}/%{_bindir}
%make_install
install -D -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}-5.desktop
install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps/%{name}-5.png
install -D -p -m 644 %{SOURCE3} %{buildroot}/%{_datadir}/applications/%{name}-5.desktop
install -D -p -m 644 %{SOURCE4} %{buildroot}/%{_datadir}/pixmaps/%{name}-5.png
%suse_update_desktop_file %{name}-5 TextEditor
@ -89,6 +92,11 @@ install -D -m 644 %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps/%{name}-5.png
rm %{buildroot}%{_datadir}/doc/packages/mp-5/mpsl_quickref.ps
%fdupes -s %{buildroot}
%post
%desktop_database_post
%postun
%desktop_database_postun
%files -f minimum-profit.lang
%defattr(-,root,root)