[Comm] acroread-7.0.5 packaging problem

Andrey Rahmatullin =?iso-8859-1?q?wrar_=CE=C1_altlinux=2Eru?=
Сб Мар 25 10:24:22 MSK 2006


On Fri, Mar 24, 2006 at 11:14:03PM -0800, Denis G. Samsonenko wrote:
> Как-нибудь можно разрулить эту ситуацию?
Гляньте аттач.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

Перед вами открывается уникальная возможность исправить ещё 244 пакета,
которые были повержены новым компилятором.
		-- ldv in devel@
----------- следующая часть -----------
%set_verify_elf_method textrel=relaxed
%set_strip_method none
#%%add_findprov_lib_path %_libdir/%name/Reader/intellinux/lib
%add_findreq_skiplist /usr/lib/acroread/Reader/intellinux/*/*
%define moz_plug 1

Name: acroread
Version: 7.0.0
Release: alt1

Group: Publishing
Summary: Adobe Acrobat Reader
Url: http://www.adobe.com
License: non-free

BuildArch: i386
PreReq: sed
Requires: libgtk+2
%if %moz_plug
Provides: mozilla-plugin-acroread = %version-%release
Provides: %name-plugin-netscape4 = %version-%release
Obsoletes: %name-plugin-netscape4 <= %version-%release
%endif

BuildRequires: menu-devel

Source0: http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdbeRdr70_linux_enu.tar.gz
Source1: acroread.16.xpm
Source2: acroread.32.xpm
Source3: acroread.48.xpm
Source4: acroread.desktop
NoSource: 0

%description
Acrobat Reader is part of the Adobe Acrobat
family of software, which lets you view,
distribute, and print documents in
Portable Document Format (PDF) -- regardless
of the computer, operating system,
fonts, or application used to create
the original file.  PDF files retain all
the formatting, fonts, and graphics of the
original document, and virtually any PostScript(TM)
document can be converted into a PDF file.
Adobe Acrobat Reader have a plug-in for
Mozilla to to view PDF files inline

%prep
%setup -q -c %name-%version
cd AdobeReader
%__tar xf COMMON.TAR
%__tar xf ILINXR.TAR

%install
cd AdobeReader
%__mkdir_p %buildroot%_bindir
%__mkdir_p %buildroot%_libdir/%name
%__cp -a bin Browser Reader Resource %buildroot%_libdir/%name

%__ln_s ../lib/%name/bin/acroread %buildroot%_bindir/acroread
%__subst "s,^\(installdir=\).*,\1%_libdir/%name/Reader," %buildroot%_libdir/%name/bin/acroread

mkdir -p %buildroot%_miconsdir
mkdir -p %buildroot%_liconsdir
install -m644 %SOURCE1 %buildroot%_miconsdir/mini-pdf.xpm
install -m644 %SOURCE1 %buildroot%_miconsdir/%name.xpm
install -m644 %SOURCE2 %buildroot%_iconsdir/%name.xpm
install -m644 %SOURCE3 %buildroot%_liconsdir/%name.xpm

mkdir -p %buildroot%_libdir/mozilla/plugins
install Browser/intellinux/nppdf.so %buildroot%_libdir/mozilla/plugins

install -d %buildroot/%_menudir/
freedesktop2menu.pl %name Applications/Publishing %SOURCE4 %buildroot/%_menudir/%name
install -d %buildroot/%_datadir/applications/
install %SOURCE4 %buildroot/%_datadir/applications/%name.desktop

%post
%update_menus

%postun
%clean_menus

%files
#%%doc %_libdir/%name/Reader/Legal/
#%%doc %_libdir/%name/Reader/help/
#%%doc %_libdir/%name/Reader/HowTo
#%%dir %_libdir/%name/bin
%_libdir/%name/bin
%_bindir/%name
#%%attr(0755,root,root) %_libdir/%name/bin/%name
%_libdir/%name/Reader
%_libdir/%name/Browser
%_libdir/%name/Resource

%_miconsdir/mini-pdf.xpm
%_miconsdir/acroread.xpm
%_iconsdir/acroread.xpm
%_liconsdir/acroread.xpm

%_datadir/applications/%name.desktop
%_menudir/%name

%if %moz_plug
%dir %_libdir/mozilla/
%dir %_libdir/mozilla/plugins/
%_libdir/mozilla/plugins/*
%endif

%changelog
* Tue Apr 19 2005 Andrey Rahmatullin <wrar на altlinux.ru> 7.0.0-alt1
- new version

* Wed Aug 04 2004 Sergey V Turchin <zerg at altlinux dot org> 5.09-alt1
- new version

* Mon Feb 10 2003 Sergey V Turchin <zerg на altlinux.ru> 5.06-alt1
- new version

* Fri Apr 12 2002 Sergey V Turchin <zerg на altlinux.ru> 4.05-alt2
- fix PreReq: /bin/sed

* Thu Mar 07 2002 Sergey V Turchin <zerg на altlinux.ru> 4.05-alt1
- cleanup spec
- build for ALT

* Mon Oct 01 2001 Peter Sooos <sp на osb.hu> 4.05-6
- Removed the obsoleted wmconfig entry

* Thu May 03 2001 Peter Soos <sp на osb.hu> 4.05-5
- Simplify the postinstall script
- Added GNOME desktop entry
- Include all files into package instead creating symlinks at install time
- Create a separated package for Netscape plugin
- Build with rpm 4

* Sun Jul 30 2000 Peter Soos <sp на osb.hu> 4.05-4
- Some cosmetic changes in pre- and post(un)install scripts

* Thu May 25 2000 Peter Soos <sp на osb.hu> 4.05-3
- Changed the Prefix: to /usr/lib to make similar to other packages and
  eliminate the problem with the /opt directory, wich is not exest it the
  Red Hat Linux and the creation is problematic because of the / filesystem
  is wery small on most system
- Some cosmetic changes in the spec file

* Mon May 22 2000 Christian Wiese <cw на 4ix.net> 4.05-2
- insert flexible Prefix entry
- just edit the Prefix entry in acroread.spec and rebuild to change the
  install location
- changed default install directory from "/opt" to "/usr/local" for better
  Red Hat 6.x compatibility

* Sun Mar 12 2000 Peter Soos <sp на osb.hu> 4.05-1
- Moved to glibc based version 4.05
- Now the Acrobat Reader plugin works fine in glibc based Netscape
- Added KDE desktop entry

* Tue Jun 14 1999 Peter Soos <sp на osb.hu> 4.0-1
- Moved to version 4.0 final.

* Sun Apr 18 1999 Peter Soos <sp на osb.hu> 4.0-0
- Moved to version 4.0 beta.

* Fri Feb 05 1999 Peter Soos <sp на osb.hu> 3.02-2
- The acroread-3.02-1.rpm was broken.

* Sat Dec 19 1998 Peter Soos <sp на osb.hu> 3.02-1
- Moved to version 3.02.

* Mon Jun 22 1998 Peter Soos <sp на osb.hu> 3.01-4
- Now using %attr.

* Sun May 31 1998 Peter Soos <sp на osb.hu> 3.01-3
- Removed the automatic Netscape plugin installation because it isn't compatible  with glibc based Netscape versions.

* Sun Dec 28 1997 Peter Soos <sp на osb.hu> 3.01-2
- Some fine tune.
- Added wmconfig support.

* Fri Dec 5 1997 Peter Soos <sp на osb.hu> 3.01-1
- New version. Made the stuff relocatable.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: Digital signature
Url     : <http://lists.altlinux.org/pipermail/community/attachments/20060325/00f13dab/attachment-0003.bin>


Подробная информация о списке рассылки community