]>
Commit | Line | Data |
---|---|---|
f770131d TP |
1 | |
2 | %define snap 061114 | |
3 | ||
4 | Summary: Linux DC++ client port | |
5 | Summary(pl): Linuksowy port klienta DC++ | |
6 | Name: linuxdcpp | |
7 | Version: 0.%{snap} | |
8 | Release: 1 | |
9 | License: GPL v2 | |
10 | Group: X11/Applications/Networking | |
11 | Source0: %{name}-%{snap}.tar.gz | |
12 | # Source0-md5: 3a6d0774504d1121dde539dad8bb82d6 | |
13 | URL: http://linuxdcpp.berlios.de/ | |
14 | BuildRequires: bzip2-devel | |
15 | BuildRequires: freetype-devel | |
16 | BuildRequires: glib-devel | |
17 | BuildRequires: libglade2-devel | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: scons | |
20 | BuildRequires: zlib-devel | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Linux port of the DC++ Direct Connect client. | |
25 | ||
26 | %description -l pl | |
27 | Linuksowy port klienta Direct Connect DC++. | |
28 | ||
29 | %prep | |
30 | %setup -q -n %{name} | |
31 | ||
32 | %build | |
33 | export CXXFLAGS="%{rpmcflags}" | |
34 | scons \ | |
35 | PREFIX=%{_prefix} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | export CXXFLAGS="%{rpmcflags}" | |
41 | scons install \ | |
42 | FAKE_ROOT=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %doc Changelog.txt Credits.txt Readme.txt | |
50 | %attr(755,root,root) %{_bindir}/* | |
51 | %{_datadir}/* |