[libsigrok] Initial import (#865976).
Alex G
mrnuke at fedoraproject.org
Thu Mar 14 12:37:38 UTC 2013
commit 497cd11c65ad1b855d807836a6509259303867dd
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date: Wed Mar 13 15:01:35 2013 -0500
Initial import (#865976).
.gitignore | 1 +
libsigrok.spec | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 102 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b11ad34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libsigrok-0.1.1.tar.gz
diff --git a/libsigrok.spec b/libsigrok.spec
new file mode 100644
index 0000000..76d1789
--- /dev/null
+++ b/libsigrok.spec
@@ -0,0 +1,100 @@
+Name: libsigrok
+Version: 0.1.1
+Release: 2%{?dist}
+Summary: Basic hardware access drivers for logic analyzers
+# Combined GPLv3+ and GPLv2+ and BSD
+License: GPLv3+
+URL: http://www.sigrok.org/
+Source0: http://downloads.sourceforge.net/sigrok/%{name}-%{version}.tar.gz
+
+BuildRequires: glib2-devel
+BuildRequires: libzip-devel
+BuildRequires: zlib-devel
+BuildRequires: libudev-devel
+BuildRequires: libusb1-devel
+BuildRequires: libftdi-devel
+BuildRequires: doxygen
+BuildRequires: graphviz
+
+%description
+%{name} is a shared library written in C which provides the basic API for
+talking to logic analyzer hardware and reading/writing the acquired data into
+various input/output file formats.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%package doc
+Group: Documentation
+Summary: API documentation for %{name}
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+The %{name}-doc package contains documentation for developing software
+with %{name}.
+
+%prep
+%setup -q
+
+
+%build
+# "alsa" and "link-mso19" are incomplete drivers, and do not compile
+%configure --disable-static \
+ --disable-alsa \
+ --enable-asix-sigma \
+ --enable-chronovu-la8 \
+ --enable-fx2lafw \
+ --enable-demo \
+ --disable-link-mso19 \
+ --enable-ols \
+ --enable-zeroplus-logic-cube
+make %{?_smp_mflags}
+
+# This builds documentation for the -doc package
+# A few warnings are generated by doxygen, which should be fixed in the next
+# upstream release
+doxygen Doxyfile
+
+
+%install
+rm -rf %{buildroot}
+%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc README NEWS COPYING ChangeLog
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%files doc
+%defattr(-,root,root,-)
+%doc doxy/html/
+
+%changelog
+* Sat Dec 01 2012 Alexandru Gagniuc <mr.nuke.me at gmail.com> - 0.1.1-2
+- Add comment explaining chioce of license
+- Removed _missing_build_ids_terminate_build undef
+- Add comment explaining doxygen warnings
+
+* Wed Oct 10 2012 Alexandru Gagniuc mr.nuke.me[at]gmail[dot]com - 0.1.1-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..b61d2ca 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+285c0b69aa3d36a431bf752c4f70c755 libsigrok-0.1.1.tar.gz
More information about the scm-commits
mailing list