]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
- removed two lines with define
[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:        http://www.chez.com/littleigloo/files/%{name}-%{version}.src.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 Patch0:         %{name}-prefix.patch
12 URL:            http://www.littleigloo.org/software_002.php3
13 Icon:           LinPopUp.gif
14 BuildRequires:  gtk+-devel
15 Requires:       samba
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18
19 %description
20 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba.
21 It permits to communicate with a Windows computer that runs Winpopup,
22 sending or receiving message. (It also provides an alternative way to
23 communicate between Linux computers that run Samba). Please note that
24 LinPopUp is not only a port, as it includes several enhanced features.
25 Also note that it requires to have Samba installed to be fully
26 functional.
27
28 %description -l pl
29 LinPopUp umo¿liwia wysy³anie krótkich komunikatów tekstowych przy
30 wykorzystaniu Samby spod X Window. Pozwala na komunikacjê z osobami
31 pos³uguj±cymi siê Winpopupem pod Windows. (Jest tak¿e alternatywnym
32 sposobem na komunikacjê miêdzy u¿ytkownikami Linuksa z Samb±.)
33 LinPopUp nie jest tylko portem - zawiera te¿ parê rozszerzeñ.
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         $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Network/Communications}
54
55 (cd src; make install \
56         DESTDIR="$RPM_BUILD_ROOT" \
57         PREFIX="%{_prefix}" \
58         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
59         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
60         DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
61
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
64
65 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
66 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
67
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO
75 %attr(755,root,root) %{_bindir}/*
76 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
77 %{_applnkdir}/Network/Communications/*
78 %{_pixmapsdir}/*
79 %{_mandir}/man1/*
80 %{_datadir}/LinPopUp
81
82 %dir /var/lib/linpopup
This page took 0.061632 seconds and 4 git commands to generate.