]> git.pld-linux.org Git - packages/LinPopUp.git/blobdiff - LinPopUp.spec
- added md5
[packages/LinPopUp.git] / LinPopUp.spec
index eb47488d3c7630375ed1901bc255afd4f984f054..0b493aaf5c05a7932987b7187c1d1c6a75068cf7 100644 (file)
@@ -1,30 +1,37 @@
 Summary:       Linux enhanced port of winpopup
-Summary(pl):   Port winpopup'a pod Linux'a
+Summary(pl):   Port programu winpopup pod Linuksa
 Name:          LinPopUp
-Version:       0.9.9
-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
+# Source0-md5: 26503ac44971e334cbbb0a79dd796d93
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+Patch0:                %{name}-prefix.patch
+URL:           http://www.littleigloo.org/software_002.php3
 Icon:          LinPopUp.gif
+BuildRequires: gtk+-devel
 Requires:      samba
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
 
 %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
@@ -32,63 +39,45 @@ Winpopup'em.
 
 %build
 cd src
-make \
+%{__make} \
        DESTDIR="" \
-       PREFIX="/usr/X11R6" \
-       DOC_DIR="/usr/doc/%{name}-%{version}"
-       CFLAGS="$RPM_OPT_FLAGS " \
-       LDFLAGS="-s"
+       PREFIX="%{_prefix}" \
+       DOC_DIR="%{_defaultdocdir}/%{name}-%{version}" \
+       INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
+       DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
+       CFLAGS="%{rpmcflags} " \
+       LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{usr/X11R6/{bin,man/man1,share},var/lib/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="/usr/X11R6" \
-       DOC_DIR="$RPM_BUILD_ROOT//usr/doc/%{name}-%{version}" )
+       PREFIX="%{_prefix}" \
+       INSTALL_MANPATH='$(DESTDIR)%{_mandir}' \
+       DATA_DIR='$(DESTDIR)/var/lib/linpopup' \
+       DOC_DIR="$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}" )
 
-rm -f $RPM_BUILD_ROOT/usr/X11R6/man/man1/linpopup.1
-echo ".so LinPopUp.1" >$RPM_BUILD_ROOT/usr/X11R6/man/man1/linpopup.1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-rm -f $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}/{COPYING,INSTALL,MANUAL}
+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/usr/X11R6/man/man1/* \
-       $RPM_BUILD_ROOT/usr/doc/%{name}-%{version}/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-#%doc AUTHORS.gz BUGS.gz NEWS.gz THANKS.gz docs/*
-%doc /usr/doc/%{name}-%{version}
-
-%dir /var/lib/linpopup
-
-%attr(755,root,root) /usr/X11R6/bin/*
+%doc AUTHORS BUGS ChangeLog INSTALL NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
 %attr(666,nobody,nobody) /var/lib/linpopup/messages.dat
-/usr/X11R6/man/man1/*
-/usr/X11R6/share/LinPopUp
+%{_applnkdir}/Network/Communications/*
+%{_pixmapsdir}/*
+%{_mandir}/man1/*
+%{_datadir}/LinPopUp
 
-%changelog
-* Fri Mar 19 1999 Artur Frysiak <wiget@pld.org.pl>
-  [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 <kurkens@polbox.com>
-  [0.9.6-2d]
-- added gzipping documentation
-- sloted BuildRoot into PLD standard
-- added LDFLAGS=-s
-- cosmetic changes
-
-* Sat Jan 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.9.6-1d]
-- added "rm -rf $RPM_BUILD_ROOT" on top %install,
-- gzipping instead bzipping2 man pages,
-
-* Sat Jan 21 1999 Artur Frysiak <wiget@usa.net>
-- initial release
+%dir /var/lib/linpopup
This page took 0.070641 seconds and 4 git commands to generate.