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