]>
Commit | Line | Data |
---|---|---|
c07ba55f | 1 | Summary: Modern, cross-platform, distributed IRC client based on the Qt4 framework |
2 | Summary(pl.UTF-8): Nowoczesny, wieloplatformowy i rozproszony klient IRC oparty na bibliotece Qt4 | |
5ffdf7dd | 3 | Name: quassel |
bfeec0dd | 4 | Version: 0.5.1 |
c07ba55f | 5 | Release: 1 |
6 | License: GPLv2, GPLv3 | |
5ffdf7dd | 7 | Group: Applications/Communications |
8 | Source0: http://www.quassel-irc.org/pub/%{name}-%{version}.tar.bz2 | |
bfeec0dd | 9 | # Source0-md5: 5f4eff2034ccfe0cf8b0f2c7b104da91 |
5ffdf7dd | 10 | URL: http://www.quassel-irc.org/ |
4bbb2df2 | 11 | BuildRequires: QtCore-devel |
bfeec0dd | 12 | BuildRequires: QtSql-backend |
4bbb2df2 | 13 | BuildRequires: QtSql-devel |
14 | BuildRequires: QtSvg-devel | |
15 | BuildRequires: QtWebKit-devel | |
5ffdf7dd | 16 | BuildRequires: automoc4 |
17 | BuildRequires: cmake | |
18 | BuildRequires: gettext-devel | |
c07ba55f | 19 | BuildRequires: kde4-kdelibs-devel |
4bbb2df2 | 20 | BuildRequires: phonon-devel |
21 | BuildRequires: qt4-build | |
22 | BuildRequires: qt4-qmake | |
5ffdf7dd | 23 | BuildRequires: rpm-pythonprov |
24 | BuildRequires: rpmbuild(macros) >= 1.129 | |
25 | BuildRequires: sed >= 4.0 | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
4bbb2df2 | 29 | Quassel IRC is modern Internet chat client. It allows one (or |
30 | multiple) client(s) can attach to and detach from a central core | |
31 | (distributed), but also can act plain client. It is developed for and | |
32 | tested on Linux®, Windows®, and MacOS X®, and should work on other | |
33 | platforms supporting Qt4 library (cross-platform). | |
5ffdf7dd | 34 | |
35 | %description -l pl.UTF-8 | |
4bbb2df2 | 36 | Quassel IRC jest nowoczesnym klientem rozmów w Internecie. Pozwala na |
37 | podłączanie się i odłączanie wielu klientów od centralnego rdzenia | |
38 | (rozproszony), ale również może zachowywać się jak zwyczajny klient. | |
39 | Jest rozwijany i testowany na platformy Linux®, Windows® oraz MacOS | |
40 | X®, powinien także działać na innych platformach wspierających | |
bfeec0dd | 41 | bibliotekę Qt4 (wieloplatformowy). |
5ffdf7dd | 42 | |
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
47 | install -d build | |
48 | cd build | |
49 | %cmake \ | |
bfeec0dd | 50 | -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ |
51 | -DLIB_INSTALL_DIR="%{_libdir}" \ | |
52 | -DCMAKE_BUILD_TYPE=%{!?debug:"Release"}%{?debug:"Debug"} \ | |
5ffdf7dd | 53 | -DWITH_KDE=ON \ |
54 | %if "%{_lib}" == "lib64" | |
bfeec0dd | 55 | -DLIB_SUFFIX="64" \ |
5ffdf7dd | 56 | %endif |
57 | .. | |
58 | ||
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} -C build install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT \ | |
66 | kde_htmldir=%{_kdedocdir} \ | |
67 | kde_libs_htmldir=%{_kdedocdir} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %attr(755,root,root) %{_bindir}/* | |
75 | %{_datadir}/apps/quassel | |
76 | %{_iconsdir}/hicolor/48x48/apps/quassel.png | |
77 | %{_pixmapsdir}/quassel.png | |
78 | %{_desktopdir}/kde4/quassel.desktop | |
79 | %{_desktopdir}/kde4/quasselclient.desktop |