-
Notifications
You must be signed in to change notification settings - Fork 42
/
morituri.spec.in
83 lines (62 loc) · 2.41 KB
/
morituri.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
%define pyver %(%{__python} -c "import sys; print sys.version[:3]")
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: morituri
Version: @PACKAGE_VERSION@
Release: @PACKAGE_VERSION_RELEASE@%{?dist}
Summary: CD ripper
Source: http://thomas.apestaart.org/download/morituri/%{name}-%{version}.tar.bz2
URL: https://thomas.apestaart.org/morituri/trac/
License: GPLv3
Group: Applications/Archiving
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: pygobject2
BuildRequires: gstreamer-python
BuildRequires: python-setuptools
Requires: cdparanoia
Requires: cdrdao > 1.2.3-0.rc2.2
Requires: gstreamer-plugins-good >= 0.10.16
Requires: gstreamer-python
Requires: python-musicbrainz2
Requires: python-CDDB
Requires: pycdio
Requires: pyxdg
# we use parse_version in code
Requires: python-setuptools
%description
Morituri is a CD ripper.
%prep
%setup -q
PATH=/usr/bin:/bin:\$PATH %configure --sysconfdir=%{_sysconfdir}
%build
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_libdir}/morituri/plugins
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README morituri.doap NEWS RELEASE ChangeLog
%{_bindir}/rip
%{_libdir}/morituri/plugins
%{_mandir}/man1/rip.1*
%{python_sitelib}/morituri
%{_sysconfdir}/bash_completion.d/rip
%changelog
* Thu Jul 24 2014 Thomas Vander Stichele <thomas at apestaart dot org>
- add a hack to make the build pick up /usr/bin/python for python instead
* Sun Jan 20 2013 Thomas Vander Stichele <thomas at apestaart dot org>
- put rip completion file directly in package, not parent dir
* Sun Jan 20 2013 Thomas Vander Stichele <thomas at apestaart dot org>
- Added python-setuptools now that we use it for plugins
* Sun Dec 02 2012 Thomas Vander Stichele <thomas at apestaart dot org>
- Require pyxdg for XDG config file.
* Sun Jan 09 2011 Thomas Vander Stichele <thomas at apestaart dot org>
- Fix URL
* Sun May 23 2010 Thomas Vander Stichele <thomas at apestaart dot org>
- Add python-setuptools requirement
* Sun Sep 06 2009 Thomas Vander Stichele <thomas at apestaart dot org>
- added requires
* Wed May 20 2009 Thomas Vander Stichele <thomas at apestaart dot org>
- created package