]>
Commit | Line | Data |
---|---|---|
c2e6ef43 JB |
1 | # TODO: python (missing sources, specified as nodist???) |
2 | Summary: The ASDCP library | |
3 | Summary(pl.UTF-8): Biblioteka ASDCP | |
4 | Name: asdcplib | |
5 | Version: 1.12.60 | |
6 | Release: 1 | |
7 | License: BSD | |
8 | Group: Libraries | |
9 | # note: download URL shows more recent versions than document at download directory | |
10 | #Source0Download: http://www.cinecert.com/asdcplib/download/ | |
11 | Source0: http://download.cinecert.com/asdcplib/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: 3bb2754744a629813e4db816e081e114 | |
13 | Patch0: %{name}-link.patch | |
14 | URL: http://www.cinecert.com/asdcplib/ | |
15 | BuildRequires: autoconf >= 2.59 | |
16 | BuildRequires: automake >= 1:1.9 | |
17 | BuildRequires: expat-devel >= 1.95 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: openssl-devel >= 0.9.7 | |
20 | #BuildRequires: python-devel >= 2.3 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | The asdcplib library is a set of objects that offer simplified access | |
25 | to files conforming to the sound and picture track file formats | |
26 | developed by the SMPTE Working Group DC28.20 (now TC 21DC). | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Biblioteka asdcplib to zbiór obiektów oferujących uproszczony dostęp | |
30 | do plików zgodnych z formatami plików ścieżek dźwięku i obrazu | |
31 | opracowanych przez grupę roboczą SMPTE DC28.20 (obecnie TC 21DC). | |
32 | ||
33 | %package devel | |
34 | Summary: Header files for ASDCP library | |
35 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ASDCP | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Requires: openssl-devel >= 0.9.7 | |
39 | ||
40 | %description devel | |
41 | Header files for ASDCP library. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Pliki nagłówkowe biblioteki ASDCP. | |
45 | ||
46 | %package static | |
47 | Summary: Static ASDCP libraries | |
48 | Summary(pl.UTF-8): Statyczne biblioteki ASDCP | |
49 | Group: Development/Libraries | |
50 | Requires: %{name}-devel = %{version}-%{release} | |
51 | ||
52 | %description static | |
53 | Static ASDCP libraries. | |
54 | ||
55 | %description static -l pl.UTF-8 | |
56 | Statyczne biblioteki ASDCP. | |
57 | ||
58 | %prep | |
59 | %setup -q | |
60 | %patch0 -p1 | |
61 | ||
62 | %build | |
63 | %{__libtoolize} | |
64 | %{__aclocal} -I m4 | |
65 | %{__autoconf} | |
66 | %{__automake} | |
67 | %configure \ | |
68 | --with-expat=/usr \ | |
69 | --with-openssl=/usr | |
70 | # --with-python is broken (required files missing in tarball) | |
71 | ||
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | # obsoleted by pkg-config | |
81 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc COPYING README | |
92 | %attr(755,root,root) %{_bindir}/asdcp-info | |
93 | %attr(755,root,root) %{_bindir}/asdcp-test | |
94 | %attr(755,root,root) %{_bindir}/asdcp-unwrap | |
95 | %attr(755,root,root) %{_bindir}/asdcp-util | |
96 | %attr(755,root,root) %{_bindir}/asdcp-wrap | |
97 | %attr(755,root,root) %{_bindir}/blackwave | |
98 | %attr(755,root,root) %{_bindir}/j2c-test | |
99 | %attr(755,root,root) %{_bindir}/klvsplit | |
100 | %attr(755,root,root) %{_bindir}/klvwalk | |
101 | %attr(755,root,root) %{_bindir}/kmfilegen | |
102 | %attr(755,root,root) %{_bindir}/kmrandgen | |
103 | %attr(755,root,root) %{_bindir}/kmuuidgen | |
104 | %attr(755,root,root) %{_bindir}/wavesplit | |
105 | %attr(755,root,root) %{_libdir}/libasdcp-%{version}.so | |
106 | %attr(755,root,root) %{_libdir}/libkumu-%{version}.so | |
107 | ||
108 | %files devel | |
109 | %defattr(644,root,root,755) | |
110 | %attr(755,root,root) %{_libdir}/libasdcp.so | |
111 | %attr(755,root,root) %{_libdir}/libkumu.so | |
112 | %{_includedir}/AS_DCP.h | |
113 | %{_includedir}/KM_*.h | |
114 | %{_pkgconfigdir}/asdcplib.pc | |
115 | ||
116 | %files static | |
117 | %defattr(644,root,root,755) | |
118 | %{_libdir}/libasdcp.a | |
119 | %{_libdir}/libkumu.a |