]> git.pld-linux.org Git - packages/quassel.git/blob - quassel.spec
327c53e988b4c1e78eca7868f47eec6697b37873
[packages/quassel.git] / quassel.spec
1 Summary:        Quassel IRC is a modern, cross-platform, distributed IRC client based on the Qt4 framework
2 Summary(pl.UTF-8):      
3 Name:           quassel
4 Version:        0.4.1
5 Release:        0.1
6 License:        GPL
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:  kde4-kdepimlibs-devel
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.129
17 BuildRequires:  sed >= 4.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21
22 %description -l pl.UTF-8
23
24 %prep
25 %setup -q
26
27 %build
28 install -d build
29 cd build
30 %cmake \
31         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
32         -DLIB_INSTALL_DIR=%{_libdir} \
33         -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
34         -DWITH_KDE=ON \
35 %if "%{_lib}" == "lib64"
36         -DLIB_SUFFIX=64 \
37 %endif
38         ..
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} -C build install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         kde_htmldir=%{_kdedocdir} \
48         kde_libs_htmldir=%{_kdedocdir}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/apps/quassel
57 %{_iconsdir}/hicolor/48x48/apps/quassel.png
58 %{_pixmapsdir}/quassel.png
59 %{_desktopdir}/kde4/quassel.desktop
60 %{_desktopdir}/kde4/quasselclient.desktop
This page took 0.099988 seconds and 3 git commands to generate.