Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
libieee1284
libieee1284.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libieee1284.spec of Package libieee1284
# # spec file for package libieee1284 (Version 0.2.11) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libieee1284 BuildRequires: fdupes python-devel License: GPL v2 or later; X11/MIT Group: System/Libraries AutoReqProv: on Summary: A Library for Interfacing IEEE 1284-Compatible Devices Version: 0.2.11 Release: 30 Url: http://sourceforge.net/projects/libieee1284/ # Source0 is the main source Source0: http://cyberelk.net/tim/data/libieee1284/stable/%{name}-%{version}.tar.bz2 # Source1 is the documentation Source1: http://cyberelk.net/tim/libieee1284/interface.pdf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This library is intended to be used by applications that need to communicate with (or at least identify) devices that are attached via a parallel port. For Linux, there are some wrinkles in communicating with devices on parallel ports (see /usr/share/doc/packages/libieee1284/README). The aim of this library is to take all the worry about these wrinkles from the application. It figures out which method is appropriate for the currently running kernel. For instance, if the application wants to know the device ID of a device on a particular port, it asks the library for the the device ID. The library then figures out if it is available via /proc (in any of the possible locations) and, if not, tries asking the device itself. If /dev/parport0 is not available for use, it tries ioperm; if that fails, it tries /dev/port. The application does not have to care. Authors: -------- Tim Waugh <tim@cyberelk.net> Matthew Duggan <stauff1@users.sourceforge.net> %prep %setup -q # copy the documentation into the BUILD directory cp %{SOURCE1} . %build # set our preferred architecture-specific flags for the compiler and linker export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure make # run a self-test ... its not doing anything, so leave it out # make check %install make install DESTDIR=${RPM_BUILD_ROOT} # remove pointless libtool .la file rm ${RPM_BUILD_ROOT}/%{_libdir}/libieee1284.la # remove useless .a and .la files of python module rm ${RPM_BUILD_ROOT}/%{_libdir}/python%{py_ver}/site-packages/ieee1284module.a rm ${RPM_BUILD_ROOT}/%{_libdir}/python%{py_ver}/site-packages/ieee1284module.la # create symbolic links to the actual library ln -sf ${RPM_BUILD_ROOT}/%{_libdir}/libieee1284.so.3.2.1 libieee1284.so.3 ln -sf ${RPM_BUILD_ROOT}/%{_libdir}/libieee1284.so.3.2.1 libieee1284.so # create the usual directory for the documentation install -d ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name} # install the usual package description files install -c -m644 AUTHORS COPYING ChangeLog NEWS README TODO ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name} # install the documentation install -m644 interface.pdf ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name} %fdupes -s $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) /usr/bin/libieee1284_test /usr/include/ieee1284.h %{_libdir}/libieee1284.a %{_libdir}/libieee1284.so.3.2.2 %{_libdir}/libieee1284.so.3 %{_libdir}/libieee1284.so %{_libdir}/python%{py_ver}/site-packages/ieee1284module.so %doc %{_mandir}/man3/ieee1284_byte_read.3.gz %doc %{_mandir}/man3/ieee1284_claim.3.gz %doc %{_mandir}/man3/ieee1284_close.3.gz %doc %{_mandir}/man3/ieee1284_compat_write.3.gz %doc %{_mandir}/man3/ieee1284_data_dir.3.gz %doc %{_mandir}/man3/ieee1284_do_nack_handshake.3.gz %doc %{_mandir}/man3/ieee1284_ecp_fwd_to_rev.3.gz %doc %{_mandir}/man3/ieee1284_ecp_read_addr.3.gz %doc %{_mandir}/man3/ieee1284_ecp_read_data.3.gz %doc %{_mandir}/man3/ieee1284_ecp_rev_to_fwd.3.gz %doc %{_mandir}/man3/ieee1284_ecp_write_addr.3.gz %doc %{_mandir}/man3/ieee1284_ecp_write_data.3.gz %doc %{_mandir}/man3/ieee1284_epp_read_addr.3.gz %doc %{_mandir}/man3/ieee1284_epp_read_data.3.gz %doc %{_mandir}/man3/ieee1284_epp_write_addr.3.gz %doc %{_mandir}/man3/ieee1284_epp_write_data.3.gz %doc %{_mandir}/man3/ieee1284_find_ports.3.gz %doc %{_mandir}/man3/ieee1284_free_ports.3.gz %doc %{_mandir}/man3/ieee1284_frob_control.3.gz %doc %{_mandir}/man3/ieee1284_get_deviceid.3.gz %doc %{_mandir}/man3/ieee1284_get_irq_fd.3.gz %doc %{_mandir}/man3/ieee1284_negotiate.3.gz %doc %{_mandir}/man3/ieee1284_nibble_read.3.gz %doc %{_mandir}/man3/ieee1284_open.3.gz %doc %{_mandir}/man3/ieee1284_read_control.3.gz %doc %{_mandir}/man3/ieee1284_read_data.3.gz %doc %{_mandir}/man3/ieee1284_read_status.3.gz %doc %{_mandir}/man3/ieee1284_ref.3.gz %doc %{_mandir}/man3/ieee1284_release.3.gz %doc %{_mandir}/man3/ieee1284_set_timeout.3.gz %doc %{_mandir}/man3/ieee1284_terminate.3.gz %doc %{_mandir}/man3/ieee1284_unref.3.gz %doc %{_mandir}/man3/ieee1284_wait_data.3.gz %doc %{_mandir}/man3/ieee1284_wait_status.3.gz %doc %{_mandir}/man3/ieee1284_write_control.3.gz %doc %{_mandir}/man3/ieee1284_write_data.3.gz %doc %{_mandir}/man3/libieee1284.3.gz %doc %{_mandir}/man3/parport.3.gz %doc %{_mandir}/man3/parport_list.3.gz %doc %{_defaultdocdir}/%{name}/ %changelog * Sun Jul 06 2008 bwalle@suse.de - update to 0.2.11 o Don't require st_nlink > 2 for proc directories - remove libieee1284_procfs_nlink_0.diff: merged upstream * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Mon Sep 17 2007 bwalle@suse.de - don't check for st_nlink in /proc/sys/dev/parport when using ppdev (#325739) * Sat Aug 11 2007 meissner@suse.de - make it build. - some spec file cleanups according to rpmlint comments. * Mon Mar 26 2007 jsmeix@suse.de - remove .a and .la files (Suse Bugzilla bug #244452). * Tue Nov 07 2006 ro@suse.de - fix docu permissions * Tue Oct 31 2006 meissner@suse.de - use RPM_OPT_FLAGS * Mon Sep 11 2006 jsmeix@suse.de - using %%{py_ver} instead of hardcoded Python version * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Jan 03 2006 jsmeix@suse.de - update to version 0.2.10 * Mon Jan 24 2005 jsmeix@suse.de - update to version 0.2.9 * Thu Jul 15 2004 jsmeix@suse.de - initial version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor