]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
- massive attack: new %%doc
[packages/LinPopUp.git] / LinPopUp.spec
1 Summary:        Linux enhanced port of winpopup
2 Summary(pl):    Port programu winpopup pod Linuksa
3 Name:           LinPopUp
4 Version:        1.2.0
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Source0:        ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
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 functional.
29
30 %description -l pl
31 LinPopUp umo¿liwia wysy³anie krótkich komunikatów tekstowych przy
32 wykorzystaniu Samby spod X Window. Pozwala na komunikacjê z osobami
33 pos³uguj±cymi siê Winpopupem pod Windows. (Jest tak¿e alternatywnym
34 sposobem na komunikacjê miêdzy u¿ytkownikami Linuksa z Samb±.)
35 LinPopUp nie jest tylko portem - zawiera te¿ parê rozszerzeñ.
36
37 %prep
38 %setup -q
39 %patch -p1
40
41 %build
42 cd src
43 %{__make} \
44         DESTDIR="" \
45         PREFIX="%{_prefix}" \
46         DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
47         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
48         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
49         CFLAGS="%{rpmcflags} " \
50         LDFLAGS="%{rpmldflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup} \
55         $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Network/Communications}
56
57 (cd src; make install \
58         DESTDIR="$RPM_BUILD_ROOT" \
59         PREFIX="%{_prefix}" \
60         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
61         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
62         DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
65 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
66
67 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
68 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
69
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO
77 %attr(755,root,root) %{_bindir}/*
78 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
79 %{_applnkdir}/Network/Communications/*
80 %{_pixmapsdir}/*
81 %{_mandir}/man1/*
82 %{_datadir}/LinPopUp
83
84 %dir /var/lib/linpopup
This page took 0.483197 seconds and 4 git commands to generate.