- added md5
[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 # Source0-md5:  26503ac44971e334cbbb0a79dd796d93
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-prefix.patch
13 URL:            http://www.littleigloo.org/software_002.php3
14 Icon:           LinPopUp.gif
15 BuildRequires:  gtk+-devel
16 Requires:       samba
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
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 functional.
28
29 %description -l pl
30 LinPopUp umo¿liwia wysy³anie krótkich komunikatów tekstowych przy
31 wykorzystaniu Samby spod X Window. Pozwala na komunikacjê z osobami
32 pos³uguj±cymi siê Winpopupem pod Windows. (Jest tak¿e alternatywnym
33 sposobem na komunikacjê miêdzy u¿ytkownikami Linuksa z Samb±.)
34 LinPopUp nie jest tylko portem - zawiera te¿ parê rozszerzeñ.
35
36 %prep
37 %setup -q
38 %patch -p1
39
40 %build
41 cd src
42 %{__make} \
43         DESTDIR="" \
44         PREFIX="%{_prefix}" \
45         DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
46         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
47         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
48         CFLAGS="%{rpmcflags} " \
49         LDFLAGS="%{rpmldflags}"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup} \
54         $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Network/Communications}
55
56 (cd src; make install \
57         DESTDIR="$RPM_BUILD_ROOT" \
58         PREFIX="%{_prefix}" \
59         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
60         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
61         DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
62
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
64 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
65
66 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
67 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
68
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO
76 %attr(755,root,root) %{_bindir}/*
77 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
78 %{_applnkdir}/Network/Communications/*
79 %{_pixmapsdir}/*
80 %{_mandir}/man1/*
81 %{_datadir}/LinPopUp
82
83 %dir /var/lib/linpopup
This page took 0.05962 seconds and 3 git commands to generate.