source: projects/specs/trunk/g/gcdemu/gcdemu-vl.spec @ 11434

Revision 11434, 3.4 KB checked in by iwaim, 6 years ago (diff)

gcdemu 3.1.0-1

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 gcdemu
3
4Summary: A GNOME panel applet to control CDEmu daemon
5Summary(ja): CDEmu daemon を制御するための GNOME パネルアプレット
6Name: gcdemu
7Version: 3.1.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: cmake >= 2.8.5
17BuildRequires: dbus-python-devel
18BuildRequires: gettext >= 0.15
19BuildRequires: glib2-devel
20BuildRequires: intltool >= 0.21
21BuildRequires: desktop-file-utils
22
23Requires: cdemu-daemon
24Requires: desktop-file-utils
25
26%description
27This is gCDEmu, a GNOME applet for controlling CDEmu daemon. It is part of the
28userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux.
29
30It provides a graphic interface that allows performing the key tasks related to
31controlling the CDEmu daemon, such as loading and unloading devices, displaying
32devices' status and retrieving/setting devices' debug masks.
33
34In addition, applet listens to the signals emitted by CDEmu daemon and provides
35the notification via libnotify's notifications (provided that python bindings
36are installed).
37
38%prep
39%setup -q
40
41%build
42%{cmake} \
43  -DPOST_INSTALL_HOOKS=OFF \
44  .
45%{__make} %{?_smp_mflags}
46
47%install
48%{__rm} -rf $RPM_BUILD_ROOT
49%{__make} install DESTDIR=$RPM_BUILD_ROOT
50%find_lang gcdemu --with-gnome
51
52%clean
53%{__rm} -rf $RPM_BUILD_ROOT
54
55%pre
56glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
57
58%post
59if [ -x %{_bindir}/update-desktop-database ] ; then
60%{_bindir}/update-desktop-database %{_datadir}/applications
61fi
62glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
63
64%preun
65glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
66
67%postun
68if [ -x %{_bindir}/update-desktop-database ] ; then
69%{_bindir}/update-desktop-database %{_datadir}/applications
70fi
71
72%files -f gcdemu.lang
73%defattr(-,root,root,-)
74%doc AUTHORS ChangeLog COPYING NEWS README
75%{_bindir}/%{name}
76%{_datadir}/applications/*
77%{_datadir}/glib-2.0/schemas/net.sf.cdemu.gcdemu.gschema.xml
78%{_datadir}/pixmaps/*
79
80%changelog
81* Tue Jan 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.1.0-1
82- update to 3.1.0
83
84* Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.0.2-1
85- update to 3.0.2
86
87* Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
88- new upstream release
89- changed atchive type gzip to bzip2
90- deleted unrecognized option: --disable-schemas-install
91
92* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
93- new upstream release
94- fixed configure option
95  - deleted --disable-scrollkeeper
96
97* Fri Nov 19 2010 IWAI, Masaharu <iwai@alib.jp> - 1.3.0-2
98- add BuildRequires: gnome-doc-utils >= 0.3.2
99
100* Fri Sep 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
101- new upstream release
102
103* Sun Feb 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-2
104- rebuilt with python-2.6.4
105- update BuildRequires
106- update post and postun scripts
107
108* Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
109- initial build for VineSeed
110
111* Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
112- Updated to 1.1.0
113
114* Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
115- Initial RPM release.
Note: See TracBrowser for help on using the repository browser.