3 Summary: SMPTE DPX v2 Image Format reader/writer library
4 Summary(pl.UTF-8): Biblioteka do odczytu/zapisu obrazów w formacie SMPTE DPX v2
7 Release: 0.%{subver}.%{rel}
10 # svn checkout http://dpx.googlecode.com/svn/trunk/ dpx
11 Source0: %{name}-%{subver}.tar.xz
12 # Source0-md5: a6bf177cb29eaaefb5208f3dcf486658
13 Patch0: %{name}-shared.patch
14 URL: http://code.google.com/p/dpx/
15 BuildRequires: autoconf >= 2.61
16 BuildRequires: automake
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtiff-devel
19 BuildRequires: libtool >= 2:1.5
20 BuildRequires: tar >= 1:1.22
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 SMPTE DPX v2 Image Format reader/writer library written in portable
28 %description -l pl.UTF-8
29 Biblioteka do odczytu/zapisu obrazów w formacie SMPTE DPX v2, napisana
33 Summary: Header files for DPX library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki DPX
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libstdc++-devel
40 Header files for DPX library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki DPX.
46 Summary: Static DPX library
47 Summary(pl.UTF-8): Statyczna biblioteka DPX
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
54 %description static -l pl.UTF-8
55 Statyczna biblioteka DPX.
58 Summary: DPX API documentation
59 Summary(pl.UTF-8): Dokumentacja API biblioteki DPX
61 %if "%{_rpmversion}" >= "5"
66 API and internal documentation for DPX library.
68 %description apidocs -l pl.UTF-8
69 Dokumentacja API biblioteki DPX.
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING NEWS README
100 %attr(755,root,root) %{_bindir}/dpx2tiff
101 %attr(755,root,root) %{_bindir}/dpxheader
102 %attr(755,root,root) %{_libdir}/libdpx.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libdpx.so.0
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/libdpx.so
109 %{_includedir}/DPX*.h
112 %defattr(644,root,root,755)
116 %defattr(644,root,root,755)
117 %doc doc/html/*.{css,html,png}