Browse Source

for backward compatibility

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12204 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 4 years ago
parent
commit
fc390900cc
2 changed files with 386 additions and 0 deletions
  1. 142 0
      L/LibRaw017/LibRaw017-vl.spec
  2. 244 0
      g/giflib4/giflib4-vl.spec

+ 142 - 0
L/LibRaw017/LibRaw017-vl.spec

@@ -0,0 +1,142 @@
+Summary: Library for reading RAW files obtained from digital photo cameras
+Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
+Name: LibRaw017
+Version: 0.17.2
+Release: 2%{?_dist_release}
+License: LGPLv2 or CDDL or LibRaw Software License
+Group: System Environment/Libraries
+URL: http://www.libraw.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: gcc libtool make
+BuildRequires: lcms2-devel
+BuildRequires: jasper-devel
+
+Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
+
+Vendor: Project Vine
+Distribution: Vine Linux
+
+%description
+LibRaw is a library for reading RAW files obtained from digital photo
+cameras (CRW/CR2, NEF, RAF, DNG, and others).
+
+LibRaw is based on the source codes of the dcraw utility, where part of
+drawbacks have already been eliminated and part will be fixed in future.
+
+
+%prep
+%setup -q -n LibRaw-%{version}
+
+perl -pi -e 's/powf64/libraw_powf64l/' \
+	dcraw/dcraw.c \
+	internal/dcraw_common.cpp \
+	libraw/libraw_const.h \
+	src/libraw_cxx.cpp
+
+%build
+# This is not the autotools generated configure script
+CFLAGS="%{optflags} -Wno-narrowing" \
+CXXFLAGS="%{optflags} -Wno-narrowing" \
+sh configure --prefix=/usr --disable-examples \
+ --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \
+ --enable-lcms --enable-jasper
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+cp -pr doc manual
+cp -pr doc manual
+chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.*
+chmod 644 manual/*.html
+
+# The Libraries
+#make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
+%makeinstall
+
+rm -f %{buildroot}%{_libdir}/*.la
+rm -rf %{buildroot}%{_docdir}/libraw
+rm -rf %{buildroot}%{_includedir}/libraw
+rm -f %{buildroot}%{_libdir}/*.so
+rm -f %{buildroot}%{_libdir}/pkgconfig/*.pc
+rm -f %{buildroot}%{_libdir}/*.a
+
+
+%files
+%defattr(-,root,root,-)
+%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
+%doc Changelog.txt
+%{_libdir}/*.so.*
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%changelog
+* Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-2
+- changed %%name for backward compatibility.
+
+* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17.2-1
+- new upstream release.
+
+* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
+- new upstream release
+
+* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.4-1
+- new upstream release
+
+* Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.8-1
+- new upstream release
+
+* Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.7-1
+- new upstream release
+
+* Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.6-1
+- new upstream release
+- change BuildRequires: lcms2-devel instead of lcms-devel
+
+* Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.5-1
+- new upstream release
+
+* Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.4-1
+- new upstream release
+
+* Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1
+- new upstream release
+- added BuildRequires: jasper-devel
+- fixed configure option
+  - deleted --enable-shared=no, --enable-static=no
+  - added --enable-jasper
+- fixed %%files in -devel
+- run ldconfig in %%post, %%postun
+
+* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
+- added BuildRequires: lcms-devel
+- added configure option --enable-lcms
+
+* Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2
+- added BuildRequires: gcc libtool make
+- fixed %%install
+- deleted library archive
+- fixed %%doc in -devel package
+
+* Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1
+- new upstream release
+- dropt Patch0
+- fixed configure option
+- fixed %%files
+- splitted -static package
+
+* Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
+- new upstream release
+- added License: LibRaw Software License
+- dropt patch1,2
+- replaced patch0 by Fedora development patch
+
+* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
+- new upstream release
+
+* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
+- initial build for VineSeed
+
+* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
+- New package

+ 244 - 0
g/giflib4/giflib4-vl.spec

@@ -0,0 +1,244 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
+Summary:     A library for manipulating GIF format image files.
+Summary(ja): GIF 形式の画像ファイルを扱うライブラリ
+Name: giflib4
+Version: 4.2.3
+Release: 2%{_dist_release}
+License: MIT
+URL: http://sourceforge.net/projects/giflib/
+Source: http://jaist.dl.sourceforge.net/sourceforge/giflib/giflib-%{version}.tar.bz2
+Group: System Environment/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Vendor: Project Vine
+Distribution: Vine Linux
+
+Obsoletes: libungif < 4.1.6-1
+Provides:  libungif = %{version}-%{release}
+
+
+%description
+The giflib package contains a shared library of functions for
+loading and saving GIF format image files. It is API and ABI compatible
+with libungif, the library which supported uncompressed GIFs while the
+Unisys LZW patent was in effect.
+
+Install the giflib package if you need to write programs that use GIF files.
+You should also install the giflib-utils package if you need some simple
+utilities to manipulate GIFs.
+
+%description -l ja
+giflib パッケージには GIF 形式の画像ファイルを読み書きするために必要な
+共有ライブラリが収録されています。この giflib は、Unisys LZW 特許が有効で
+あった時期に、非圧縮形式の GIF ファイルを扱うために使われていたライブラリで
+ある libungif と API / ABI 互換性があります。
+
+GIF ファイルを扱うプログラムを作成される場合は giflib パッケージを
+インストールして下さい。また、GIF ファイルを操作する簡単なユーティリティが
+必要な場合には giflib-utils パッケージも一緒にインストールする必要があります。
+
+
+
+## to build compat32 for x86_64 architecture support
+%package -n compat32-%{name}
+Summary:     A library for manipulating GIF format image files.
+Summary(ja): GIF 形式の画像ファイルを扱うライブラリ
+Group: System Environment/Libraries
+Obsoletes: compat32-libungif <= %{version}-%{release}
+Provides: compat32-libungif = %{version}-%{release}
+
+%description -n compat32-%{name}
+The giflib package contains a shared library of functions for
+loading and saving GIF format image files. It is API and ABI compatible
+with libungif, the library which supported uncompressed GIFs while the
+Unisys LZW patent was in effect.
+
+Install the giflib package if you need to write programs that use GIF files.
+You should also install the giflib-utils package if you need some simple
+utilities to manipulate GIFs.
+
+
+%prep
+%setup -q -n giflib-%{version}
+
+
+%build
+sed -i "s|allhtml manpages|manpages|" doc/Makefile.am
+./autogen.sh
+%configure
+make all
+
+MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'`
+%{__cc} $RPM_OPT_FLAGS -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.%{version}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%makeinstall
+install -m 0755 -p libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}
+ln -sf libungif.so.%{version} ${RPM_BUILD_ROOT}%{_libdir}/libungif.so.4
+ln -sf libungif.so.4 ${RPM_BUILD_ROOT}%{_libdir}/libungif.so
+
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so*
+chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a
+chmod 644 COPYING README NEWS
+chmod 644 ChangeLog TODO BUGS AUTHORS
+chmod 644 doc/* util/giffiltr.c util/gifspnge.c
+
+## remove unuse files
+rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.so
+rm -f ${RPM_BUILD_ROOT}%{_includedir}/*.h
+rm -f ${RPM_BUILD_ROOT}%{_bindir}/*
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%if %{build_compat32}
+%post -n compat32-%{name} -p /sbin/ldconfig
+%postun -n compat32-%{name} -p /sbin/ldconfig
+%endif
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files 
+%defattr(-,root,root)
+%license COPYING
+%doc README NEWS
+%doc ChangeLog TODO BUGS AUTHORS
+%{_libdir}/lib*.so.*
+
+## to build compat32 for x86_64 architecture support
+%if %{build_compat32}
+%files -n compat32-%{name}
+%defattr(-,root,root)
+%{_libdir}/lib*.so.*
+%endif
+
+
+%changelog
+* Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.3-2
+- changed %%name for compatibility.
+
+* Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.3-1
+- new upstream release
+
+* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 4.1.6-4
+- rebuilt with rpm-4.8.1-3
+
+* Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.6-3
+- rebuild with new environment
+- remove static lib
+
+* Thu Aug 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.6-2
+- Obsolete specific version of libungif
+
+* Sun Jan 11 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1
+- switch from the obsoleted libungif to the ongoing giflib
+  due to LZW's patent expiration which happend a few years ago
+
+* Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 4.1.4-2vl5
+- removed *.la
+- spec in utf-8
+
+* Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.4-1vl5
+- applied new versioning policy
+- updated URL
+
+* Sun Feb 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.4-0vl1
+- new upstream release
+
+* Sat Sep 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.3-3vl3
+- changed libungif-progs Group to Applications/Graphics
+
+* Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 4.1.3-3vl2
+- added compat32-* packages for x86_64 architecture support
+
+* Tue May 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.3-3vl1 
+- new upstream release
+- not generate libungif.so.3* any more
+- fixed spec file based on 4.1.3-3 from Fedora development
+- s/Copyright/License/
+- updated URL
+
+* Fri Dec 13 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.0-13vl1 
+- based on 4.1.0-13 from Rawhide 
+  - Clean up spec file
+  - Fix build with current auto* tools
+
+* Sat Jul 14 2001 <sagami@vinelinux.org>
+- 4.1.0-9vl1
+- follow up with 4.1.0-9 which has a fix to build against new libtool
+
+* Mon Feb 19 2001 Jun Nishii <jun@vinelinux.org>
+- 4.1.0-7vl2
+- build with netpbm
+
+* Fri Jan 12 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
+- 4.1.0-7vl1
+- based on 4.1.0-7 from Rawhide
+- added Japanese summary and description
+
+* Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Make the subpackages require the base package (Bug #14697)
+- update URL
+- add fixes from the homepage
+
+* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
+- automatic rebuild
+
+* Sat Jun  3 2000 Nalin Dahyabhai <nalin@redhat.com>
+- FHS adjustments (release 5)
+
+* Mon Feb 14 2000 Elliot Lee <sopwith@redhat.com> 4.1.0-4
+- Add giflibcvs-small2crash.patch, which changes lib/dgif_lib.c to be
+  whatever is currently in the libungif CVS, thus fixing bug number 9315.
+
+* Sat Feb  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- strip libraries
+- update URL
+- some specfile tweaks
+
+* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
+- auto rebuild in the new build environment (release 2)
+
+* Sun Mar 14 1999 Preston Brown <pbrown@redhat.com>
+- include libungif 4.1.0 as standard library, with 3.1.0 backwards compat.
+
+* Mon Jan 11 1999 Cristian Gafton <gafton@redhat.com>
+- build for 6.0
+- call libtoolize to make sure it will build on the arm
+
+* Sat Oct 31 1998 Jeff Johnson <jbj@redhat.com>
+- package for RH 5.2.
+
+* Mon Sep 14 1998 Arne Coucheron <arneco@online.no>
+  [3.1.0-3]
+- major cleanups and changes to the spec file
+
+* Mon Sep 7 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
+- Upgrade to version 3.1.0 (which incorporates the patches in 3.0-4)
+- Updated Source: and URL: to reflect change in directories/pages.
+
+* Tue May 26 1998 Dick Porter <dick@cymru.net>
+- Fixed some "warning: cast to pointer from integer of different size" on Alpha
+
+* Tue May 5 1998 Marc Ewing <marc@redhat.com>
+- Made it obsolete giflib and provide libgif.so and giflib (previous
+  giflib packages were built incorrectly and packages built against
+  it require libgif.so but work fine with this package)
+- cleaned buildroot
+- Removed Toshio as packager so he doesn't get yelled at when Red Hat
+  breaks it :-)
+
+* Fri Apr 24 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu>
+- Initial revision of libungif, a giflib derivative modified to not use LZW
+  compression.