Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 9ab61d55c900bfefd98760c820b47180 > files > 2

metapixel-1.0.2-2mdv2010.1.src.rpm


%define name	metapixel
%define version	1.0.2
%define rel	2

Summary:	Photomosaic generator
Name:		%{name}
Version:	%{version}
Release:	%mkrel %{rel}
License:	GPLv2+
Group:		Graphics
URL:		http://www.complang.tuwien.ac.at/schani/metapixel/
Source:		http://www.complang.tuwien.ac.at/schani/metapixel/files/metapixel-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-root
BuildRequires:	ungif-devel
BuildRequires:	jpeg-devel
BuildRequires:	png-devel
BuildRequires:	zlib-devel

%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

%build
%make OPTIMIZE="%{optflags}"

%install
rm -rf %{buildroot}
install -d -m755 %{buildroot}%{_mandir}/man1
make install BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README NEWS metapixelrc
%{_bindir}/metapixel*
%{_mandir}/man1/metapixel.1*



%changelog
* Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.0.2-2mdv2010.0
+ Revision: 430020
- rebuild

* Sat Dec 22 2007 Anssi Hannula <anssi@mandriva.org> 1.0.2-1mdv2008.1
+ Revision: 136826
- initial Mandriva release