From 5e3884368c93fe304a7a84261b3aea871722dbc3cc4e2b2e5c25e5688f03b4f1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 21 May 2012 17:31:30 +0000 Subject: [PATCH] Accepting request 116804 from home:jengelh:dev cdemu suite OBS-URL: https://build.opensuse.org/request/show/116804 OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-client?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ cdemu-client-1.5.0.tar.bz2 | 3 ++ cdemu-client.changes | 4 +++ cdemu-client.spec | 63 ++++++++++++++++++++++++++++++++++++++ cdemu-lang.diff | 31 +++++++++++++++++++ 5 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 cdemu-client-1.5.0.tar.bz2 create mode 100644 cdemu-client.changes create mode 100644 cdemu-client.spec create mode 100644 cdemu-lang.diff diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/cdemu-client-1.5.0.tar.bz2 b/cdemu-client-1.5.0.tar.bz2 new file mode 100644 index 0000000..c38d763 --- /dev/null +++ b/cdemu-client-1.5.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4d7e3d232f799830c1c480d69f8789468552602e2737b0b0207f4d449095f99 +size 97987 diff --git a/cdemu-client.changes b/cdemu-client.changes new file mode 100644 index 0000000..1466eb4 --- /dev/null +++ b/cdemu-client.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed May 9 04:35:46 UTC 2012 - jengelh@inai.de + +- Initial package for build.opensuse.org diff --git a/cdemu-client.spec b/cdemu-client.spec new file mode 100644 index 0000000..8c6a6b1 --- /dev/null +++ b/cdemu-client.spec @@ -0,0 +1,63 @@ +# +# spec file for package cdemu-client +# +# 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: cdemu-client +Version: 1.5.0 +Release: 0 +Summary: Command-line client to control cdemu-daemon +License: GPL-2.0+ +Group: System/Filesystems +Url: http://cdemu.sf.net/ + +Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 +Patch1: cdemu-lang.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#BuildRequires: autoconf >= 2.59 +BuildRequires: intltool +BuildArch: noarch +Requires: python dbus-1-python + +%description +cdemu-client is a command-line client for controlling cdemu-daemon. + +It provides a way to perform the key tasks related to controlling the +CDEmu daemon, such as loading and unloading devices, displaying +devices' status and retrieving/setting their debug masks. + +%prep +%setup -q +mv po/no.po po/nb_NO.po +%patch -P 1 -p1 + +%build +%configure +make %{?_smp_mflags}; + +%install +b="%buildroot"; +make install DESTDIR="$b"; +%find_lang %name + +%files -f %name.lang +%defattr(-,root,root) +%doc README +%dir %_sysconfdir/bash_completion.d +%config %_sysconfdir/bash_completion.d/cdemu-bashcomp +%_bindir/cdemu +%_datadir/applications/cdemu-client.desktop +%_mandir/man1/cdemu.1* + +%changelog diff --git a/cdemu-lang.diff b/cdemu-lang.diff new file mode 100644 index 0000000..6e95b8d --- /dev/null +++ b/cdemu-lang.diff @@ -0,0 +1,31 @@ +--- + configure | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +Index: cdemu-client-1.5.0/configure +=================================================================== +--- cdemu-client-1.5.0.orig/configure ++++ cdemu-client-1.5.0/configure +@@ -4236,7 +4236,7 @@ fi + + + # Internationalization +-ALL_LINGUAS="de fr no sl sv pl" ++ALL_LINGUAS="de fr nb_NO sl sv pl" + + GETTEXT_PACKAGE=cdemu-client + +Index: cdemu-client-1.5.0/configure.ac +=================================================================== +--- cdemu-client-1.5.0.orig/configure.ac ++++ cdemu-client-1.5.0/configure.ac +@@ -20,7 +20,7 @@ AM_MAINTAINER_MODE + AC_PROG_INTLTOOL([0.21]) + + # Internationalization +-ALL_LINGUAS="de fr no sl sv pl" ++ALL_LINGUAS="de fr nb_NO sl sv pl" + + GETTEXT_PACKAGE=cdemu-client + AC_SUBST(GETTEXT_PACKAGE)