Репозиторий Sisyphus
Последнее обновление: 14 октября 2019 | Пакетов: 17518 | Посещений: 15269174
en ru br
Репозитории ALT
S:3.1-alt1
5.1: 3.1-alt1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: xbrowser-plugins-common

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

%def_disable package_dirs

Name: xbrowser-plugins-common
Version: 3.1
Release: alt1

Group: System/Base
Summary: Netscape Gecko Plug-in API common files
License: GPL

Provides: browser-plugins-npapi = %version-%release
#Obsoletes: browser-plugins-npapi-devel < %version-%release

Source: nil

%description
This package contains directories for storage of plug-ins
for NPAPI(Netscape Gecko Plug-in API) compatible browsers.

%package -n rpm-build-browser-plugins
Summary: Netscape Gecko Plug-in API common packaging files
Group: Development/Other
%if_enabled package_dirs
Requires: %name = %version-%release
%endif
Provides: rpm-macros-browser-plugins = %version-%release
Obsoletes: rpm-macros-browser-plugins < %version-%release
Provides: browser-plugins-npapi-devel = %version-%release
#Obsoletes: browser-plugins-npapi-devel < %version-%release
%description -n rpm-build-browser-plugins
This package contains rpm macroses to package NPAPI plugins.

%prep
%setup -Tc


%build


%install
mkdir -p %buildroot/%_libdir/browser-plugins
mkdir -p %buildroot/%_libdir/browser-plugins-npapi
mkdir -p %buildroot/%_libdir/mozilla/plugins
mkdir -p %buildroot/%_sysconfdir/rpm/macros.d
mkdir -p %buildroot/%_rpmlibdir

cat >%buildroot/%_sysconfdir/rpm/macros.d/browser-plugins <<__EOF__
%%__xbpc_browser_plugins_api_name_internal %{?browser_plugins_api:%browser_plugins_api}%{!?browser_plugins_api:npapi}
%%browser_plugins_path_old  %%_libdir/browser-plugins-%%__xbpc_browser_plugins_api_name_internal
%%browser_plugins_path      %%_libdir/browser-plugins
__EOF__

cat >%buildroot/%_rpmlibdir/browser-plugins.req.list <<__EOF__
/usr/lib/browser-plugins   %name
/usr/lib64/browser-plugins %name
__EOF__


%if_enabled package_dirs
%files
%dir %_libdir/mozilla
%dir %_libdir/mozilla/plugins
%dir %_libdir/browser-plugins
%dir %_libdir/browser-plugins-npapi
%endif

%files -n rpm-build-browser-plugins
%_sysconfdir/rpm/macros.d/browser-plugins
%if_enabled package_dirs
%_rpmlibdir/browser-plugins.req.list
%endif


%changelog

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

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