Репозитории ALT
S: | 2.5.8-alt3 |
5.1: | 2.5.7-alt2 |
4.1: | 2.5.7-alt2 |
4.0: | 2.5.7-alt2 |
3.0: | 2.5.7-alt1.2 |
Группа :: Система/Библиотеки
Пакет: libmcrypt
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: libmcrypt
Version: 2.5.7
Release: alt1.2
Summary: Encryption/decryption library
License: LGPL
Group: System/Libraries
Url: http://mcrypt.sourceforge.net/
Source: %name-%version.tar.bz2
Patch: libmcrypt-2.5.7-alt-libdl.patch
Patch1: libmcrypt-2.5.1-dlopen.patch
Patch2: libmcrypt-2.5.1-symbols.patch
Patch3: libmcrypt-2.5.1-extra.patch
Source1: mcrypt_symb.c
# Automatically added by buildreq on Tue Oct 22 2002
BuildRequires: glibc-devel-static
%package devel
Summary: Development environment for %name
Group: Development/C
Requires: %name = %version-%release
%package devel-static
Summary: Development environment for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description
The libmcrypt is a data encryption library. The library is thread safe and
provides encryption and decryption functions. This version of the library
supports many encryption algorithms and encryption modes. Some algorithms
which are supported: SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2,
XTEA, 3WAY, TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.
%description devel
This package contains the header files and libraries needed
to develop programs that use the %name library.
%description devel-static
This package contains static libraries.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%__subst 's,libmcrypt_la_LIBADD = at EXTRA_OBJECTS at ,,' lib/Makefile.am
#aclocal
#automake lib/Makefile
(cd modules
find . -type f -name '*.c'|xargs %__subst 's/#define _.*//'
)
rm -f acinclude.m4
%build
autoreconf -fisv ||:
autoreconf -fisv ||:
%configure --enable-static --enable-ltdl-install=no --disable-libtool-lock --disable-dynamic-loading
cp %SOURCE1 lib
#No SMP
%make
%install
%makeinstall transform=
for i in modes algorithms
do
cp modules/$i/.libs/*.so $RPM_BUILD_ROOT%_libdir/%name
cp modules/$i/.libs/*.la $RPM_BUILD_ROOT%_libdir/%name
cp modules/$i/.libs/*.a $RPM_BUILD_ROOT%_libdir/%name
done
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%_libdir/*.so.*
%dir %_libdir/%name
%_libdir/%name/*.so
%files devel
%doc AUTHORS NEWS README THANKS TODO doc/{README.*,example.c}
%_bindir/*
%_libdir/*.so
#%_libdir/*.la
%dir %_libdir/%name
#%_libdir/%name/*.la
%_includedir/*
%_mandir/man?/*
%_datadir/aclocal/*
%files devel-static
%_libdir/*.a
%dir %_libdir/%name
%_libdir/%name/*.a
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.5.7
Release: alt1.2
Summary: Encryption/decryption library
License: LGPL
Group: System/Libraries
Url: http://mcrypt.sourceforge.net/
Source: %name-%version.tar.bz2
Patch: libmcrypt-2.5.7-alt-libdl.patch
Patch1: libmcrypt-2.5.1-dlopen.patch
Patch2: libmcrypt-2.5.1-symbols.patch
Patch3: libmcrypt-2.5.1-extra.patch
Source1: mcrypt_symb.c
# Automatically added by buildreq on Tue Oct 22 2002
BuildRequires: glibc-devel-static
%package devel
Summary: Development environment for %name
Group: Development/C
Requires: %name = %version-%release
%package devel-static
Summary: Development environment for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description
The libmcrypt is a data encryption library. The library is thread safe and
provides encryption and decryption functions. This version of the library
supports many encryption algorithms and encryption modes. Some algorithms
which are supported: SERPENT, RIJNDAEL, 3DES, GOST, SAFER+, CAST-256, RC2,
XTEA, 3WAY, TWOFISH, BLOWFISH, ARCFOUR, WAKE and more.
%description devel
This package contains the header files and libraries needed
to develop programs that use the %name library.
%description devel-static
This package contains static libraries.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%__subst 's,libmcrypt_la_LIBADD = at EXTRA_OBJECTS at ,,' lib/Makefile.am
#aclocal
#automake lib/Makefile
(cd modules
find . -type f -name '*.c'|xargs %__subst 's/#define _.*//'
)
rm -f acinclude.m4
%build
autoreconf -fisv ||:
autoreconf -fisv ||:
%configure --enable-static --enable-ltdl-install=no --disable-libtool-lock --disable-dynamic-loading
cp %SOURCE1 lib
#No SMP
%make
%install
%makeinstall transform=
for i in modes algorithms
do
cp modules/$i/.libs/*.so $RPM_BUILD_ROOT%_libdir/%name
cp modules/$i/.libs/*.la $RPM_BUILD_ROOT%_libdir/%name
cp modules/$i/.libs/*.a $RPM_BUILD_ROOT%_libdir/%name
done
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%_libdir/*.so.*
%dir %_libdir/%name
%_libdir/%name/*.so
%files devel
%doc AUTHORS NEWS README THANKS TODO doc/{README.*,example.c}
%_bindir/*
%_libdir/*.so
#%_libdir/*.la
%dir %_libdir/%name
#%_libdir/%name/*.la
%_includedir/*
%_mandir/man?/*
%_datadir/aclocal/*
%files devel-static
%_libdir/*.a
%dir %_libdir/%name
%_libdir/%name/*.a
%changelog
…
Полный changelog можно просмотреть здесь