]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
[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:        3
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Group(de):      X11/Applikationen/Netzwerkwesen
9 Group(pl):      X11/Aplikacje/Sieciowe
10 Source0:        ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.gz
11 Patch0:         %{name}-prefix.patch
12 URL:            http://www.littleigloo.org/
13 Icon:           LinPopUp.gif
14 BuildRequires:  gtk+-devel
15 Requires:       samba
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19 %define         _mandir         %{_prefix}/man
20
21 %description
22 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba.
23 It permits to communicate with a windows computer that runs Winpopup,
24 sending or receiving message. (It also provides an alternative way to
25 communicate between Linux computers that run Samba). Please note that
26 LinPopUp is not only a port, as it includes several enhanced features.
27 Also note that it requires to have Samba installed to be fully
28 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
33 siê Winpopup'em.
34
35 %prep
36 %setup -q
37 %patch -p1
38
39 %build
40 cd src
41 %{__make} \
42         DESTDIR="" \
43         PREFIX="%{_prefix}" \
44         DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
45         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
46         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
47         CFLAGS="%{rpmcflags} " \
48         LDFLAGS="%{rpmldflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup}
53
54 (cd src; make install \
55         DESTDIR="$RPM_BUILD_ROOT" \
56         PREFIX="%{_prefix}" \
57         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
58         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
59         DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
60
61 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
62 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
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.056705 seconds and 4 git commands to generate.