]> git.pld-linux.org Git - packages/LinPopUp.git/blob - LinPopUp.spec
- Removed 'BuildRequires: (XFree86|glib)-devel' from packages which have
[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:        2
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Group(pl):      X11/Aplikacje/Sieciowe
9 Source0:        ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.gz
10 Patch0:         LinPopUp-prefix.patch
11 URL:            http://www.littleigloo.org/
12 Icon:           LinPopUp.gif
13 BuildRequires:  gtk+-devel
14 Requires:       samba
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19
20 %description
21 LinPopUp is a Xwindow graphical port of Winpopup, running over Samba. It
22 permits to communicate with a windows computer that runs Winpopup, sending
23 or receiving message. (It also provides an alternative way to communicate
24 between Linux computers that run Samba). Please note that LinPopUp is not
25 only a port, as it includes several enhanced features. Also note that it
26 requires to have Samba installed to be fully functionnal.
27
28 %description -l pl
29 LinPopUp umo¿liwia wysy³anie krótkich kominikatów tekstowych przy
30 wykorzystaniu Samby. Pozwala na komunikacjê z osobami pos³uguj±cymi siê
31 Winpopup'em.
32
33 %prep
34 %setup -q
35 %patch -p1
36
37 %build
38 cd src
39 make    DESTDIR="" \
40         PREFIX="%{_prefix}" \
41         DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
42         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
43         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
44         CFLAGS="$RPM_OPT_FLAGS " \
45         LDFLAGS="-s"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup}
50
51 (cd src; make install \
52         DESTDIR="$RPM_BUILD_ROOT" \
53         PREFIX="%{_prefix}" \
54         INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
55         DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
56         DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
57
58 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
59 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
60
61 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* 
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc %{_defaultdocdir}/%{name}-%{version}
69
70 %dir /var/lib/linpopup
71
72 %attr(755,root,root) %{_bindir}/*
73 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
74 %{_mandir}/man1/*
75 %{_datadir}/LinPopUp
This page took 0.030874 seconds and 4 git commands to generate.