Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37812374
en ru br
ALT Linux repositórios
S:1.7.0-alt3.beta89
5.0: 1.2.35-alt1
4.1: 1.2.27-alt1.M41.2
4.0: 1.2.27-alt1

Group :: Sistema/Bibliotecas
RPM: libpng

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define sover 17
%define betaver 89

Name: libpng
Version: 1.7.0
Release: alt3.beta%betaver

Summary: A library of functions for manipulating PNG image format files
License: %name-2.0
Group: System/Libraries

Url: http://www.%name.org/pub/png/
Packager: Nazarov Denis <nenderus at altlinux.org>

# ftp://ftp-osl.osuosl.org/pub/%name/src/beta/%name%sover/%name-%{version}beta%betaver.tar.xz

Source: %name-%{version}beta%betaver.tar

BuildRequires: pkgconfig(zlib)

%description
%name is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.

This package contains the runtime library files needed to run software
using %name.

%package -n %name%sover
Summary: A library of functions for manipulating PNG image format files
Group: System/Libraries

%description -n %name%sover
%name is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.

This package contains the runtime library files needed to run software
using %name.

%package -n %name%sover-devel
Summary: PNG development library
Group: Development/C
Requires: pkgconfig(zlib)
Conflicts: %name-devel
Conflicts: %{name}12-devel
Conflicts: %{name}15-devel

%description -n %name%sover-devel
%name is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.

This package contains the header and development files needed to build
programs and packages using %name.

%package -n %name%sover-tools
Summary: Tools for Manipulating PNG Images
Group: Development/Tools

%description -n %name%sover-tools
Package consists of low level tools for manipulating and fixing particular
PNG files.

%prep
%setup -n %name-%{version}beta%betaver

%build
%autoreconf
%configure --disable-static
%make_build

%install
%makeinstall_std
rm %buildroot%_libdir/lib*.la
rm -rf %buildroot%_man5dir

%filter_from_provides /^pkgconfig(%name)/d

%check
%make_build -k check VERBOSE=1

%files -n %name%sover
%_libdir/*.so.*

%files -n %name%sover-devel
%doc ANNOUNCE CHANGES LICENSE README TODO %name-*.txt
%_bindir/%name%sover-config
%_bindir/%name-config
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/*.pc
%_man3dir/*

%files -n %name%sover-tools
%_bindir/png-fix-itxt
%_bindir/pngfix

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009