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