]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
[0.9.6-2d]
[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
37 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s
38 make DESTDIR=/usr/X11R6 SHARE_PATH=/var/lib/linpopup/ 
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT/{usr/X11R6/{bin,man/man1},var/lib/linpopup}
43
44 cd src
45 make install \
46         DESTDIR=$RPM_BUILD_ROOT/usr/X11R6
47         SHARE_PATH=$RPM_BUILD_ROOT/var/lib/linpopup
48
49 rm -rf $RPM_BUILD_ROOT/var/lib/linpopup/docs
50 ln -s $RPM_BUILD_ROOT/usr/doc/%{name}-%{version} $RPM_BUILD_ROOT/var/lib/linpopup/docs
51
52 rm -f $RPM_BUILD_ROOT/usr/X11R6/man/man1/linpopup.1
53 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT/usr/X11R6/man/man1/linpopup.1
54
55 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man1/*
56 gzip -9nf AUTHORS BUGS NEWS THANKS docs/*
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS.gz BUGS.gz NEWS.gz THANKS.gz docs/*
64 %dir /var/lib/linpopup
65
66 %attr(755,root,root) /usr/X11R6/bin/*
67 %attr(644,root, man) /usr/X11R6/man/man1/*
68 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
69
70 /var/lib/linpopup/misc
71
72 %changelog
73 * Tue Feb  9 1999 Micha³ Kuratczyk <kurkens@polbox.com>
74   [0.9.6-2d]
75 - added gzipping documentation
76 - sloted BuildRoot into PLD standard
77 - added LDFLAGS=-s
78 - cosmetic changes
79
80 * Sat Jan 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
81   [0.9.6-1d]
82 - added "rm -rf $RPM_BUILD_ROOT" on top %install,
83 - gzipping instead bzipping2 man pages,
84
85 * Sat Jan 23 1999 Artur Frysiak <wiget@usa.net>
86 - initial release
This page took 0.064953 seconds and 3 git commands to generate.