1 # TODO: It's GPL, so either noarch, or it should be compiled from source (source very old and lots of problems with it), patch for g2gui needed (to change LIBDIR), problem with bug (g2gui.jar must be rebuild)
2 %define _pver pre1-linux-jar-gtk
3 Summary: Graphical user interface for p2p cores
4 Summary(pl.UTF-8): Interfejs graficzny dla p2p
9 Group: X11/Applications/Networking
10 Source0: http://download.berlios.de/mldonkey/%{name}-%{version}-%{_pver}.tar.bz2
11 # Source0-md5: 7f4770e42530215f51fb320029aa2732
12 URL: http://developer.berlios.de/projects/mldonkey/
13 ExclusiveArch: %{ix86}
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 MLDonkey G2gui is a next-generation crossplatform Graphical User
18 Interface to the MLDonkey core. Its goal is to be userfriendly and
19 powerful, using state of the art Java-techniques like SWT and other
20 parts of the eclipse framework.
22 %description -l pl.UTF-8
23 MLDonkey G2gui jest zaawansowaną graficzną konsolą umożliwiającą
24 zarządzanie rdzeniem MLDonkey. Główną zaletą G2gui jest łatwy i
25 intuicyjny w obsłudze interfejs napisany w technologii Java.
28 %setup -q -n %{name}-%{version}-%{_pver}
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_libdir}/%{name}}
34 install g2gui $RPM_BUILD_ROOT%{_bindir}
35 install lib/* $RPM_BUILD_ROOT%{_libdir}/%{name}
36 install g2submit/* $RPM_BUILD_ROOT%{_datadir}/%{name}
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %doc distrib/ChangeLog.txt distrib/license-cpl.txt distrib/license-gpl.txt distrib/README.txt distrib/TODO.txt
44 %attr(755,root,root) %{_bindir}/*
45 %attr(755,root,root) %{_libdir}/%{name}