rpms/libusb1/devel libusb1.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Mon May 26 18:51:52 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/libusb1/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29512/devel

Modified Files:
	.cvsignore sources 
Added Files:
	libusb1.spec 
Log Message:
- initial import



--- NEW FILE libusb1.spec ---
Summary: A library which allows userspace access to USB devices
Name: libusb1
Version: 0.9.0
Release: 0.4%{?dist}
Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
License: LGPLv2+
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://libusb.wiki.sourceforge.net/Libusb1.0
ExcludeArch: s390 s390x
BuildRequires: doxygen

%description
This package provides a way for applications to access USB devices. Note that
this library is not compatible with the original libusb-0.1 series.

%package devel
Summary: Development files for libusb
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%description devel
This package contains the header files, libraries  and documentation needed to
develop applications that use libusb1.

%package static
Summary: Static development files for libusb
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}

%description static
This package contains static libraries to develop applications that use libusb1.

%prep
%setup -q -n libusb-%{version}

%build
%configure
make CFLAGS="$RPM_OPT_FLAGS"
pushd doc
make docs
popd

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

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


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

%files devel
%defattr(-,root,root)
%doc doc/html examples/*.c
%{_libdir}/pkgconfig/libusb-1.0.pc
%{_includedir}/*
%{_libdir}/*.so

%files static
%defattr(-,root,root)
%{_libdir}/*.a

%changelog
* Mon May 26 2008 Jindrich Novy <jnovy at redhat.com> 0.9.0-0.4
- update to official beta

* Thu May 23 2008 Jindrich Novy <jnovy at redhat.com> 0.9.0-0.3.gitbef33bb
- update comment on how the tarball was created
- use abbreviated git hash within package name to avoid conflicts
- add to %%description that libusb1 is incompatible with libsub-0.1

* Thu May 22 2008 Jindrich Novy <jnovy at redhat.com> 0.9.0-0.2.gitbef33bb
- add info on how the snapshot tarball was created

* Wed May 21 2008 Jindrich Novy <jnovy at redhat.com> 0.9.0-0.1.gitbef33bb
- use proper version to denote it is a git snapshot

* Thu May 15 2008 Jindrich Novy <jnovy at redhat.com> 0.9.0-0.1
- initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libusb1/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 May 2008 17:18:14 -0000	1.1
+++ .cvsignore	26 May 2008 18:51:13 -0000	1.2
@@ -0,0 +1 @@
+libusb-0.9.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libusb1/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 May 2008 17:18:14 -0000	1.1
+++ sources	26 May 2008 18:51:13 -0000	1.2
@@ -0,0 +1 @@
+a23f06379e05f04a77aec1c1428082a0  libusb-0.9.0.tar.bz2




More information about the fedora-extras-commits mailing list