Projects
Multimedia
winff
winff.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File winff.spec of Package winff (Revision 4)
Currently displaying revision
4
,
Show latest
# # spec file for package winff # # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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.links2linux.org/ Name: winff Version: 1.5.3 Release: 0 License: GPL-3.0+ Summary: Multimedia File Converter Url: http://winff.org Group: Productivity/Multimedia/Video/Editors and Convertors Source0: https://winff.googlecode.com/files/%{name}-%{version}-source.tar.gz Source1: winff.desktop Patch0: winff-64bit_build.patch BuildRequires: atk-devel BuildRequires: lazarus BuildRequires: update-desktop-files BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(pango) Requires: ffmpeg BuildRoot: %{_tmppath}/%{name}-%{version}-build %description WinFF is a GUI for the command line video converter, FFMPEG. It will convert any video file that FFmpeg will convert. WinFF does multiple files in multiple formats at one time. You can for example convert mpeg's, flv's, and mov's, all into avi's all at once. %lang_package %prep %setup -q -n %{name} %patch0 -p0 # rmove exec bits chmod a-x {README.txt,changelog.txt,AUTHORS,README-Presets.txt} %build lazbuild \ %ifarch x86_64 --cpu=x86_64 \ %endif --widgetset=gtk2 \ -B winff.lpr %install install -D -m 0755 winff "%{buildroot}%{_bindir}/winff" install -d -m 0755 "%{buildroot}%{_datadir}/winff" find . -name '*.xml' \ -exec install -D -m0644 {} "%{buildroot}%{_datadir}/winff/" \; install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" for s in 16 24 32 48; do install -D -m0644 "winff-icons/${s}x${s}/winff.png" \ "%{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/winff.png" done install -d -m0755 "%{buildroot}%{_datadir}/winff/languages" find . -name '*.po' -exec install -D -m0644 {} "%{buildroot}%{_datadir}/winff/languages/" \; %suse_update_desktop_file -r "%{name}" AudioVideo AudioVideoEditing L="$PWD/%{name}.lang"; echo -n >"$L" B="%{_datadir}/winff/languages" pushd "%{buildroot}$B" /bin/ls -1 winff.*.po | while read po; do l="${po%.po}" l="${l#winff.}" echo "%lang($l) $B/$po" >>"$L" done popd %files %defattr(-,root,root) %doc AUTHORS *.txt %{_bindir}/winff %dir %{_datadir}/winff %dir %{_datadir}/winff/languages %lang(en) %{_datadir}/winff/languages/winff.po %config %{_datadir}/winff/presets.xml %{_datadir}/icons/*/*/apps/winff.* %{_datadir}/applications/%{name}.desktop %files lang -f "%{name}.lang" %defattr(-,root,root) %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
.