source: projects/specs/trunk/c/cdemu-client/cdemu-client-vl.spec @ 6150

Revision 6150, 2.2 KB checked in by kudoh, 12 years ago (diff)
Line 
1%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2%global python_module_name cdemu
3
4Summary: A simple command-line client to control CDEmu daemon
5Summary(ja): CDEmu デーモンを制御するシンプルなコマンドラインクライアント
6Name: cdemu-client
7Version: 1.5.0
8Release: 1%{?_dist_release}
9License: GPLv2+
10Group: Applications/Accessories
11URL: http://cdemu.sourceforge.net
12Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildArch: noarch
15
16BuildRequires: dbus-python-devel
17BuildRequires: gettext intltool
18BuildRequires: perl-XML-Parser
19#BuildRequires: python-devel
20
21%description
22This is cdemu-client, a simple command-line client for controlling CDEmu daemon.
23It is part of the userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator
24for linux.
25
26It provides a way to perform the key tasks related to controlling the CDEmu
27daemon, such as loading and unloading devices, displaying devices' status and
28retrieving/setting devices' debug masks.
29
30%prep
31%setup -q
32
33%build
34%{configure}
35%{__make} %{?_smp_mflags}
36
37%install
38%{__rm} -rf $RPM_BUILD_ROOT
39%{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41%find_lang cdemu-client
42
43%clean
44%{__rm} -rf $RPM_BUILD_ROOT
45
46%files -f cdemu-client.lang
47%defattr(-,root,root,-)
48%doc AUTHORS ChangeLog COPYING NEWS README
49#%dir %{python_sitelib}/%{python_module_name}/
50#%{python_sitelib}/%{python_module_name}/*.py*
51%config(noreplace) %{_sysconfdir}/bash_completion.d/cdemu-bashcomp
52%{_bindir}/*
53%{_datadir}/applications/cdemu-client.desktop
54%{_mandir}/man1/*
55
56
57%changelog
58* Sat May 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
59- new upstream release
60- changed atchive type gzip to bzip2
61- dropt BuildRequires: python-devel
62
63* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
64- new upstream release
65
66* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
67- new upstream release
68
69* Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
70- initial build for VineSeed
71
72* Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
73- Updated to 1.1.0
74
75* Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
76- Initial RPM release.
Note: See TracBrowser for help on using the repository browser.