OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 28-Sep-2007 21:07:23 Branch: HEAD Handle: 2007092820072200 Added files: openpkg-src/pecomato pecomato.spec Log: new package: pecomato 0.0.14 (Picture-Embedded Contents Manipulation Tool) Summary: Revision Changes Path 1.1 +114 -0 openpkg-src/pecomato/pecomato.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/pecomato/pecomato.spec ============================================================================ $ cvs diff -u -r0 -r1.1 pecomato.spec --- /dev/null 2007-09-28 21:04:09 +0200 +++ pecomato.spec 2007-09-28 21:07:23 +0200 @@ -0,0 +1,114 @@ +## +## pecomato.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/> +## Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/> +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: pecomato +Summary: Picture-Embedded Contents Manipulation Tool +URL: http://www.mollux.org/projects/pecomato/ +Vendor: Tristan Chabredier +Packager: OpenPKG Foundation e.V. +Distribution: OpenPKG Community +Class: EVAL +Group: Graphics +License: GPL +Version: 0.0.14 +Release: 20070928 + +# list of sources +Source0: http://www.mollux.org/projects/pecomato/download/sources/pecomato-%{version}.tar.bz2 + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc +PreReq: OpenPKG, openpkg >= 20060823 +AutoReq: no +AutoReqProv: no + +%description + PECoMaTo stands for Picture-Embedded Contents Manipulation Tool. + + It is basically designed to display any kind of information embedded + in picture files, as well as checking, filtering, extracting, re- + moving, adding and fixing such information. In other words, it's a + metadata processor. + + It supports the following file formats: JPEG/JFIF, Adobe PSD and + FFO, raw IPTC. And it knows about the following metadata formats: + JFIF, IPTC, Exif, Adobe and Fotostation. More file and metadata + formats might be supported later (TIFF, Adobe-specific metadata + including XMP, etc.). + + One of its main goals is to check the validity of parsed metadata + as well as optionally check the strict compliance to official + standards. On another hand, it aims to provide ways of fixing broken + or not compliant chunks as well as providing general basic functions + to manipulate the metadata. + +%track + prog pecomato = { + version = %{version} + url = http://www.mollux.org/projects/pecomato/ + regex = pecomato-(__VER__)\.tar\.bz2 + } + +%prep + %setup -q + +%build + # determine platform-specific Makefile + makefile="Makefile.unix" + case "%{l_platform -t}" in + *-linux* ) makefile="Makefile.linux" ;; + esac + + # build pecomato + %{l_make} %{l_mflags} -f $makefile clean all \ + CC="%{l_cc}" \ + PREFIX="%{l_prefix}" + +%install + rm -rf $RPM_BUILD_ROOT + + # determine platform-specific Makefile + makefile="Makefile.unix" + case "%{l_platform -t}" in + *-linux* ) makefile="Makefile.linux" ;; + esac + + # install pecomato + %{l_make} %{l_mflags} -f $makefile install-dirs install-bin \ + PREFIX="$RPM_BUILD_ROOT%{l_prefix}" + + # strip installation + rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc >/dev/null 2>&1 || true + strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true + + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org