From 1cdf84acb5b395a8b6a573b58ade7ecc4ab1e93e Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 5 Apr 2014 22:26:40 +0200 Subject: [PATCH 1/2] - new --- aces_container-libdir.patch | 11 ++++++ aces_container.spec | 73 +++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 aces_container-libdir.patch create mode 100644 aces_container.spec 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( 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 -- 2.43.0 From 6d1875cc6c5d3b2ae412830682b05ae1a52675e8 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 9 Apr 2019 17:50:04 +0200 Subject: [PATCH 2/2] - updated to 1.0.2 --- aces_container.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aces_container.spec b/aces_container.spec index 1a9df9b..bb90963 100644 --- a/aces_container.spec +++ b/aces_container.spec @@ -1,12 +1,13 @@ Summary: Implementation of ACES Image Container File Summary(pl.UTF-8): Implementacja pliku kontenera obrazów ACES Name: aces_container -Version: 1.0 +Version: 1.0.2 Release: 1 License: BSD Group: Libraries +#Source0Download: https://github.com/ampas/aces_container/releases Source0: https://github.com/ampas/aces_container/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 49f967ef6ecf1ed1162c22b4312f4103 +# Source0-md5: b82364639768d650dd45e6085b429fb6 Patch0: %{name}-libdir.patch URL: https://github.com/ampas/aces_container BuildRequires: cmake >= 2.6 -- 2.43.0