X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=LinPopUp.spec;h=661cd797d849737535bcad53353bcee7825c795e;hb=refs%2Ftags%2FSTABLE;hp=37fe0ab8dd483fa4bf0894d5420e17c263eaaa13;hpb=322c12fd2010094c3b17b8fe7a4930e0613e7628;p=packages%2FLinPopUp.git diff --git a/LinPopUp.spec b/LinPopUp.spec index 37fe0ab..661cd79 100644 --- a/LinPopUp.spec +++ b/LinPopUp.spec @@ -1,35 +1,40 @@ Summary: Linux enhanced port of winpopup -Summary(pl): Port winpopup'a pod Linux'a +Summary(pl): Port programu winpopup pod Linuksa Name: LinPopUp -Version: 1.0.1 -Release: 1 -Copyright: GPL +Version: 1.2.0 +Release: 4 +License: GPL Group: X11/Applications/Networking +Group(de): X11/Applikationen/Netzwerkwesen Group(pl): X11/Aplikacje/Sieciowe -Source: ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.bz2 -Patch: LinPopUp-prefix.patch +Source0: ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.gz +Source1: %{name}.desktop +Source2: %{name}.png +Patch0: %{name}-prefix.patch URL: http://www.littleigloo.org/ Icon: LinPopUp.gif -BuildPrereq: glib-devel -BuildPrereq: gtk+-devel -BuildPrereq: XFree86-devel +BuildRequires: gtk+-devel Requires: samba -BuildRoot: /tmp/%{name}-%{version}-root +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 +%define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man %description -LinPopUp is a Xwindow graphical port of Winpopup, running over Samba. It -permits to communicate with a windows computer that runs Winpopup, sending -or receiving message. (It also provides an alternative way to communicate -between Linux computers that run Samba). Please note that LinPopUp is not -only a port, as it includes several enhanced features. Also note that it -requires to have Samba installed to be fully functionnal. +LinPopUp is a Xwindow graphical port of Winpopup, running over Samba. +It permits to communicate with a Windows computer that runs Winpopup, +sending or receiving message. (It also provides an alternative way to +communicate between Linux computers that run Samba). Please note that +LinPopUp is not only a port, as it includes several enhanced features. +Also note that it requires to have Samba installed to be fully +functional. %description -l pl -LinPopUp umo¿liwia wysy³anie krótkich kominikatów tekstowych przy -wykorzystaniu Samby. Pozwala na komunikacjê z osobami pos³uguj±cymi siê -Winpopup'em. +LinPopUp umo¿liwia wysy³anie krótkich komunikatów tekstowych przy +wykorzystaniu Samby spod X Window. Pozwala na komunikacjê z osobami +pos³uguj±cymi siê Winpopupem pod Windows. (Jest tak¿e alternatywnym +sposobem na komunikacjê miêdzy u¿ytkownikami Linuksa z Samb±.) +LinPopUp nie jest tylko portem - zawiera te¿ parê rozszerzeñ. %prep %setup -q @@ -37,68 +42,46 @@ Winpopup'em. %build cd src -make DESTDIR="" \ +%{__make} \ + DESTDIR="" \ PREFIX="%{_prefix}" \ DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \ INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \ - DATA_DIR='$(DESTDIR)/var/state/linpopup' \ - CFLAGS="$RPM_OPT_FLAGS " \ - LDFLAGS="-s" + DATA_DIR='$(DESTDIR)/var/lib/linpopup' \ + CFLAGS="%{rpmcflags} " \ + LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/linpopup} \ + $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Network/Communications} (cd src; make install \ DESTDIR="$RPM_BUILD_ROOT" \ PREFIX="%{_prefix}" \ INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \ - DATA_DIR='$(DESTDIR)/var/state/linpopup' \ + DATA_DIR='$(DESTDIR)/var/lib/linpopup' \ DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" ) +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications +install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} + rm -f $RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1 echo ".so LinPopUp.1" >$RPM_BUILD_ROOT%{_mandir}/man1/linpopup.1 -#rm -f $RPM_BUILD_ROOT/usr/sahre/doc/%{name}-%{version}/{COPYING,INSTALL,MANUAL} - -gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/share/man/man1/* +gzip -9nf AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc %{_defaultdocdir}/%{name}-%{version} - -%dir /var/state/linpopup - +%doc *.gz %attr(755,root,root) %{_bindir}/* -%attr(666,nobody,nobody) /var/state/linpopup/messages.dat +%attr(666,nobody,nobody) /var/lib/linpopup/messages.dat +%{_applnkdir}/Network/Communications/* +%{_pixmapsdir}/* %{_mandir}/man1/* %{_datadir}/LinPopUp -%changelog -* Fri May 28 1999 Tomasz K³oczko - [1.0.1] -- added using more rpm macres in spec. - -* Fri Mar 19 1999 Artur Frysiak - [0.9.9-1] -- add LinPopUp-prefix.patch: allow build rpm with no-root account -- remove autogenerated requires -- changes in %file section - -* Tue Feb 9 1999 Micha³ Kuratczyk - [0.9.6-2d] -- added gzipping documentation -- sloted BuildRoot into PLD standard -- added LDFLAGS=-s -- cosmetic changes - -* Sat Jan 22 1999 Tomasz K³oczko - [0.9.6-1d] -- added "rm -rf $RPM_BUILD_ROOT" on top %install, -- gzipping instead bzipping2 man pages, - -* Sat Jan 21 1999 Artur Frysiak -- initial release +%dir /var/lib/linpopup