]>
Commit | Line | Data |
---|---|---|
011069a7 JB |
1 | # TODO: |
2 | # - evil permissions on /var/lib/linpopup/messages.dat | |
3 | # - nobody user MUST NOT own anything | |
8658fa83 | 4 | Summary: Linux enhanced port of winpopup |
d11593a9 | 5 | Summary(pl.UTF-8): Port programu winpopup pod Linuksa |
8658fa83 | 6 | Name: LinPopUp |
8e78198a | 7 | Version: 1.2.0 |
85a74627 | 8 | Release: 7 |
8e78198a | 9 | License: GPL |
8658fa83 | 10 | Group: X11/Applications/Networking |
b11694f4 | 11 | Source0: http://www.chez.com/littleigloo/files/%{name}-%{version}.src.tar.gz |
d84f4cda | 12 | # Source0-md5: 26503ac44971e334cbbb0a79dd796d93 |
ea54810a | 13 | Source1: %{name}.desktop |
14 | Source2: %{name}.png | |
2b0e8b98 | 15 | Patch0: %{name}-prefix.patch |
7f577692 | 16 | URL: http://www.littleigloo.org/software_002.php3 |
941855a2 | 17 | BuildRequires: gtk+-devel |
8658fa83 | 18 | Requires: samba |
7150d249 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
123b596f AF |
20 | |
21 | %description | |
8047d218 | 22 | LinPopUp is a Xwindow graphical port of Winpopup, running over Samba. |
022d8345 | 23 | It permits to communicate with a Windows computer that runs Winpopup, |
8047d218 | 24 | sending or receiving message. (It also provides an alternative way to |
25 | communicate between Linux computers that run Samba). Please note that | |
26 | LinPopUp is not only a port, as it includes several enhanced features. | |
27 | Also note that it requires to have Samba installed to be fully | |
022d8345 | 28 | functional. |
123b596f | 29 | |
d1265c1b JR |
30 | %description -l pl.UTF-8 |
31 | LinPopUp umożliwia wysyłanie krótkich komunikatów tekstowych przy | |
32 | wykorzystaniu Samby spod X Window. Pozwala na komunikację z osobami | |
33 | posługującymi się Winpopupem pod Windows. (Jest także alternatywnym | |
34 | sposobem na komunikację między użytkownikami Linuksa z Sambą.) | |
35 | LinPopUp 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 | |
42 | cd 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 | 53 | rm -rf $RPM_BUILD_ROOT |
ea54810a | 54 | install -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 | 64 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
ea54810a | 65 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
66 | ||
322c12fd | 67 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1 |
68 | echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1 | |
123b596f | 69 | |
5a1d7a65 | 70 | %clean |
a5d769f9 | 71 | rm -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 |