]> git.pld-linux.org Git - packages/kcheckgmail.git/blob - kcheckgmail.spec
- updated gettext BR
[packages/kcheckgmail.git] / kcheckgmail.spec
1 Summary:        KDE systray application to check your Gmail
2 Summary(pl.UTF-8):      Aplikacja do sprawdzania Gmaila w zasobniku KDE
3 Name:           kcheckgmail
4 Version:        0.6.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://downloads.sourceforge.net/kcheckgmail/%{name}-%{version}.tar.bz2
9 # Source0-md5:  12d375119d7048d6649532b0b0cae32b
10 Patch0:         %{name}-default_browser.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://kcheckgmail.sourceforge.net/
13 BuildRequires:  Qt3Support-devel
14 BuildRequires:  QtSvg-devel
15 BuildRequires:  automoc4
16 BuildRequires:  cmake >= 2.4.5
17 BuildRequires:  gettext-tools
18 BuildRequires:  kde4-kdelibs-devel
19 BuildRequires:  qt4-build
20 BuildRequires:  qt4-qmake
21 BuildRequires:  rpmbuild(macros) >= 1.129
22 Suggests:       xdg-utils
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 KDE systray application to check your Gmail.
27
28 %description -l pl.UTF-8
29 Aplikacja do sprawdzania Gmaila w zasobniku KDE.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 install -d build
38 cd build
39 %cmake .. \
40         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
41         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
42 %if "%{_lib}" == "lib64"
43         -DLIB_SUFFIX=64
44 %endif
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} -C build install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{name} --with-kde
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS README TODO
62 %attr(755,root,root) %{_bindir}/kcheckgmail
63 %{_desktopdir}/kde4/kcheckgmail.desktop
64 %{_iconsdir}/*/*/*/*
65 %{_datadir}/apps/%{name}
66 %{_mandir}/man1/kcheckgmail.1*
This page took 0.085951 seconds and 3 git commands to generate.