[packages/aces_container] - new

qboosh qboosh at pld-linux.org
Sat Apr 5 22:25:19 CEST 2014


commit 1cdf84acb5b395a8b6a573b58ade7ecc4ab1e93e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 5 22:26:40 2014 +0200

    - new

 aces_container-libdir.patch | 11 +++++++
 aces_container.spec         | 73 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)
---
diff --git a/aces_container.spec b/aces_container.spec
new file mode 100644
index 0000000..1a9df9b
--- /dev/null
+++ b/aces_container.spec
@@ -0,0 +1,73 @@
+Summary:	Implementation of ACES Image Container File
+Summary(pl.UTF-8):	Implementacja pliku kontenera obrazów ACES
+Name:		aces_container
+Version:	1.0
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	https://github.com/ampas/aces_container/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	49f967ef6ecf1ed1162c22b4312f4103
+Patch0:		%{name}-libdir.patch
+URL:		https://github.com/ampas/aces_container
+BuildRequires:	cmake >= 2.6
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains a reference implementation for an ACES container
+file writer intended to be used with the Academy Color Encoding System
+(ACES). The resulting file is compliant with the ACES container
+specification (SMPTE S2065-4).
+
+%description -l pl.UTF-8
+Ten pakiet zawiera wzorcową implementację biblioteki zapisującej pliki
+kontenerów ACES. Jest przeznaczona do wykorzystania wraz z systemem
+ACES (Academy Color Encoding System). Wynikowe pliki są zgodne ze
+specyfikacją kontenerów ACES (SMPTE S2065-4).
+
+%package devel
+Summary:	Header files for AcesContainer library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki AcesContainer
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
+
+%description devel
+Header files for AcesContainer library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki AcesContainer.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%cmake . \
+	-DINSTALL_CMAKE_DIR=%{_libdir}/cmake/AcesContainer \
+	-DINSTALL_LIB_DIR=%{_libdir}
+%{__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 LICENSE README.md
+%attr(755,root,root) %{_libdir}/libAcesContainer.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/aces
+%{_pkgconfigdir}/AcesContainer.pc
+%{_libdir}/cmake/AcesContainer
diff --git a/aces_container-libdir.patch b/aces_container-libdir.patch
new file mode 100644
index 0000000..f48667b
--- /dev/null
+++ b/aces_container-libdir.patch
@@ -0,0 +1,11 @@
+--- aces_container-1.0/CMakeLists.txt.orig	2013-07-27 01:07:55.000000000 +0200
++++ aces_container-1.0/CMakeLists.txt	2014-04-05 21:12:50.040574218 +0200
+@@ -104,7 +104,7 @@
+ find_package( PkgConfig )
+ if ( PKG_CONFIG_FOUND )
+ configure_file(config/AcesContainer.pc.in "${PROJECT_BINARY_DIR}/AcesContainer.pc" @ONLY)
+-install( FILES "${PROJECT_BINARY_DIR}/AcesContainer.pc" DESTINATION lib/pkgconfig COMPONENT dev )
++install( FILES "${PROJECT_BINARY_DIR}/AcesContainer.pc" DESTINATION lib${LIB_SUFFIX}/pkgconfig COMPONENT dev )
+ endif()
+ 
+ include_directories(
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aces_container.git/commitdiff/1cdf84acb5b395a8b6a573b58ade7ecc4ab1e93e



More information about the pld-cvs-commit mailing list