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