Репозитории ALT
S: | 2.5.0-alt1 |
5.1: | 2.0.1-alt3 |
4.1: | 2.0.1-alt0.1.M41.1 |
4.0: | 2.0.1-alt0.1 |
3.0: | 1.95.8-alt2 |
Другие репозитории
Upstream: | 2.0.1 |
Группа :: Система/Основа
Пакет: expat
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь