File: LinPopUp.spec

package info (click to toggle)
linpopup 1.2.0-8.3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 640 kB
  • ctags: 247
  • sloc: ansic: 2,885; sh: 259; makefile: 228
file content (65 lines) | stat: -rw-r--r-- 1,519 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Summary: Linux enhanced port of winpopup
Name: LinPopUp
Version: THIS_VERSION
Release: THIS_RPM_RELEASE
Icon: linpopup.gif
Copyright: GPL
Group: Networking
Source: LinPopUp-THIS_VERSION.src.tar.gz
URL: http://www.littleigloo.org


%description
LinPopUp is a Xwindow graphical port of Winpopup,
running over Samba. It permits to communicate with a
windows computer that runs Winpopup, sending or 
receiving message. (It also provides an alternative way
to communicate between Linux computers that run Samba).
Please note that LinPopUp is not only a port, as it includes
several enhanced features. Also note that it requires to
have Samba installed to be fully functionnal. 
Check http://www.littleigloo.org for last RPM packages.



%prep
%setup
cd src
make DESTDIR=/usr DATA_DIR=/var/lib/linpopup docs 

%build
cd src
make DESTDIR=/usr DATA_DIR=/var/lib/linpopup

%install
cd src
make DESTDIR=/usr  DATA_DIR=/var/lib/linpopup install


%pre
if [ ! -e THIS_DATA_DIR ]; then
    mkdir -m0755 THIS_DATA_DIR;
else :; fi;
if [ ! -f THIS_DATA_FILE ]; then
    touch THIS_DATA_FILE;
    chmod 0666 THIS_DATA_FILE;
    chgrp nobody THIS_DATA_FILE;
else :; fi;  


%postun
if [ -e THIS_DATA_DIR ]; then
    rm -Rf THIS_DATA_DIR;
else :; fi;    	
if [ -e /usr/share/LinPopUp ]; then
    rm -Rf /usr/share/LinPopUp;
else :; fi;    	


%files
%doc AUTHORS THANKS BUGS INSTALL TODO COPYING README MANUAL ChangeLog screenshots
/usr/bin/LinPopUp
/usr/man/man1/LinPopUp.1
/usr/bin/linpopup
/usr/man/man1/linpopup.1
/usr/share/LinPopUp