Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
converseen
converseen.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File converseen.spec of Package converseen
# # spec file for package converseen # # 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: converseen Version: 0.6.4 Release: 0 Summary: Batch Image Conversion Tool License: GPL-3.0+ Group: Productivity/Graphics/Convertors Url: http://converseen.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: ImageMagick BuildRequires: cmake BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: pkgconfig(Magick++) BuildRequires: pkgconfig(MagickCore) BuildRequires: pkgconfig(MagickWand) BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtGui) Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Converseen is a batch image conversion tool. Converseen allows you to convert images in more than 100 different formats. With converseen you can: - Carry out a single or a multiple conversion. - Resize one or more images. - Compress images for your web pages. %lang_package %prep %setup -q cp README.md README chmod -x README COPYING %build mkdir build cd build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" cmake .. \ -DCMAKE_INSTALL_PREFIX=%{_prefix} make %{?_smp_mflags} VERBOSE=1 %install # Create desktop file because the original one is incorrect. cat > res/%{name}.desktop << EOF [Desktop Entry] Name=Converseen GenericName=Batch Image Converter GenericName[it]=Convertitore batch di immagini GenericName[ru]=Конвертер изображений Comment=Batch image converter Comment[it]=Convertitore batch di immagini Comment[ru]=Преобразование изображений Exec=converseen Icon=converseen Categories=Qt;Graphics;RasterGraphics; StartupNotify=true Terminal=false Type=Application EOF pushd build %make_install popd rm -rf \ %{buildroot}%{_datadir}/kde4 \ %{buildroot}%{_datadir}/pixmaps/%{name}.png for size in 256x256 128x128 96x96 64x64 48x48 32x32 22x22 16x16 ; do install -dm 0755 \ %{buildroot}%{_datadir}/icons/hicolor/${size}/apps convert -strip -resize ${size} res/%{name}.png \ %{buildroot}%{_datadir}/icons/hicolor/${size}/apps/%{name}.png done %find_lang %{name} --with-qt %suse_update_desktop_file %{name} %post %icon_theme_cache_post %postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc COPYING README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}.* %files lang -f %{name}.lang %defattr(-,root,root,-) %dir %{_datadir}/%{name}/ %changelog
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