Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37562320
en ru br
ALT Linux repositórios
S:2.5.0-alt1
5.0: 2.0.1-alt2
4.1: 2.0.1-alt0.1.M41.1
4.0: 2.0.1-alt0.1
3.0: 1.95.8-alt2

Outros repositórios
Upstream:2.0.1

Group :: Sistema/Base
RPM: expat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: expat
Version: 1.95.8
Release: alt2

%def_enable static

Summary: Expat is an XML parser written in C
License: MIT/X Consortium
Group: System/Base
Url: http://sourceforge.net/projects/%name/

Source: http://download.sourceforge.net/%name/%name-%version.tar.bz2

Prefix: %prefix

Requires: lib%name = %version-%release

%package -n lib%name
Summary: The library for working with XML files
Group: System/Libraries

%package -n lib%name-devel
Summary: Development files for applications which will manipulate XML files
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel

%if_enabled static
%package -n lib%name-devel-static
Summary: Static library for developing static applications which will manipulate XML files
Group: Development/C
Requires: lib%name-devel = %version-%release
%endif # enabled static

%description
Expat is an XML 1.0 parser written in C. It aims to be fully conforming.
It is currently not a validating XML processor.  The current production
version of %name can be downloaded from %url
This package provide Expat parser as library, suitable for using in applications
%description -n lib%name
Expat is an XML 1.0 parser written in C. It aims to be fully conforming.
It is currently not a validating XML processor.  The current production
version of %name can be downloaded from %url
This package provide Expat parser.

%description -n lib%name-devel
Expat is an XML 1.0 parser written in C. It aims to be fully conforming.
It is currently not a validating XML processor.  The current production
version of %name can be downloaded from %url
This package is needed if you want to build programs which use %name
library.

%if_enabled static
%description -n lib%name-devel-static
Expat is an XML 1.0 parser written in C. It aims to be fully conforming.
It is currently not a validating XML processor.  The current production
version of %name can be downloaded from %url
This package is needed if you want to build statically linked programs
which use %name library.
%endif # enabled static

%prep
%setup -q

%build
%configure %{subst_enable static}

# SMP-incompatible build.

%make

%install
%makeinstall man1dir=$RPM_BUILD_ROOT%_man1dir

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%_bindir/*
%_man1dir/*

%files -n lib%name
%doc README COPYING
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/*
%doc Changes doc/*.{html,css,png} examples

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif # enabled static

%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