Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
multimedia:apps
devede
devede.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File devede.spec of Package devede
# # spec file for package devede # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 Summary: A video DVD creator License: GPL-3.0+ Group: Productivity/Multimedia/Video/Editors and Convertors %define gtk2_version %(rpm -q --qf '%{VERSION}' gtk2-devel | cut -d. -f1-2) Version: 3.23.0 Release: 0 Url: http://www.rastersoft.com/programas/devede.html Source0: devede-%{version}.tar.bz2 Source1: devede-icons.tar.bz2 Source2: devede-backgrounds.tar.bz2 Source3: devede.desktop Patch0: devede-widescreen_menu.patch Patch1: devede-install_lang.patch Patch2: devede-size.patch Requires: MPlayer Requires: devede-lang = %{version}-%{release} Requires: dvdauthor Requires: /usr/bin/mkisofs Requires: python-base Requires: python-gtk Requires: vcdimager Recommends: ffmpeg BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gtk2-devel BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Prefix: /usr %description DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables for home players, from any number of video files, in any of the formats supported by Mplayer. The big advantage over other utilities is that it only needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and Python, PyGTK and PyGlade), so its dependencies are really small. Author: Sergio Costas <raster@rastersoft.com> %lang_package %prep %setup -q -n devede-%{version} cp -f %{S:3} devede.desktop tar -xvjf %{S:1} pushd pixmaps/backgrounds rm default_bg.png tar -xvjf %{S:2} popd %patch0 %patch1 %patch2 find . -type f -exec sed -i -e 's|lib="gtk+" version="2.14"|lib="gtk+" version="%{gtk2_version}"|g' {} \; find . -type f -exec sed -i -e 's|lib="gtk+" version="2.16"|lib="gtk+" version="%{gtk2_version}"|g' {} \; sed -i -e 's|/usr/share/doc/devede|%{_docdir}/devede|g' devede.py dos2unix docs/html/*.html %build %install ./install.sh \ --uninstall=no \ --targeted=yes \ --DESTDIR=%{buildroot} \ --prefix=%{_prefix} \ --libdir=%{_prefix}/lib \ --docdir=%{_docdir} install -D -m644 devede-64.png %buildroot%{_datadir}/icons/hicolor/64x64/apps/devede.png install -D -m644 devede-48.png %buildroot%{_datadir}/icons/hicolor/48x48/apps/devede.png install -D -m644 devede-32.png %buildroot%{_datadir}/icons/hicolor/32x32/apps/devede.png rm -rf %buildroot%{_datadir}/pixmaps rm -f %buildroot%{_docdir}/devede/html/menu.html~ %fdupes %buildroot %find_lang devede %clean rm -rf %buildroot %files %defattr(-,root,root) %{_bindir}/devede %{_bindir}/devede-debug %{_bindir}/devede_debug %{_prefix}/lib/devede/ %{_datadir}/devede/ %{_datadir}/applications/devede.desktop %{_datadir}/icons/hicolor/ %doc %{_docdir}/devede %files lang -f devede.lang
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor