libjpeg6a-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Summary: A library for manipulating JPEG image format files.
  2. Summary(ja): JPEG 形式の画像ファイルを扱う為のライブラリ
  3. Name: libjpeg6a
  4. Version: 6a
  5. Release: 8%{?_dist_release}
  6. License: distributable
  7. Group: System Environment/Libraries
  8. Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6a.tar.gz
  9. Buildroot: %{_tmppath}/%{name}-%{version}-root
  10. ExcludeArch: armv4l
  11. Patch: jpeg-shlib.patch
  12. %define LIBVER 6.0.1
  13. Excludearch: ia64
  14. %description
  15. This package is a library of functions that manipulate jpeg images, along
  16. with simple clients for manipulating jpeg images.
  17. This version of the package includes only a library that is needed for
  18. preserving the backwards compatibility with previous releases of Red Hat
  19. Linux.
  20. %description
  21. このパッケージには JPEG 画像を扱う為のライブラリと,JPEG 画像を
  22. 扱う簡単なクライアントプログラムが収められています.
  23. このバージョンのパッケージにはライブラリだけが収められています.
  24. これは古いバージョンの Red Hat Linux との後方互換性を保つ為に
  25. 必要なものです.
  26. %prep
  27. %setup -n jpeg-6a
  28. %patch -p1
  29. %build
  30. CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=$RPM_BUILD_ROOT%{_prefix}
  31. make
  32. #ln -s libjpeg.so.%{LIBVER} libjpeg.so.6
  33. #LD_LIBRARY_PATH=$PWD make test
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. mkdir -p $RPM_BUILD_ROOT%{_libdir} #$RPM_BUILD_ROOT%{_includedir} $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_mandir}/man1
  37. #make install
  38. #make install-headers
  39. #make install-lib
  40. install -m 755 libjpeg.so.%{LIBVER} $RPM_BUILD_ROOT%{_libdir}
  41. #ln -sf libjpeg.so.%{LIBVER} $RPM_BUILD_ROOT%{_libdir}/libjpeg.so
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root)
  48. %{_libdir}/libjpeg.so.%{LIBVER}
  49. %changelog
  50. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 6a-8vl5
  51. - applied new versioning policy, spec in utf-8
  52. * Sat Aug 25 2007 Shu KONNO <owa@bg.wakwak.com> 6a-7vl2
  53. - s/Copyright/License/
  54. * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  55. - 6a-7vl1
  56. - based on 6a-7 from Rawhide
  57. - use better macros (although it doesn't mean a thing for this package...)
  58. - added Japanese summary and description (ditto...)
  59. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  60. - automatic rebuild
  61. * Mon Jun 19 2000 Matt Wilson <msw@redhat.com>
  62. - rebuilt for next release
  63. - add defattr, don't install as root for non-root packaging
  64. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  65. - auto rebuild in the new build environment (release 4)
  66. * Wed Feb 03 1999 Cristian Gafton <gafton@redhat.com>
  67. - rebuild for glibc 2.1
  68. * Tue Jun 09 1998 Prospector System <bugs@redhat.com>
  69. - translations modified for de, fr, tr
  70. * Thu Jun 04 1998 Marc Ewing <marc@redhat.com>
  71. - renamed to libjpeg6a
  72. - shared lib *only* package
  73. - this package was made for use on RH 5.1 to support apps from 5.0
  74. * Wed Oct 08 1997 Donnie Barnes <djb@redhat.com>
  75. - new package to remove jpeg stuff from libgr and put in it's own package