]>
Commit | Line | Data |
---|---|---|
c2e6ef43 JB |
1 | Summary: The ASDCP library |
2 | Summary(pl.UTF-8): Biblioteka ASDCP | |
3 | Name: asdcplib | |
77287524 | 4 | Version: 2.13.0 |
204ceb05 | 5 | %define git_tag rel_%(echo %{version} | tr . _) |
0a4310de | 6 | Release: 1 |
c2e6ef43 JB |
7 | License: BSD |
8 | Group: Libraries | |
0a4310de | 9 | #Source0Download: https://github.com/cinecert/asdcplib/tags |
204ceb05 | 10 | Source0: https://github.com/cinecert/asdcplib/archive/%{git_tag}/%{name}-%{git_tag}.tar.gz |
77287524 | 11 | # Source0-md5: a7287ace6dbec14cd53cba9a5a06aca7 |
5b481465 JB |
12 | # from asdcplib 1.12.60 sources |
13 | Source1: %{name}.pc.in | |
c2e6ef43 JB |
14 | Patch0: %{name}-link.patch |
15 | URL: http://www.cinecert.com/asdcplib/ | |
16 | BuildRequires: autoconf >= 2.59 | |
17 | BuildRequires: automake >= 1:1.9 | |
18 | BuildRequires: expat-devel >= 1.95 | |
19 | BuildRequires: libtool | |
20 | BuildRequires: openssl-devel >= 0.9.7 | |
c2e6ef43 JB |
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 | |
204ceb05 | 59 | %setup -q -n %{name}-%{git_tag} |
c2e6ef43 JB |
60 | %patch0 -p1 |
61 | ||
62 | %build | |
63 | %{__libtoolize} | |
64 | %{__aclocal} -I m4 | |
65 | %{__autoconf} | |
66 | %{__automake} | |
67 | %configure \ | |
68 | --with-expat=/usr \ | |
5b481465 JB |
69 | --with-openssl=/usr \ |
70 | --enable-as-02 \ | |
71 | --enable-phdr | |
c2e6ef43 JB |
72 | |
73 | %{__make} | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
5b481465 JB |
81 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} |
82 | sed -e 's,@prefix@,%{_prefix},;s,@exec_prefix@,%{_prefix},;s,@libdir@,%{_libdir},;s,@includedir@,%{_includedir},;s,@PACKAGE_VERSION@,%{version},' %{SOURCE1} >$RPM_BUILD_ROOT%{_pkgconfigdir}/asdcplib.pc | |
83 | ||
c2e6ef43 JB |
84 | # obsoleted by pkg-config |
85 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
86 | ||
87 | %clean | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %post -p /sbin/ldconfig | |
91 | %postun -p /sbin/ldconfig | |
92 | ||
93 | %files | |
94 | %defattr(644,root,root,755) | |
204ceb05 | 95 | %doc COPYING README.md |
b0e4021a | 96 | %attr(755,root,root) %{_bindir}/as-02-info |
5b481465 JB |
97 | %attr(755,root,root) %{_bindir}/as-02-unwrap |
98 | %attr(755,root,root) %{_bindir}/as-02-wrap | |
0a4310de JB |
99 | %attr(755,root,root) %{_bindir}/as-02-wrap-iab |
100 | %attr(755,root,root) %{_bindir}/as-02-wrap-jxs | |
c2e6ef43 JB |
101 | %attr(755,root,root) %{_bindir}/asdcp-info |
102 | %attr(755,root,root) %{_bindir}/asdcp-test | |
103 | %attr(755,root,root) %{_bindir}/asdcp-unwrap | |
104 | %attr(755,root,root) %{_bindir}/asdcp-util | |
105 | %attr(755,root,root) %{_bindir}/asdcp-wrap | |
106 | %attr(755,root,root) %{_bindir}/blackwave | |
107 | %attr(755,root,root) %{_bindir}/j2c-test | |
108 | %attr(755,root,root) %{_bindir}/klvsplit | |
109 | %attr(755,root,root) %{_bindir}/klvwalk | |
110 | %attr(755,root,root) %{_bindir}/kmfilegen | |
111 | %attr(755,root,root) %{_bindir}/kmrandgen | |
112 | %attr(755,root,root) %{_bindir}/kmuuidgen | |
113 | %attr(755,root,root) %{_bindir}/wavesplit | |
5b481465 JB |
114 | %attr(755,root,root) %{_bindir}/phdr-unwrap |
115 | %attr(755,root,root) %{_bindir}/phdr-wrap | |
116 | %attr(755,root,root) %{_bindir}/pinkwave | |
117 | %attr(755,root,root) %{_libdir}/libas02-%{version}.so | |
c2e6ef43 JB |
118 | %attr(755,root,root) %{_libdir}/libasdcp-%{version}.so |
119 | %attr(755,root,root) %{_libdir}/libkumu-%{version}.so | |
5b481465 | 120 | %attr(755,root,root) %{_libdir}/libphdr-%{version}.so |
c2e6ef43 JB |
121 | |
122 | %files devel | |
123 | %defattr(644,root,root,755) | |
5b481465 | 124 | %attr(755,root,root) %{_libdir}/libas02.so |
c2e6ef43 JB |
125 | %attr(755,root,root) %{_libdir}/libasdcp.so |
126 | %attr(755,root,root) %{_libdir}/libkumu.so | |
5b481465 JB |
127 | %attr(755,root,root) %{_libdir}/libphdr.so |
128 | %{_includedir}/AS_02.h | |
0a4310de JB |
129 | %{_includedir}/AS_02_ACES.h |
130 | %{_includedir}/AS_02_IAB.h | |
131 | %{_includedir}/AS_02_JXS.h | |
5b481465 | 132 | %{_includedir}/AS_02_PHDR.h |
c2e6ef43 | 133 | %{_includedir}/AS_DCP.h |
0a4310de | 134 | %{_includedir}/AS_DCP_JXS.h |
c2e6ef43 JB |
135 | %{_includedir}/KM_*.h |
136 | %{_pkgconfigdir}/asdcplib.pc | |
137 | ||
138 | %files static | |
139 | %defattr(644,root,root,755) | |
5b481465 | 140 | %{_libdir}/libas02.a |
c2e6ef43 JB |
141 | %{_libdir}/libasdcp.a |
142 | %{_libdir}/libkumu.a | |
5b481465 | 143 | %{_libdir}/libphdr.a |