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