]> git.pld-linux.org Git - SPECS.git/blob - kpopup.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / kpopup.spec
1 Summary:        KPopup - a program for sending and receiving Microsoft(tm) WinPopup messages
2 Summary(pl.UTF-8):      KPopup - program do wysyłania i odbierania wiadomości WinPopup
3 Name:           kpopup
4 Version:        0.9.8.2
5 Release:        3
6 License:        GPL v2
7 Group:          X11/Applications/Networking
8 Source0:        http://www.henschelsoft.de/kpopup/%{name}-%{version}.tar.gz
9 # Source0-md5:  f3cb22df62c4062dd172dd28aa92d4db
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.henschelsoft.de/kpopup_en.html
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  kdelibs-devel >= 9:3.2.0
15 BuildRequires:  rpmbuild(macros) >= 1.194
16 BuildRequires:  unsermake >= 040511
17 Requires:       samba-client
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 KPopup is a program for sending and receiving Microsoft(tm) WinPopup
22 messages.
23
24 %description -l pl.UTF-8
25 KPopup jest programem do wysyłania i odbierania wiadomości WinPopup.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 cp -f /usr/share/automake/config.sub admin
33 export UNSERMAKE=/usr/share/unsermake/unsermake
34
35 %configure \
36         --with-qt-libraries=%{_libdir}
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 install -d $RPM_BUILD_ROOT/var/lib/kpopup
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         kde_htmldir=%{_kdedocdir} \
48         kde_libs_htmldir=%{_kdedocdir}
49
50 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
51
52 %find_lang %{name} --with-kde
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 if [ "$1" = 1 ]; then
59 %banner -e %{name} <<'EOF'
60 Locate the [global] section of your Samba configuration file (smb.conf)
61 and add the following line:
62
63 message command = sh -c '/usr/bin/receivepopup.sh "%s" "%f"' &
64 EOF
65 # 'vim
66 fi
67
68 %files -f kpopup.lang
69 %defattr(644,root,root,755)
70 %doc ChangeLog README AUTHORS
71 %attr(755,root,root) %{_bindir}/kpopup
72 %attr(755,root,root) %{_bindir}/receivepopup.sh
73 %{_desktopdir}/kde/kpopup.desktop
74 %{_iconsdir}/hicolor/*/*/kpopup.png
75 %dir %attr(777,root,root) /var/lib/kpopup
This page took 0.607678 seconds and 3 git commands to generate.