LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File qwinff.spec of Package qwinff (Project multimedia:apps)

#
# spec file for package qwinff
#
# Copyright (c) 2010 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/
#
# norootforbuild

Name:           qwinff
Version:        0.1.9
Release:        0
Summary:        An intuitive media converter gui

License:        GPLv3
URL:            http://code.google.com/p/qwinff/
Source0:        qwinff_%{version}.tar.bz2
Patch0:         pkgconfig_gtk.patch
Group:          Productivity/Multimedia/Video/Editors and Convertors
BuildRequires:  libqt4-devel
BuildRequires:  gtk2-devel
BuildRequires:  pkgconfig(libnotify)
Requires:       ffmpeg
Requires:       sox
# BuildArch:      noarch

%description
QWinFF is a cross-platform, easy-to-use media converter frontend to FFmpeg.
FFmpeg is a powerful command-line utility to convert audio and video file into numerous formats.
QWinFF features a rich set of presets to help users use FFmpeg easily without having
to manually input command-line flags.
Average users can convert multiple media files in just a few clicks,
while advanced users can still adjust conversion parameters in detail. 

If you find problems with the program or you have any suggestions,
please report them in the Issues tab or e-mail to lzh9102@gmail.com. 

QWinFF is written in Qt4/C++ and currently runs on Linux and Windows. 

QWinFF needs translators. It would be very nice if you could translate QWinFF into other languages.
The translation file of QWinFF is hosted on transifex (https://www.transifex.com/projects/p/qwinff/).
To translate QWinFF on Transifex, it is required to register for a Transifex account.
If you want to translate QWinFF offline, please download the latest translation file from http://qwinff.blogspot.tw/p/downloads.html. Once you are done, please mail the translation file to me and I will include it in the next release.

%prep
%setup -n qwinff-%{version}
%patch0

%build

%if 0%{?fedora}
QMAKE=qmake-qt4
LRELEASE=lrelease-qt4
%else
QMAKE=qmake
LRELEASE=lrelease
%endif
make QMAKE=$QMAKE LRELEASE=$LRELEASE USE_LIBNOTIFY=1 %{?jobs:-j %jobs}

%install
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/qwinff
%{_datadir}/applications/qwinff.desktop
%{_datadir}/pixmaps/qwinff.png
%dir %{_datadir}/qwinff
%{_datadir}/qwinff/presets.xml
%{_datadir}/qwinff/constants.xml
%dir %{_datadir}/qwinff/translations
%{_datadir}/qwinff/translations/*.qm
%{_mandir}/man1/qwinff.1.gz
%doc CHANGELOG.txt COPYING.txt COPYING-v3.txt INSTALL.txt README.txt

%changelog
* Tue Sep 10 2013 - lzh9102@gmail.com
  Update to version 0.1.9
* Wed Feb 13 2013 - lzh9102@gmail.com
- Update to version 0.1.8
* Fri Aug 31 2012 - lzh9102@gmail.com
- Update Czech translation
* Fri Aug 17 2012 - lzh9102@gmail.com
- New Feature: Shutdown computer when all tasks are done.
- Add several ffmpeg presets that don't give extra arguments.
* Thu Jun 21 2012 - lzh9102@gmail.com
- Update to version 0.1.4
- Minor gui improvements
* Thu Feb 9 2012 - lzh9102@gmail.com
- Updated to version 0.1.2
* Thu Feb 9 2012 - lzh9102@gmail.com
- Initial package, version 0.1.1