source: projects/specs/trunk/lib/libj/libjpeg6a/libjpeg6a-vl.spec @ 521

Revision 521, 3.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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