]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
8df38fb2586934888702e93aa75c3f45014230ca
[packages/LinPopUp.git] / LinPopUp.spec
1 Summary:     Linux enhanced port of winpopup
2 Summary(pl): Port winpopup'a pod Linux'a
3 Name:        LinPopUp
4 Version:     0.9.6
5 Release:     2d
6 Copyright:   GPL
7 Group:       Networking
8 Group(pl):   Sieæ
9 Source:      ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.bz2
10 URL:         http://www.littleigloo.org/
11 Icon:        linpopup.gif
12 Requires:    samba
13 Requires:    XFree86-libs
14 Requires:    gtk+
15 Requires:    glib
16 BuildRoot:   /tmp/%{name}-%{version}-root
17
18 %description
19 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba. It
20 permits to communicate with a windows computer that runs Winpopup, sending
21 or receiving message. (It also provides an alternative way to communicate
22 between Linux computers that run Samba). Please note that LinPopUp is not
23 only a port, as it includes several enhanced features. Also note that it
24 requires to have Samba installed to be fully functionnal.
25
26 %description -l pl
27 LinPopUp umo¿liwia wysy³anie krótkich kominikatów tekstowych przy
28 wykorzystaniu Samby. Pozwala na komunikacjê z osobami pos³uguj±cymi siê
29 Winpopup'em.
30
31 %prep
32 %setup -q
33
34 %build
35 cd src
36 make \
37         DESTDIR=/usr/X11R6 \
38         SHARE_PATH=/var/lib/linpopup/ \
39         CFLAGS="$RPM_OPT_FLAGS " \
40         LDFLAGS="-s"
41
42 #CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s
43 #make DESTDIR=/usr/X11R6 SHARE_PATH=/var/lib/linpopup/ 
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT/{usr/X11R6/{bin,man/man1},var/lib/linpopup}
48
49 cd src
50 make install \
51         DESTDIR=$RPM_BUILD_ROOT/usr/X11R6 \
52         SHARE_PATH=$RPM_BUILD_ROOT/var/lib/linpopup
53 cd ..
54
55 rm -rf $RPM_BUILD_ROOT/var/lib/linpopup/docs
56 ln -s /usr/doc/%{name}-%{version} $RPM_BUILD_ROOT/var/lib/linpopup/docs
57
58 rm -f $RPM_BUILD_ROOT/usr/X11R6/man/man1/linpopup.1
59 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT/usr/X11R6/man/man1/linpopup.1
60
61 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man1/*
62 gzip -9nf AUTHORS BUGS NEWS THANKS 
63 # docs/*
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS.gz BUGS.gz NEWS.gz THANKS.gz docs/*
71 %dir /var/lib/linpopup
72
73 %attr(755,root,root) /usr/X11R6/bin/*
74 %attr(644,root, man) /usr/X11R6/man/man1/*
75 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
76
77 /var/lib/linpopup/misc
78
79 %changelog
80 * Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
81   [0.9.6-2d]
82 - added gzipping documentation
83 - sloted BuildRoot into PLD standard
84 - added LDFLAGS=-s
85 - cosmetic changes
86
87 * Sat Jan 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
88   [0.9.6-1d]
89 - added "rm -rf $RPM_BUILD_ROOT" on top %install,
90 - gzipping instead bzipping2 man pages,
91
92 * Sat Jan 21 1999 Artur Frysiak <wiget@usa.net>
93 - initial release
This page took 0.021738 seconds and 2 git commands to generate.