X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=LinPopUp.spec;h=95a1b65f503c9c82b55e085f1d388ba903187148;hb=68002e71da5f47c477fcc3b5506eff8db2230993;hp=04ce40555b0b62057a9fb23b4b226c138a2058f2;hpb=df9e48d0b440184409d5db3a049afb3d1d1632df;p=packages%2FLinPopUp.git diff --git a/LinPopUp.spec b/LinPopUp.spec index 04ce405..95a1b65 100644 --- a/LinPopUp.spec +++ b/LinPopUp.spec @@ -1,36 +1,36 @@ 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.2 -Release: 1 -Copyright: GPL +Version: 1.2.0 +Release: 4 +License: GPL Group: X11/Applications/Networking -Group(pl): X11/Aplikacje/Sieciowe -Source: ftp://littleigloo.org/pub/linpopup/%{name}-%{version}.src.tar.bz2 -Patch: LinPopUp-prefix.patch -URL: http://www.littleigloo.org/ +Source0: http://www.chez.com/littleigloo/files/%{name}-%{version}.src.tar.gz +Source1: %{name}.desktop +Source2: %{name}.png +Patch0: %{name}-prefix.patch +URL: http://www.littleigloo.org/software_002.php3 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 _mandir /usr/X11R6/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 @@ -38,40 +38,45 @@ 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 -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc %{_defaultdocdir}/%{name}-%{version} - -%dir /var/state/linpopup - +%doc AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO %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 + +%dir /var/lib/linpopup