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