Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37561875
en ru br
Репозитории ALT
S:4.35-alt1
5.1: 4.8.7-alt1.M50P.1
4.1: 4.7.2-alt0.20080628.M41
4.0: 4.6.7-alt1
3.0: 4.4.1-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: nspr

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: nspr
Version: 4.4.1
Release: alt1

Summary: Netscape Portable Runtime
License: MPL
Group: Development/Other

URL: http://www.mozilla.org/projects/nspr/
# ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/
Source: %name-%version.tar.bz2

# Automatically added by buildreq on Fri Oct 08 2004

BuildRequires: gcc-c++ libstdc++-devel

%package -n lib%name
Summary: Netscape Portable Runtime library
Group: System/Libraries
Conflicts: mozilla <= 1.7.2-alt1

%package -n lib%name-devel
Summary: Netscape Portable Runtime header files
Group: Development/C
Requires: lib%name = %version-%release

%description
NSPR provides platform independence for non-GUI operating system
facilities. These facilities include threads, thread synchronization,
normal file and network I/O, interval timing and calendar time, basic
memory management (malloc and free) and shared library linking.

%description -n lib%name
NSPR provides platform independence for non-GUI operating system
facilities. These facilities include threads, thread synchronization,
normal file and network I/O, interval timing and calendar time, basic
memory management (malloc and free) and shared library linking.

%description -n lib%name-devel
NSPR provides platform independence for non-GUI operating system
facilities. These facilities include threads, thread synchronization,
normal file and network I/O, interval timing and calendar time, basic
memory management (malloc and free) and shared library linking.

%prep
%setup -q

%build
cd mozilla/nsprpub
%undefine __libtoolize
%configure --with-mozilla --disable-debug
%make_build

%install
cd mozilla/nsprpub/dist
%__mkdir_p %buildroot%_libdir
%__install -p -m755 lib/lib*4.so %buildroot%_libdir

%__mkdir_p %buildroot%_includedir/%name/obsolete
%__install -p -m644 include/%name/%name.h %buildroot%_includedir
%__install -p -m644 include/%name/p[rl]*.h %buildroot%_includedir/%name
%__install -p -m644 include/%name/obsolete/pr*.h %buildroot%_includedir/%name/obsolete

find %buildroot%_includedir -type f -name '*.h' -print0 | xargs -r0 %__subst -p \
's,^#include "\(p[rl].*\|obsolete.*\)\.h",#include <nspr/\1.h>,g'

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

%files -n lib%name
%_libdir/lib*4.so

%files -n lib%name-devel
%_includedir/%name.h
%_includedir/%name/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin