[external] / libphidgets / rpm / libphidgets.spec
Project Root:

external: libphidgets/rpm/libphidgets.spec

File: [external] / libphidgets / rpm / libphidgets.spec (download)
Revision: 1.2, Sat Jan 22 22:34:48 2005 UTC (5 years, 7 months ago) by jason
Branch: MAIN
CVS Tags: libphidgets_0_3_6-1, libphidgets_0_3_5-1, HEAD
Changes since 1.1: +1 -1 lines
Version 0.3.4-1
fixed reading of digitalinputs
fixed reading of digitaloutputs
Summary: Phidgets access library
Name: libphidgets
Version: 0.3.4
Release: 1
Source0: %{name}-%{version}.tar.gz
#  cvs -d :pserver:anoncvs@cvs.ailab.ch:/home/cvs/external login
#  cvs -z3 -d :pserver:anoncvs@cvs.ailab.ch:/home/cvs/external co libphidgets
Patch0: libphidgets-0.3.0-am_config_header.patch
License: Artistic License
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://libphidgets.alioth.debian.org
Requires: libusb
Requires: libhid
BuildRequires: libusb-devel
BuildRequires: libhid-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: swig
BuildRequires: docbook-utils
BuildRequires: ncurses-devel
##BuildRequires: doxygen
ExcludeArch: s390 s390x

%description
 libphidgets provides a generic and flexible way to access and interact with
 the various Phidget devices (http://www.phidgets.com). It is based on libhid
 and thus does not require HID support in the kernel.


%package devel
Summary: Development files for libphidgets.
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
 This package provides the development files and static library for libphidgets.
 You need this if you want to develop an application with libphidgets.

%prep
%setup -q
%patch0 -p1
rm -rf autom4te.cache
libtoolize --copy --force
aclocal -I m4
autoheader
automake --add-missing
autoconf

%build
%configure --disable-swig --without-doxygen     # disable swig and doxygen  for now
make CFLAGS="$CFLAGS"

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig


%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_bindir}/phidget-quadservo-calibrate
%{_libdir}/pkgconfig/libphidgets.pc
%{_mandir}/man1/phidget-quadservo-calibrate.1.gz



%files devel
%defattr(-,root,root)
%doc AUTHORS README NEWS ChangeLog
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la


%changelog
* Sun Jan 16 2005 Jason Watson <jason.watson@agrios.net> 0.3.0-1
- Initial RPM build


CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help