From 1aac0e73e985483b003706cbcbfefa9d2a2254da Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Tue, 18 Nov 2014 10:35:44 -0800 Subject: [PATCH] Initial packaging. Change-Id: I28709b834f0dac62ec88cae8464532e29a534806 Signed-off-by: Ossama Othman --- .gbs.conf | 3 +++ COPYING | 3 +++ packaging/can-utils.changes | 3 +++ packaging/can-utils.manifest | 5 +++++ packaging/can-utils.spec | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 .gbs.conf create mode 100644 COPYING create mode 100644 packaging/can-utils.changes create mode 100644 packaging/can-utils.manifest create mode 100644 packaging/can-utils.spec diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..fa9fdc5 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = ${upstreamversion} diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..0c6f6c4 --- /dev/null +++ b/COPYING @@ -0,0 +1,3 @@ +Several licenses - e.g. (GPL-2.0 or BSD-3-Clause) and GPL-2.0+ - are +in effect for the can-utils binaries. See the respective source for +each of the can-utils binary in question to determine the license. diff --git a/packaging/can-utils.changes b/packaging/can-utils.changes new file mode 100644 index 0000000..0423dde --- /dev/null +++ b/packaging/can-utils.changes @@ -0,0 +1,3 @@ +* Tue Nov 18 2014 Ossama Othman a3fea52 +- Initial packaging. + diff --git a/packaging/can-utils.manifest b/packaging/can-utils.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/can-utils.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/can-utils.spec b/packaging/can-utils.spec new file mode 100644 index 0000000..51123b4 --- /dev/null +++ b/packaging/can-utils.spec @@ -0,0 +1,32 @@ +Name: can-utils +Summary: CAN userspace utilities and tools +Version: 0.1 +Release: 1 +Group: Automotive/Hardware Adaption +License: (GPL-2.0 or BSD-3-Clause) and GPL-2.0+ +URL: https://gitorious.org/linux-can/can-utils/ +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +%description +CAN (controller area network) bus userspace utilities and tools. + + +%prep +%setup -q -n %{name}-%{version} +cp %{SOURCE1001} . + +%build +%autogen +%configure +make %{?_smp_mflags} + +%install +%make_install + +%clean + +%files +%manifest %{name}.manifest +%license COPYING +%{_bindir}/* -- 2.7.4