]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
- spec adapterized.
[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.2.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Group(pl):      X11/Aplikacje/Sieciowe
9 Source0:        ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.gz
10 Patch0:         LinPopUp-prefix.patch
11 URL:            http://www.littleigloo.org/
12 Icon:           LinPopUp.gif
13 BuildRequires:  gtk+-devel
14 Requires:       samba
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19
20 %description
21 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba.
22 It permits to communicate with a windows computer that runs Winpopup,
23 sending or receiving message. (It also provides an alternative way to
24 communicate between Linux computers that run Samba). Please note that
25 LinPopUp is not only a port, as it includes several enhanced features.
26 Also note that it requires to have Samba installed to be fully
27 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
32 siê 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/lib/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/lib/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 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* 
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc %{_defaultdocdir}/%{name}-%{version}
70
71 %dir /var/lib/linpopup
72
73 %attr(755,root,root) %{_bindir}/*
74 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
75 %{_mandir}/man1/*
76 %{_datadir}/LinPopUp
This page took 0.060224 seconds and 4 git commands to generate.