From 39a85c943fff6a35ec57b02f67cd38f9550f3c78 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sat, 11 Nov 2000 16:17:14 +0000 Subject: Misc. Makefile changes. Bumped up version. --- etc/.cvsignore | 1 + etc/plptools.spec.in | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 etc/plptools.spec.in (limited to 'etc') diff --git a/etc/.cvsignore b/etc/.cvsignore index dc8189b..86114be 100644 --- a/etc/.cvsignore +++ b/etc/.cvsignore @@ -1 +1,2 @@ psion +plptools.spec diff --git a/etc/plptools.spec.in b/etc/plptools.spec.in new file mode 100644 index 0000000..0d08300 --- /dev/null +++ b/etc/plptools.spec.in @@ -0,0 +1,92 @@ +Summary: Connectivity for psion series 5. +Name: plptools +%define version _VERSION_ +Version: %{version} +Release: 1 +Vendor: Thinking Objects Software GmbH +Packager: Fritz Elfert +URL: http://sourceforge.net/projects/plptools +Source0: http://download.sourceforge.net/plptools/plptools-%{version}.tar.gz +Copyright: GPL +Group: Networking/Utilities +Requires: chkconfig >= 0.9 +Buildrequires: libreadline +BuildRoot: /tmp/plputils-buildroot + +%package devel +Summary: Static library and includes for psion series 5 communication. +Group: Development/Libraries + +%description +This package contains the programs (client and server), necessary to +communicate with a psion series 5. The psion's file-system will +be automatically mounted under /mnt/psion at the time it is +connected to your computer. If the psion is shut down or +disconnected, the contents of /mnt/psion will automatically +disappear. A second program (plpftp) allows you to transfer +files in a ftp-like manner. + +%description devel +This package contains the static library and include files for building +programs which can communicate with a psion series 5. + +%description -l de +Dieses Packet enthält Programme zur Kommunikation mit einem Psion 5. +Das Dateisystem des Psion wird beim Anschließen automatisch unter +/mnt/psion eingehängt. Wird der Psion ausgeschaltet oder das Kabel +gezogen, so verschwindet der Inhalt dieses Verzeichnisses automatisch +und erscheint erneuten Anschließen wieder. Ein weiteres Programm ist +plpftp, welches eine FTP-ähnliche Oberfläche für Dateitransfer +bietet. + +%description -l de devel +Dieses Packet enthält die statische Bibliothek und include-Dateien +zur Programm-Entwicklung von Kommunikations-software für den Psion 5. + +%changelog +* Mon Jan 17 2000 Fritz Elfert +- New version 0.5 with lots of bugfixes and additions. + +* Sat Aug 7 1999 Fritz Elfert +- fixed violation of const parameters in rfsv32.cc. +- corrected BLOCKSIZE in mp.h to fix behaviour of "du" program. + +%prep +%setup + +%build +%configure +make + +%install +mkdir -p $RPM_BUILD_ROOT/usr $RPM_BUILD_ROOT/etc/rc.d/init.d +%makeinstall +install -m755 etc/psion $RPM_BUILD_ROOT/etc/rc.d/init.d + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +ldconfig +/sbin/chkconfig --add psion +/etc/rc.d/init.d/psion restart + +%preun +if [ "$1" = 0 ] +then + /etc/rc.d/init.d/psion stop >&2 + /sbin/chkconfig --del psion +fi + +%files +%doc COPYING INSTALL CHANGES README* TODO etc/*magic patches +%{_bindir}/* +%{_sbindir}/* +%{_mandir}/*/* +%{_libdir}/libplp.so* +%config /etc/rc.d/init.d/psion + +%files devel +%doc doc/api etc/*.spec +%{_libdir}/libplp.a +%{_includedir}/%{name}/* -- cgit v1.2.3