]> git.pld-linux.org Git - packages/aces_container.git/commitdiff
- new auto/th/aces_container-1.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 5 Apr 2014 20:26:40 +0000 (22:26 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 5 Apr 2014 20:26:40 +0000 (22:26 +0200)
aces_container-libdir.patch [new file with mode: 0644]
aces_container.spec [new file with mode: 0644]

diff --git a/aces_container-libdir.patch b/aces_container-libdir.patch
new file mode 100644 (file)
index 0000000..f48667b
--- /dev/null
@@ -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(
diff --git a/aces_container.spec b/aces_container.spec
new file mode 100644 (file)
index 0000000..1a9df9b
--- /dev/null
@@ -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
This page took 0.061913 seconds and 4 git commands to generate.