Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37478519
en ru br
ALT Linux repos
S:1.3.1.10-alt1
5.0: 1.2.0.9-alt2.1
4.1: 1.2.0.9-alt2
3.0: 1.2.0.13-alt1

Group :: System/Libraries
RPM: libfpx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# based on PLD libfpx $Revision: 1.35 $, $Date: 2003/11/12 18:36:15 $
Summary: FlashPIX OpenSource Toolkit
Summary(pl): Biblioteka do obróbki obrazków FlashPIX
Name: libfpx
Version: 1.2.0.9
Release: alt2.1
License: distributable (see COPYING)
Group: System/Libraries
# Strange... [URL] says you can order it (for money) and doesn't contain any
# link, but sources can be freely redistributed. Can be found on any IM mirror.
Source0: ftp://ftp.simplesystems.org/pub/ImageMagick/delegates/%{name}-%{version}.tar.gz
URL: http://www.i3a.org/i_flashpix.html
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool >= 1.4.2
BuildRequires: libstdc++-devel gcc-c++
Provides: fpx

Patch: libfpx-1.2.0.9-linkage.patch

%if %_vendor == "alt"
# this package is for ALT Linux
%define rpmcleanbuildroot %nil
%else
# this package is for Fedora 5.x or later
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
%define rpmcleanbuildroot rm -rf $RPM_BUILD_ROOT
%endif

%description
FlashPIX OpenSource Toolkit is based on source obtained from the
Digital Imaging Group Inc. and includes a sample FlashPIX library
implementation contributed by Eastman Kodak Company.

%description -l pl
FlashPIX OpenSource Toolkit jest bazowany na źródłach uzyskanych od
Digital Imaging Group i zawiera przykładową implementację biblioteki
FlashPIX, do której przyczynił się Eastman Kodak Company.

%package devel
Summary: FlashPIX header file and documentation
Summary(pl): Plik nagłówkowy i dokumentacja do FlashPIX
Group: Development/C
Requires: %{name} = %{version}
Requires: libstdc++-devel
Obsoletes: fpx-devel
Obsoletes: libfpx-static

%description devel
FlashPIX header files and programmer's documentation.

%description devel -l pl
Plik nagłówkowy potrzebny do kompilowania programów korzystających z
biblioteki FlashPIX oraz dokumentacja do tej biblioteki.

%prep
%setup  -q
%patch -p1

cat >> README.alt <<EOF
============================================
Makefile.am was modified by viy at altlinux.org
to fix underlinkage problem.
EOF

%build
autoreconf -fisv
#%{__libtoolize}
#%{__aclocal}
#%{__autoconf}
#%{__automake}
%configure \
--disable-static \
--enable-fast-install
%{__make}

%install
%rpmcleanbuildroot

%{__make} install \
DESTDIR=$RPM_BUILD_ROOT

# clean up unpackaged files

rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib*.la


%clean
%rpmcleanbuildroot

%files
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/lib*.so.*

%files devel
%defattr(644,root,root,755)
%doc doc/*.pdf doc/readme.txt
%attr(755,root,root) %{_libdir}/lib*.so
#%{_libdir}/lib*.la
%{_includedir}/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin