package created using the webbuild interface [release 3.1.6-1mamba;Sat Apr 20 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 07:11:13 +01:00
parent 2d96177ce5
commit 6bba1a68e8
2 changed files with 75 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# mldonkey
Cross-platform multi-network p2p daemon.

73
mldonkey.spec Normal file
View File

@ -0,0 +1,73 @@
Name: mldonkey
Version: 3.1.6
Release: 1mamba
Summary: Cross-platform multi-network p2p daemon
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://mldonkey.sourceforge.net/
## GITSOURCE https://github.com/ygrek/mldonkey.git release-3-1-6
Source: https://github.com/ygrek/mldonkey.git/release-%{version}/mldonkey-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: libbzip2-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgd-devel
BuildRequires: libjpeg-devel
BuildRequires: libmagic-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Cross-platform multi-network p2p daemon.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-upnp-natpmp
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 distrib/mldonkey.desktop %{buildroot}%{_datadir}/applications/mldonkey.desktop
for f in 16 32 48; do
install -D -m0644 packages/rpm/mldonkey-icon-${f}.png %{buildroot}%{_datadir}/icons/hicolor/${f}x${f}/mldonkey.png
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/mlbt
%{_bindir}/mldc
%{_bindir}/mldonkey
%{_bindir}/mlgnut
%{_bindir}/mlnet
%{_bindir}/mlslsk
%{_datadir}/applications/mldonkey.desktop
%{_datadir}/icons/hicolor/*/mldonkey.png
%doc Copying.txt
%changelog
* Sat Apr 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.6-1mamba
- package created using the webbuild interface