]>
Commit | Line | Data |
---|---|---|
6c3fc0ef | 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) |
39ecfe38 | 2 | %define _pver pre1-linux-jar-gtk |
1a6fe8b0 | 3 | Summary: Graphical user interface for p2p cores |
03ace7f8 | 4 | Summary(pl.UTF-8): Interfejs graficzny dla p2p |
39ecfe38 | 5 | Name: g2gui |
6 | Version: 0.3.0 | |
b72f3cfb | 7 | Release: 0.1 |
39ecfe38 | 8 | License: CPL/GPL |
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/ | |
6c3fc0ef | 13 | ExclusiveArch: %{ix86} |
70bb851d | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39ecfe38 | 15 | |
16 | %description | |
70bb851d | 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. | |
39ecfe38 | 21 | |
d64ccb30 JR |
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. | |
39ecfe38 | 26 | |
27 | %prep | |
28 | %setup -q -n %{name}-%{version}-%{_pver} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_libdir}/%{name}} | |
33 | ||
34 | install g2gui $RPM_BUILD_ROOT%{_bindir} | |
35 | install lib/* $RPM_BUILD_ROOT%{_libdir}/%{name} | |
36 | install g2submit/* $RPM_BUILD_ROOT%{_datadir}/%{name} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
39ecfe38 | 41 | %files |
70bb851d | 42 | %defattr(644,root,root,755) |
39ecfe38 | 43 | %doc distrib/ChangeLog.txt distrib/license-cpl.txt distrib/license-gpl.txt distrib/README.txt distrib/TODO.txt |
1a6fe8b0 JB |
44 | %attr(755,root,root) %{_bindir}/* |
45 | %attr(755,root,root) %{_libdir}/%{name} | |
46 | %{_datadir}/%{name} |