63 lines
1.6 KiB
RPMSpec
63 lines
1.6 KiB
RPMSpec
%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: %{name}-%{version}.tar.bz2
|
|
URL: http://thomas.apestaart.org/thomas/trac/
|
|
License: GPLv3
|
|
Group: Applications/Archiving
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: pygobject2
|
|
BuildRequires: gstreamer-python
|
|
|
|
Requires: cdparanoia
|
|
Requires: cdrdao > 1.2.3-0.rc2.2
|
|
Requires: gstreamer-plugins-good >= 0.10.16
|
|
Requires: gstreamer-python
|
|
Requires: python-musicbrainz2
|
|
Requires: pycdio
|
|
|
|
# we use parse_version in code
|
|
Requires: python-setuptools
|
|
|
|
%description
|
|
Morituri is a CD ripper.
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
%configure --sysconfdir=%{_sysconfdir}
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README morituri.doap NEWS RELEASE ChangeLog
|
|
%{_bindir}/rip
|
|
%{_mandir}/man1/rip.1*
|
|
%{python_sitelib}/morituri
|
|
%{_sysconfdir}/bash_completion.d/rip
|
|
|
|
%changelog
|
|
* 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
|