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