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