Репозитории ALT

5.1: | 1.4.9-alt1.1 |
4.1: | 1.4.9-alt1.0 |
4.0: | 1.4.9-alt1.0 |
3.0: | 1.4.9-alt1 |
Группа :: Система/Библиотеки
Пакет: slang
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: slang
Version: 1.4.9
Release: alt1.0
Summary: The shared library for the S-Lang extension language
License: GPL
Group: System/Libraries
Url: http://www.s-lang.org/
Source: ftp://ftp.jedsoft.org/pub/davis/%name/v1.4/%name-%version.tar.bz2
Source1: README.UTF-8
Patch1: %name-1.4.6-alt-makefile.patch
Patch2: %name-1.4.7-owl-alt-fixes.patch
Patch3: %name-1.4.7-alt-doc.patch
Patch4: %name-1.4.4-deb-utf8.patch.bz2
Patch5: %name-1.4.5-utf8-acs.patch.bz2
Patch6: %name-1.4.5-utf8-fix.patch
Patch7: %name-1.4.5-utf8-segv.patch
Patch8: %name-1.4.9-mdk-utf8-revert_soname.patch.bz2
Prefix: %prefix
%package -n lib%name
Summary: The shared library for the S-Lang extension language
Group: System/Libraries
Provides: %name = %version
Obsoletes: %name
%package -n lib%name-devel
Summary: The development environment for S-Lang
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel
%package -n lib%name-devel-static
Summary: The static library for development using S-Lang
Group: Development/C
Requires: lib%name-devel = %version-%release
Provides: %name-devel-static = %version
Obsoletes: %name-devel-static
%package -n lib%name-doc
Summary: Extra documentation for S-Lang libraries
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-doc = %version
Obsoletes: %name-doc
%description
S-Lang is an interpreted language and a programming library. The
S-Lang language was designed so that it can be easily embedded into
a program to provide the program with a powerful extension language.
The S-Lang library, provided in this package, provides the S-Lang
extension language. S-Lang's syntax resembles C, which makes it easy
to recode S-Lang procedures in C if you need to.
%description -n lib%name
S-Lang is an interpreted language and a programming library. The
S-Lang language was designed so that it can be easily embedded into
a program to provide the program with a powerful extension language.
The S-Lang library, provided in this package, provides the S-Lang
extension language. S-Lang's syntax resembles C, which makes it easy
to recode S-Lang procedures in C if you need to.
%description -n lib%name-devel
This package contains the S-Lang extension language development libraries
and header files which you'll need if you want to develop S-Lang based
applications.
%description -n lib%name-devel-static
This package contains the S-Lang extension language static libraries
which you'll need if you want to develop S-Lang based statically linked
applications.
%description -n lib%name-doc
This package contains documentation which may help you write S-Lang based
applications.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1 -b .utf8
%patch5 -p1 -b .utf8-acs
%patch6 -p1 -b .utf8-fix
%patch7 -p1 -b .utf8-segv
%patch8 -p1 -b .utf8-soname
%__subst 's/\(ELF_CFLAGS="[^"]*\)-O2\([^"]*".*\)/\1'"$RPM_OPT_FLAGS"'\2/g' configure
%build
%{expand: %%define _includedir %_includedir/%name}
export ac_cv_func_snprintf=yes ac_cv_func_vsnprintf=yes
%configure --enable-warnings
%make_build elf all
%install
%__mkdir_p $RPM_BUILD_ROOT%_includedir
%makeinstall install-elf
%__chmod a+x $RPM_BUILD_ROOT%_libdir/*.so.*
%define docdir %_docdir/%name-%version
%__mkdir_p $RPM_BUILD_ROOT%docdir
%__cp -pRL changes.txt COPYRIGHT NEWS %SOURCE1 doc/{README,grammar.txt,text,internal} \
$RPM_BUILD_ROOT%docdir/
%__bzip2 -9 $RPM_BUILD_ROOT%docdir/changes.txt
%__mkdir_p $RPM_BUILD_ROOT%_datadir/%name
%__ln_s `relative %docdir/text %_datadir/%name/help` $RPM_BUILD_ROOT%_datadir/%name/help
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so.*
%dir %docdir
%docdir/[CNc]*
%files -n lib%name-devel
%_libdir/*.so
%_includedir
%files -n lib%name-devel-static
%_libdir/*.a
%files -n lib%name-doc
%doc %_datadir/%name
%dir %docdir
%docdir/[Rgti]*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.4.9
Release: alt1.0
Summary: The shared library for the S-Lang extension language
License: GPL
Group: System/Libraries
Url: http://www.s-lang.org/
Source: ftp://ftp.jedsoft.org/pub/davis/%name/v1.4/%name-%version.tar.bz2
Source1: README.UTF-8
Patch1: %name-1.4.6-alt-makefile.patch
Patch2: %name-1.4.7-owl-alt-fixes.patch
Patch3: %name-1.4.7-alt-doc.patch
Patch4: %name-1.4.4-deb-utf8.patch.bz2
Patch5: %name-1.4.5-utf8-acs.patch.bz2
Patch6: %name-1.4.5-utf8-fix.patch
Patch7: %name-1.4.5-utf8-segv.patch
Patch8: %name-1.4.9-mdk-utf8-revert_soname.patch.bz2
Prefix: %prefix
%package -n lib%name
Summary: The shared library for the S-Lang extension language
Group: System/Libraries
Provides: %name = %version
Obsoletes: %name
%package -n lib%name-devel
Summary: The development environment for S-Lang
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel
%package -n lib%name-devel-static
Summary: The static library for development using S-Lang
Group: Development/C
Requires: lib%name-devel = %version-%release
Provides: %name-devel-static = %version
Obsoletes: %name-devel-static
%package -n lib%name-doc
Summary: Extra documentation for S-Lang libraries
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-doc = %version
Obsoletes: %name-doc
%description
S-Lang is an interpreted language and a programming library. The
S-Lang language was designed so that it can be easily embedded into
a program to provide the program with a powerful extension language.
The S-Lang library, provided in this package, provides the S-Lang
extension language. S-Lang's syntax resembles C, which makes it easy
to recode S-Lang procedures in C if you need to.
%description -n lib%name
S-Lang is an interpreted language and a programming library. The
S-Lang language was designed so that it can be easily embedded into
a program to provide the program with a powerful extension language.
The S-Lang library, provided in this package, provides the S-Lang
extension language. S-Lang's syntax resembles C, which makes it easy
to recode S-Lang procedures in C if you need to.
%description -n lib%name-devel
This package contains the S-Lang extension language development libraries
and header files which you'll need if you want to develop S-Lang based
applications.
%description -n lib%name-devel-static
This package contains the S-Lang extension language static libraries
which you'll need if you want to develop S-Lang based statically linked
applications.
%description -n lib%name-doc
This package contains documentation which may help you write S-Lang based
applications.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1 -b .utf8
%patch5 -p1 -b .utf8-acs
%patch6 -p1 -b .utf8-fix
%patch7 -p1 -b .utf8-segv
%patch8 -p1 -b .utf8-soname
%__subst 's/\(ELF_CFLAGS="[^"]*\)-O2\([^"]*".*\)/\1'"$RPM_OPT_FLAGS"'\2/g' configure
%build
%{expand: %%define _includedir %_includedir/%name}
export ac_cv_func_snprintf=yes ac_cv_func_vsnprintf=yes
%configure --enable-warnings
%make_build elf all
%install
%__mkdir_p $RPM_BUILD_ROOT%_includedir
%makeinstall install-elf
%__chmod a+x $RPM_BUILD_ROOT%_libdir/*.so.*
%define docdir %_docdir/%name-%version
%__mkdir_p $RPM_BUILD_ROOT%docdir
%__cp -pRL changes.txt COPYRIGHT NEWS %SOURCE1 doc/{README,grammar.txt,text,internal} \
$RPM_BUILD_ROOT%docdir/
%__bzip2 -9 $RPM_BUILD_ROOT%docdir/changes.txt
%__mkdir_p $RPM_BUILD_ROOT%_datadir/%name
%__ln_s `relative %docdir/text %_datadir/%name/help` $RPM_BUILD_ROOT%_datadir/%name/help
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so.*
%dir %docdir
%docdir/[CNc]*
%files -n lib%name-devel
%_libdir/*.so
%_includedir
%files -n lib%name-devel-static
%_libdir/*.a
%files -n lib%name-doc
%doc %_datadir/%name
%dir %docdir
%docdir/[Rgti]*
%changelog
…
Полный changelog можно просмотреть здесь