]>
Commit | Line | Data |
---|---|---|
f770131d | 1 | Summary: Linux DC++ client port |
5f841c62 | 2 | Summary(pl.UTF-8): Linuksowy port klienta DC++ |
f770131d | 3 | Name: linuxdcpp |
ee376944 | 4 | Version: 1.1.0 |
25c109be | 5 | Release: 2 |
f770131d TP |
6 | License: GPL v2 |
7 | Group: X11/Applications/Networking | |
ee376944 TP |
8 | Source0: http://launchpad.net/linuxdcpp/1.1/%{version}/+download/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 037de708bdb1e5dd7ac6c359b0e2c1a0 | |
08c94b1e | 10 | Source1: %{name}.desktop |
8a9f697a | 11 | URL: https://launchpad.net/linuxdcpp/ |
ee376944 | 12 | BuildRequires: boost-devel |
f770131d | 13 | BuildRequires: bzip2-devel |
925c8d61 | 14 | BuildRequires: glib2-devel >= 1:2.4 |
ee376944 | 15 | BuildRequires: gtk+2-devel >= 2:2.12 |
925c8d61 | 16 | BuildRequires: libglade2-devel >= 1:2.4 |
ee376944 TP |
17 | BuildRequires: libnotify >= 0.4.1 |
18 | BuildRequires: libstdc++-devel >= 4.1 | |
0e3ae22e | 19 | BuildRequires: openssl-devel |
f770131d | 20 | BuildRequires: pkgconfig |
ee376944 TP |
21 | BuildRequires: scons >= 0.98.1 |
22 | BuildRequires: xorg-lib-libX11-devel | |
f770131d | 23 | BuildRequires: zlib-devel |
c1a8060d | 24 | Suggests: xdg-utils |
f770131d TP |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Linux port of the DC++ Direct Connect client. | |
29 | ||
f1602392 | 30 | %description -l pl.UTF-8 |
f770131d TP |
31 | Linuksowy port klienta Direct Connect DC++. |
32 | ||
33 | %prep | |
85205c2c | 34 | %setup -q |
f770131d TP |
35 | |
36 | %build | |
37 | export CXXFLAGS="%{rpmcflags}" | |
38 | scons \ | |
39 | PREFIX=%{_prefix} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
f18e758d | 43 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/man1} |
08c94b1e TP |
44 | |
45 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
f770131d TP |
46 | |
47 | export CXXFLAGS="%{rpmcflags}" | |
48 | scons install \ | |
49 | FAKE_ROOT=$RPM_BUILD_ROOT | |
50 | ||
f18e758d TP |
51 | install data/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
52 | install icons/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir} | |
53 | ||
e1836cfc | 54 | rm -rf $RPM_BUILD_ROOT%{_docdir}/linuxdcpp |
8a9f697a | 55 | |
f18e758d TP |
56 | %find_lang %{name} --all-name |
57 | ||
f770131d TP |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
f18e758d | 61 | %files -f %{name}.lang |
f770131d | 62 | %defattr(644,root,root,755) |
f18e758d TP |
63 | %doc Changelog.txt Credits.txt Readme.txt data/magnet.protocol |
64 | %attr(755,root,root) %{_bindir}/%{name} | |
65 | %{_datadir}/%{name} | |
66 | %{_desktopdir}/%{name}.desktop | |
67 | %{_iconsdir}/hicolor/*x*/apps/%{name}.png | |
68 | %{_iconsdir}/hicolor/scalable/apps/%{name}.svg | |
69 | %{_pixmapsdir}/%{name}.xpm | |
70 | %{_mandir}/man1/%{name}.1* |