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: glib-devel
14 BuildRequires: gtk+-devel
15 BuildRequires: XFree86-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _prefix /usr/X11R6
20 %define _mandir %{_prefix}/man
23 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba. It
24 permits to communicate with a windows computer that runs Winpopup, sending
25 or receiving message. (It also provides an alternative way to communicate
26 between Linux computers that run Samba). Please note that LinPopUp is not
27 only a port, as it includes several enhanced features. Also note that it
28 requires to have Samba installed to be fully functionnal.
31 LinPopUp umo¿liwia wysy³anie krótkich kominikatów tekstowych przy
32 wykorzystaniu Samby. Pozwala na komunikacjê z osobami pos³uguj±cymi siê
43 DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
44 INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
45 DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
46 CFLAGS="$RPM_OPT_FLAGS " \
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup}
53 (cd src; make install \
54 DESTDIR="$RPM_BUILD_ROOT" \
56 INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
57 DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
58 DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
60 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
61 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
63 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc %{_defaultdocdir}/%{name}-%{version}
72 %dir /var/lib/linpopup
74 %attr(755,root,root) %{_bindir}/*
75 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat