]> git.pld-linux.org Git - packages/LinPopUp.git/blame - LinPopUp.spec
- tabs in preamle
[packages/LinPopUp.git] / LinPopUp.spec
CommitLineData
011069a7
JB
1# TODO:
2# - evil permissions on /var/lib/linpopup/messages.dat
3# - nobody user MUST NOT own anything
8658fa83 4Summary: Linux enhanced port of winpopup
d11593a9 5Summary(pl.UTF-8): Port programu winpopup pod Linuksa
8658fa83 6Name: LinPopUp
8e78198a 7Version: 1.2.0
85a74627 8Release: 7
8e78198a 9License: GPL
8658fa83 10Group: X11/Applications/Networking
b11694f4 11Source0: http://www.chez.com/littleigloo/files/%{name}-%{version}.src.tar.gz
d84f4cda 12# Source0-md5: 26503ac44971e334cbbb0a79dd796d93
ea54810a 13Source1: %{name}.desktop
14Source2: %{name}.png
2b0e8b98 15Patch0: %{name}-prefix.patch
7f577692 16URL: http://www.littleigloo.org/software_002.php3
941855a2 17BuildRequires: gtk+-devel
8658fa83 18Requires: samba
7150d249 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
123b596f
AF
20
21%description
8047d218 22LinPopUp is a Xwindow graphical port of Winpopup, running over Samba.
022d8345 23It permits to communicate with a Windows computer that runs Winpopup,
8047d218 24sending or receiving message. (It also provides an alternative way to
25communicate between Linux computers that run Samba). Please note that
26LinPopUp is not only a port, as it includes several enhanced features.
27Also note that it requires to have Samba installed to be fully
022d8345 28functional.
123b596f 29
d1265c1b
JR
30%description -l pl.UTF-8
31LinPopUp umożliwia wysyłanie krótkich komunikatów tekstowych przy
32wykorzystaniu Samby spod X Window. Pozwala na komunikację z osobami
33posługującymi się Winpopupem pod Windows. (Jest także alternatywnym
34sposobem na komunikację między użytkownikami Linuksa z Sambą.)
35LinPopUp nie jest tylko portem - zawiera też parę rozszerzeń.
123b596f
AF
36
37%prep
38%setup -q
fc47f790 39%patch0 -p1
123b596f
AF
40
41%build
42cd src
2b0e8b98 43%{__make} \
44 DESTDIR="" \
322c12fd 45 PREFIX="%{_prefix}" \
78144b86 46 DOC_DIR="%{_docdir}/%{name}-%{version}" \
322c12fd 47 INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
8a878969 48 DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
7246a6c2
JB
49 CFLAGS="%{rpmcflags} " \
50 LDFLAGS="%{rpmldflags}"
94e10105 51
123b596f 52%install
6be4c1e1 53rm -rf $RPM_BUILD_ROOT
ea54810a 54install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup} \
e107b4ba 55 $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
123b596f 56
011069a7 57%{__make} install -C src \
7f577692 58 DESTDIR=$RPM_BUILD_ROOT \
322c12fd 59 PREFIX="%{_prefix}" \
60 INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
8a878969 61 DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
78144b86 62 DOC_DIR="$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}"
123b596f 63
e107b4ba 64install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
ea54810a 65install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
66
322c12fd 67rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
68echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1
123b596f 69
5a1d7a65 70%clean
a5d769f9 71rm -rf $RPM_BUILD_ROOT
5a1d7a65 72
123b596f
AF
73%files
74%defattr(644,root,root,755)
dd611a18 75%doc AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO
322c12fd 76%attr(755,root,root) %{_bindir}/*
78144b86 77%attr(666,nobody,nobody) /var/lib/linpopup/messages.dat # FIXME nobody user/group can't own files! -adapter.awk
dc2b8b29 78%{_desktopdir}/*.desktop
ea54810a 79%{_pixmapsdir}/*
322c12fd 80%{_mandir}/man1/*
81%{_datadir}/LinPopUp
ea54810a 82%dir /var/lib/linpopup
This page took 0.076509 seconds and 4 git commands to generate.