[ti-uim] initial import

Peter Robinson pbrobinson at fedoraproject.org
Sun Mar 1 16:55:09 UTC 2015


commit 250cfc26a28dfd1722ef4774e702cec09e8a370a
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sun Mar 1 16:54:36 2015 +0000

    initial import

 .gitignore  |  1 +
 sources     |  1 +
 ti-uim.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..74c1afb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ti-uim-0-c21061f.tar.bz2
diff --git a/sources b/sources
index e69de29..c213909 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+00a3e248f3be0acb38a2b51f753ba9fb  ti-uim-0-c21061f.tar.bz2
diff --git a/ti-uim.spec b/ti-uim.spec
new file mode 100644
index 0000000..7a07ff6
--- /dev/null
+++ b/ti-uim.spec
@@ -0,0 +1,57 @@
+# We use the 96boards fork of uim as upstream is very stale, doesn't support a number 
+# of new udev/kernel features and has been widely patched. This fork just works.
+
+# Tarfile created using git
+# git clone https://github.com/96boards/uim
+# git archive --format=tar --prefix=%{name}-%{version}-%{gitrev}/ %{gitrev} | bzip2 > ~/%{name}-%{version}-%{gitrev}.tar.bz2
+%define gitrev c21061f
+
+Name:          ti-uim
+Version:       0
+Release:       0.1.%{gitrev}%{?dist}
+Summary:       Texas Instruments User Mode Init manager
+
+Group:         System Environment/Base
+License:       GPLv2
+URL:           http://omappedia.org/wiki/Device_Driver_Interface_of_WiLink_Solution
+Source0:       %{name}-%{version}-%{gitrev}.tar.bz2
+
+BuildRequires: systemd
+Requires: kmod
+
+%description
+Texas Instruments User Mode Init manager is used to initialise the TI shared
+transport on associated WiFi/BT/FM/GPS multi function radio chipsets.
+
+%prep
+%setup -q -n %{name}-%{version}-%{gitrev}
+
+%build
+make %{?_smp_mflags} V=1 all
+
+%install
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+mkdir -p %{buildroot}/%{_unitdir}/
+install -p -D -m 0644 systemd/system/ti-uim.service %{buildroot}/%{_unitdir}/
+mkdir -p %{buildroot}/usr/lib/udev/rules.d/
+install -p -D -m 0644 udev/rules.d/60-ti-uim.rules %{buildroot}/usr/lib/udev/rules.d/
+install -p -D -m 0644 modprobe.d/ti-uim.conf $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/ti-uim.conf
+
+%post
+%systemd_post ti-uim.service
+
+%preun
+%systemd_preun ti-uim.service
+
+%postun
+%systemd_postun_with_restart ti-uim.service
+
+%files
+%{_sbindir}/uim
+%{_unitdir}/ti-uim.service
+%{_sysconfdir}/modprobe.d/ti-uim.conf
+/usr/lib/udev/rules.d/60-ti-uim.rules
+
+%changelog
+* Mon Feb 16 2015 Peter Robinson <pbrobinson at fedoraproject.org> 0-0.1
+- Initial package


More information about the scm-commits mailing list