Bump to 0.1.5 78/32478/4 sandbox/jmartin/bump
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Thu, 13 Nov 2014 09:52:42 +0000 (10:52 +0100)
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Thu, 13 Nov 2014 09:52:42 +0000 (10:52 +0100)
Add packaging

Change-Id: Ibdc1818a14b54f56be0fbab884450edd95d43908
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
packaging/libusb-compat.changes [new file with mode: 0644]
packaging/libusb-compat.manifest [new file with mode: 0644]
packaging/libusb-compat.spec [new file with mode: 0644]

diff --git a/packaging/libusb-compat.changes b/packaging/libusb-compat.changes
new file mode 100644 (file)
index 0000000..1cb2a6c
--- /dev/null
@@ -0,0 +1,3 @@
+* Mon Oct 21 2013 Jacek Bukarewicz <j.bukarewicz@samsung.com> accepted/tizen/20130912.195513@bc9d5dc
+- Use %license for license files, rpmlint fixes
+
diff --git a/packaging/libusb-compat.manifest b/packaging/libusb-compat.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libusb-compat.spec b/packaging/libusb-compat.spec
new file mode 100644 (file)
index 0000000..ed66523
--- /dev/null
@@ -0,0 +1,79 @@
+#
+# spec file for package libusb-compat
+#
+# Copyright (c) 2012 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/
+#
+
+
+Name:           libusb-compat
+Url:            http://libusb.wiki.sourceforge.net/LibusbCompat0.1
+Summary:        libusb-1.0 Compatibility Layer for libusb-0.1
+License:        BSD-3-Clause and LGPL-2.1+
+Group:          System/Libraries
+Version:        0.1.5
+Release:        2
+Source:         %{name}-%{version}.tar.gz
+source1:               libusb-compat.manifest
+Source1001:    libusb-compat.manifest
+BuildRequires:  libtool
+BuildRequires:  pkgconfig(libusb-1.0)
+
+%description
+A compatibility layer allowing applications written for libusb-0.1 to
+work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell
+and walk like libusb-0.1.
+
+%package devel
+Summary:        libusb-1.0 Compatibility Layer for libusb-0.1
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A compatibility layer allowing applications written for libusb-0.1 to
+work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell
+and walk like libusb-0.1.
+
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+cp %{SOURCE1} .
+%configure\
+       --disable-static\
+       --disable-build-docs
+make %{?jobs:-j%jobs}
+
+%install
+%makeinstall
+rm %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog NEWS README
+%{_libdir}/*.so.*
+%license LICENSE COPYING
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_bindir}/*-config
+%{_includedir}/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc