Projects
Multimedia
devede
devede.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File devede.spec of Package devede (Revision 10)
Currently displaying revision
10
,
Show latest
# vim: set sw=4 ts=4 et: # Copyright (c) 2006-2010 oc2pus # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments to packman@links2linux.de Name: devede Summary: Video DVD creator Version: 3.22.0 Release: 0.pm.1 License: GPL 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dvdauthor Requires: mkisofs Requires: MPlayer %if %suse_version >= 1110 Requires: python-base %else Requires: python %endif Requires: python-gtk >= 2.17 Requires: vcdimager BuildRequires: python-devel BuildRequires: python-gtk >= 2.17 BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildArch: noarch BuildRequires: dvdauthor BuildRequires: mkisofs BuildRequires: MPlayer Recommends: ffmpeg %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 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|/usr/share/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/*~ %clean %{?buildroot:%__rm -rf "%{buildroot}"} %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
.