]> git.pld-linux.org Git - packages/knemo.git/blob - knemo.spec
- Up to 0.7.7.
[packages/knemo.git] / knemo.spec
1
2 %define         kdever  4.4.4
3 %define         qtver   4.6.2
4
5 Summary:        The KDE Network Monitor
6 Summary(pl.UTF-8):      Monitor sieci dla KDE
7 Name:           knemo
8 Version:        0.7.7
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications
12 Source0:        https://dl.opendesktop.org/api/files/download/id/1466632297/12956-%{name}-%{version}.tar.xz
13 # Source0-md5:  d7448d77145c82ae80bbbc6460fa108c
14 URL:            http://kde-apps.org/content/show.php?content=12956
15 BuildRequires:  automoc4 >= 0.9.88
16 BuildRequires:  cmake >= 2.8.0
17 BuildRequires:  kde4-kdebase-workspace-devel >= %{kdever}
18 BuildRequires:  kde4-kdelibs-devel >= %{kdever}
19 BuildRequires:  qt4-build >= %{qtver}
20 BuildRequires:  qt4-qmake >= %{qtver}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 KNemo offers a network monitor similar to the one found in Windows.
25 For every network interface it displays an icon in the systray.
26
27 IMPORTANT: To start KNemo go to the Control Center/Internet &
28 Network/Network Monitor. There is an option at the top of the dialog
29 saying "Use KNemo to monitor your interfaces". Activate it and KNemo
30 should start with KDE.
31
32 %description -l pl.UTF-8
33 KNemo jest monitorem sieci podobnym do tego spod Windows. Dla każdego
34 interfejsu wyświetla ikonkę w zasobniku systemowym.
35
36 WAŻNE: Aby uruchomić KNemo należy przejść do Centrum
37 Sterowania/Internet i sieć/Monitor sieci. Na górze okna znajduje się
38 opcja "Use KNemo to monitor your interfaces". Po włączeniu jej KNemo
39 powinno się uruchamiać podczas startu KDE.
40
41 %prep
42 %setup -q
43
44 %build
45 install -d build
46 cd build
47 %cmake .. \
48         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
49         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
50 %if "%{_lib}" == "lib64"
51         -DLIB_SUFFIX=64
52 %endif
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} -C build install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %find_lang %{name} --all-name
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/knemo
70 %attr(755,root,root) %{_libdir}/kde4/kcm_knemo.so
71 %{_desktopdir}/kde4/knemo.desktop
72 %{_datadir}/apps/knemo
73 %{_datadir}/autostart/knemo.desktop
74 %{_iconsdir}/hicolor/*x*/apps/knemo.png
75 %{_iconsdir}/hicolor/*x*/status/knemo*.png
76 %{_datadir}/kde4/services/kcm_knemo.desktop
This page took 0.072387 seconds and 3 git commands to generate.