packages: dpx/dpx-shared.patch (NEW), dpx/dpx.spec (NEW) - new

qboosh qboosh at pld-linux.org
Sun Nov 20 10:42:46 CET 2011


Author: qboosh                       Date: Sun Nov 20 09:42:46 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/dpx:
   dpx-shared.patch (NONE -> 1.1)  (NEW), dpx.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/dpx/dpx-shared.patch
diff -u /dev/null packages/dpx/dpx-shared.patch:1.1
--- /dev/null	Sun Nov 20 10:42:46 2011
+++ packages/dpx/dpx-shared.patch	Sun Nov 20 10:42:40 2011
@@ -0,0 +1,30 @@
+--- dpx/libdpx/Makefile.am.orig	2011-11-20 09:55:33.000000000 +0100
++++ dpx/libdpx/Makefile.am	2011-11-20 10:30:43.337652371 +0100
+@@ -1,7 +1,7 @@
+ 
+-lib_LIBRARIES = libdpx.a
++lib_LTLIBRARIES = libdpx.la
+ 
+-libdpx_a_SOURCES = Codec.cpp \
++libdpx_la_SOURCES = Codec.cpp \
+                    DPX.cpp \
+                    DPXHeader.cpp \
+                    ElementReadStream.cpp \
+--- dpx/tools/dpxheader/Makefile.am.orig	2011-11-20 09:55:33.000000000 +0100
++++ dpx/tools/dpxheader/Makefile.am	2011-11-20 10:36:28.250997251 +0100
+@@ -1,5 +1,5 @@
+ 
+-LIBDPX = $(top_builddir)/libdpx/libdpx.a
++LIBDPX = $(top_builddir)/libdpx/libdpx.la
+ 
+ INCLUDES = -I$(top_builddir)/libdpx
+ 
+--- dpx/tools/dpx2tiff/Makefile.am.orig	2011-11-20 09:55:33.000000000 +0100
++++ dpx/tools/dpx2tiff/Makefile.am	2011-11-20 10:36:37.380997558 +0100
+@@ -1,5 +1,5 @@
+ 
+-LIBDPX = $(top_builddir)/libdpx/libdpx.a
++LIBDPX = $(top_builddir)/libdpx/libdpx.la
+ 
+ INCLUDES = -I$(top_builddir)/libdpx
+ 

================================================================
Index: packages/dpx/dpx.spec
diff -u /dev/null packages/dpx/dpx.spec:1.1
--- /dev/null	Sun Nov 20 10:42:46 2011
+++ packages/dpx/dpx.spec	Sun Nov 20 10:42:40 2011
@@ -0,0 +1,123 @@
+# $Revision$, $Date$
+Summary:	SMPTE DPX v2 Image Format reader/writer library
+Summary(pl.UTF-8):	Biblioteka do odczytu/zapisu obrazów w formacie SMPTE DPX v2
+Name:		dpx
+Version:	0.5
+%define	subver	svn4
+Release:	0.%{subver}.1
+License:	BSD
+Group:		Libraries
+# svn checkout http://dpx.googlecode.com/svn/trunk/ dpx
+Source0:	%{name}-%{subver}.tar.xz
+# Source0-md5:	a6bf177cb29eaaefb5208f3dcf486658
+Patch0:		%{name}-shared.patch
+URL:		http://code.google.com/p/dpx/
+BuildRequires:	autoconf >= 2.61
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtiff-devel
+BuildRequires:	libtool >= 2:1.5
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SMPTE DPX v2 Image Format reader/writer library written in portable
+C++.
+
+%description -l pl.UTF-8
+Biblioteka do odczytu/zapisu obrazów w formacie SMPTE DPX v2, napisana
+w przenośnym C++.
+
+%package devel
+Summary:	Header files for DPX library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki DPX
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
+
+%description devel
+Header files for DPX library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki DPX.
+
+%package static
+Summary:	Static DPX library
+Summary(pl.UTF-8):	Statyczna biblioteka DPX
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static DPX library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka DPX.
+
+%package apidocs
+Summary:	DPX API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki DPX
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for DPX library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki DPX.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	--enable-shared
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_bindir}/dpx2tiff
+%attr(755,root,root) %{_bindir}/dpxheader
+%attr(755,root,root) %{_libdir}/libdpx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdpx.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdpx.so
+%{_libdir}/libdpx.la
+%{_includedir}/DPX*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libdpx.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/html/*.{css,html,png}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/11/20 09:42:40  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list