1 Summary: Linux enhanced port of winpopup
2 Summary(pl): Port winpopup'a pod Linux'a
7 Group: X11/Applications/Networking
8 Group(pl): X11/Aplikacje/Sieciowe
9 Source0: ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.gz
10 Patch0: LinPopUp-prefix.patch
11 URL: http://www.littleigloo.org/
13 BuildRequires: gtk+-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/X11R6
18 %define _mandir %{_prefix}/man
21 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba.
22 It permits to communicate with a windows computer that runs Winpopup,
23 sending or receiving message. (It also provides an alternative way to
24 communicate between Linux computers that run Samba). Please note that
25 LinPopUp is not only a port, as it includes several enhanced features.
26 Also note that it requires to have Samba installed to be fully
30 LinPopUp umo¿liwia wysy³anie krótkich kominikatów tekstowych przy
31 wykorzystaniu Samby. Pozwala na komunikacjê z osobami pos³uguj±cymi
42 DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
43 INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
44 DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
45 CFLAGS="$RPM_OPT_FLAGS " \
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup}
52 (cd src; make install \
53 DESTDIR="$RPM_BUILD_ROOT" \
55 INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
56 DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
57 DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
59 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
60 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
62 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc %{_defaultdocdir}/%{name}-%{version}
71 %dir /var/lib/linpopup
73 %attr(755,root,root) %{_bindir}/*
74 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat