Accepting request 240833 from home:XRevan86

OBS-URL: https://build.opensuse.org/request/show/240833
OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-client?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2014-07-14 11:50:32 +00:00 committed by Git OBS Bridge
parent 68c04c1077
commit 10d52c0e2b
4 changed files with 30 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:204e626994f61d36423f3b732e180e3b3b20624effdfe91aabffd439c76d3964
size 28474

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:359310a57422d5c59c8f93be0da827a2437edb1e62f455f5614089c28e34ae88
size 40300

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru
- Update to 3.0.0
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 24 11:31:22 UTC 2013 - jengelh@inai.de Sun Nov 24 11:31:22 UTC 2013 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cdemu-client # spec file for package cdemu-client
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,28 +17,21 @@
Name: cdemu-client Name: cdemu-client
Version: 2.1.1 Version: 3.0.0
Release: 0 Release: 0
Summary: Command-line client to control cdemu-daemon Summary: Command-line client to control cdemu-daemon
License: GPL-2.0+ License: GPL-2.0+
Group: System/Filesystems Group: System/Filesystems
Url: http://cdemu.sf.net/ Url: http://cdemu.sourceforge.net/about/client/
Source: %{name}-%{version}.tar.bz2
#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.5 BuildRequires: cmake >= 2.8.5
%if 0%{?suse_version}
BuildRequires: gettext-tools >= 0.15 BuildRequires: gettext-tools >= 0.15
%else
BuildRequires: gettext >= 0.15
%endif
BuildRequires: intltool >= 0.21 BuildRequires: intltool >= 0.21
BuildRequires: python >= 2.6 BuildRequires: python >= 2.6
BuildArch: noarch
Requires: dbus-1-python Requires: dbus-1-python
Requires: python >= 2.6 Requires: python >= 2.6
BuildArch: noarch
%description %description
cdemu-client is a command-line client for controlling cdemu-daemon. cdemu-client is a command-line client for controlling cdemu-daemon.
@ -47,27 +40,31 @@ It provides a way to perform the key tasks related to controlling the
CDEmu daemon, such as loading and unloading devices, displaying CDEmu daemon, such as loading and unloading devices, displaying
devices' status and retrieving/setting their debug masks. devices' status and retrieving/setting their debug masks.
%lang_package
%prep %prep
%setup -q %setup -q
mv po/no.po po/nb_NO.po;
%build %build
cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ cmake . \
-DCMAKE_INSTALL_LIBDIR:PATH="%_libdir"; -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
make %{?_smp_mflags}; -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir}
make %{?_smp_mflags}
%install %install
b="%buildroot"; %make_install
make install DESTDIR="$b";
%find_lang cdemu %find_lang cdemu
%files -f cdemu.lang %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README %doc AUTHORS COPYING NEWS README
%dir %_sysconfdir/bash_completion.d %dir %{_sysconfdir}/bash_completion.d/
%config %_sysconfdir/bash_completion.d/cdemu-client %config %{_sysconfdir}/bash_completion.d/cdemu-bash-completion.sh
%_bindir/cdemu %{_bindir}/cdemu
%_datadir/applications/cdemu-client.desktop %{_datadir}/applications/%{name}.desktop
%_mandir/man1/cdemu.1* %{_datadir}/pixmaps/%{name}.svg
%{_mandir}/man1/cdemu.1*
%files lang -f cdemu.lang
%changelog %changelog