Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics
metapixel
metapixel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File metapixel.spec of Package metapixel
# # spec file for package metapixel # # Copyright (c) 2014 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: metapixel Version: 1.0.2 Release: 0 Summary: Photo mosaic generator License: GPL-2.0 Group: Applications/Multimedia Url: http://www.complang.tuwien.ac.at/~schani/metapixel/ # repacked from http://www.complang.tuwien.ac.at/~schani/metapixel/files/%{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-1.0.2-makefile.patch # copied from https://raw.githubusercontent.com/iwamatsu/libpng15-transition/master/patches/metapixel.patch Patch1: %{name}-1.0.2-png.patch # copied from http://code.ohloh.net/file?fid=QtuochmCu1kdBKUfrqMq2KnQt4E&cid=AehR-nMBtuo Patch2: %{name}-1.0.2-giflib-5.0.patch BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Metapixel is a program for generating photomosaics. It can generate classical photomosaics, in which the source image is viewed as a matrix of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images. %prep %setup -q %patch0 %patch1 -p1 %patch2 -p0 %build make %{?_smp_mflags} CFLAGS="%{optflags}" %install make install DESTDIR=%{buildroot} chmod 0644 %{buildroot}%{_mandir}/man1/metapixel.1* %files %defattr(-, root, root, 0775) %doc COPYING README %doc %{_mandir}/man1/metapixel.1.gz %{_bindir}/metapixel %{_bindir}/metapixel-imagesize %{_bindir}/metapixel-prepare %{_bindir}/metapixel-sizesort %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