Projects
home:Fisiu:branches:Multimedia
devede
devede.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File devede.spec of Package devede
# # spec file for package devede # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2006-2010 oc2pus # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: devede Version: 3.23.0 Release: 0 Summary: Video DVD creator License: GPL-3.0+ Group: Productivity/Multimedia/Video/Editors and Convertors Url: http://www.rastersoft.com/programas/devede.html Source: http://www.rastersoft.com/descargas/%{name}-%{version}.tar.bz2 Patch1: devede-gtk-2.20.patch Patch2: fix-filefolder-is-None.patch BuildRequires: MPlayer BuildRequires: dvdauthor BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: python-devel BuildRequires: python-gtk >= 2.17 BuildRequires: update-desktop-files Requires: MPlayer Requires: dvdauthor Requires: /usr/bin/mkisofs Requires: python-gtk >= 2.17 Requires: vcdimager Recommends: ffmpeg BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %if 0%{?suse_version} >= 1110 Requires: python-base %else Requires: python %endif %if 0%{?suse_version} <= 1230 || 0%{?suse_version} >= 1320 BuildRequires: mkisofs %else BuildRequires: cdrkit-cdrtools-compat %endif %description DeVeDe is a program that allows you to create a video DVD from an MPEG, AVI, MOV... video file, suitable for home DVD players. DeVeDe uses MPlayer, Mencoder, DVDAuthor and VCDimager, so you can use any video playable with MPlayer. %lang_package %prep %setup -q %patch1 %patch2 find . -type f -name '*~' -exec rm {} \; sed -i -e 's/\r$//' docs/html/psf.html chmod 644 docs/html/psf.html sed -i -e 's|%{_datadir}/doc/devede|%{_docdir}/%{name}|g' \ %{name}.py # note: devede is always looking in /usr/lib even on 64bit machines ... sed -i -e 's|sys.path.append("/usr/lib/devede")|sys.path.append("/usr/share/devede")|g' \ %{name}.py grep -rl /usr/local . | grep '\.py$' | xargs perl -p -i -e 's,/usr/local,%{_prefix},g' %build python ./setup.py build %install python ./setup.py install \ --prefix="%{_prefix}" \ --root=%{buildroot} \ --record-rpm=files.lst perl -n -i -e 'print unless m,^%dir\s+%{_datadir}/(pixmaps|applications)/*$,' files.lst rm -rf "%{buildroot}%{_datadir}/doc" perl -n -i -e 'print unless m,^(?:%dir\s+)?%{_datadir}/doc,' files.lst install -D -m0644 devede.svg "%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg" %suse_update_desktop_file -r "%{name}" AudioVideo AudioVideoEditing %find_lang %{name} perl -n -i -e 'print unless m,^%{_datadir}/locale,' files.lst %fdupes -s '%{buildroot}%{_datadir}/' rm -f docs/html/*~ %files lang -f %{name}.lang %defattr(-,root,root) %files -f files.lst %defattr(-,root,root) %doc changes.txt docs/copyright docs/html %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.