]>
Commit | Line | Data |
---|---|---|
4562df28 | 1 | Summary: GMerlin Audio Video Library |
e0788c4a | 2 | Summary(pl.UTF-8): Biblioteka audio/video GMerlin |
4562df28 | 3 | Name: gavl |
4 | Version: 0.2.4 | |
5 | Release: 0.1 | |
6 | License: GPL | |
c933f0fe | 7 | Group: Libraries |
4562df28 | 8 | Source0: http://dl.sourceforge.net/gmerlin/%{name}-%{version}.tar.gz |
9 | # Source0-md5: ba7989a9344026827b34e797b0a58d87 | |
c933f0fe | 10 | Patch0: %{name}-make.patch |
07f63a99 | 11 | Patch1: %{name}-non-x86.patch |
4562df28 | 12 | URL: http://gmerlin.sourceforge.net/gavl_frame.html |
c933f0fe JB |
13 | BuildRequires: autoconf >= 2.50 |
14 | BuildRequires: automake | |
15 | BuildRequires: libtool | |
4562df28 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
bcf4a5be JB |
19 | GMerlin Audio Video Library. |
20 | ||
942b201b | 21 | %description -l pl.UTF-8 |
bcf4a5be | 22 | Biblioteka audio/video GMerlin. |
4562df28 | 23 | |
24 | %package devel | |
25 | Summary: Header files for gavl library | |
e0788c4a | 26 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gavl |
4562df28 | 27 | Group: Development/Libraries |
28 | Requires: %{name} = %{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | This is the package containing the header files for gavl library. | |
32 | ||
942b201b JR |
33 | %description devel -l pl.UTF-8 |
34 | Ten pakiet zawiera pliki nagłówkowe biblioteki gavl. | |
4562df28 | 35 | |
36 | %package static | |
37 | Summary: Static gavl library | |
e0788c4a | 38 | Summary(pl.UTF-8): Statyczna biblioteka gavl |
4562df28 | 39 | Group: Development/Libraries |
40 | Requires: %{name}-devel = %{version}-%{release} | |
41 | ||
42 | %description static | |
43 | Static gavl library. | |
44 | ||
942b201b | 45 | %description static -l pl.UTF-8 |
bcf4a5be | 46 | Statyczna biblioteka gavl. |
4562df28 | 47 | |
48 | %prep | |
49 | %setup -q | |
c933f0fe | 50 | %patch0 -p1 |
07f63a99 | 51 | %patch1 -p1 |
4562df28 | 52 | |
53 | %build | |
c933f0fe JB |
54 | %{__libtoolize} |
55 | %{__aclocal} -I m4 | |
56 | %{__autoconf} | |
57 | %{__autoheader} | |
58 | %{__automake} | |
4562df28 | 59 | %configure |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
c933f0fe | 76 | %doc AUTHORS README TODO |
bcf4a5be | 77 | %attr(755,root,root) %{_libdir}/libgavl.so.*.*.* |
4562df28 | 78 | |
79 | %files devel | |
bcf4a5be JB |
80 | %defattr(644,root,root,755) |
81 | %attr(755,root,root) %{_libdir}/libgavl.so | |
82 | %{_libdir}/libgavl.la | |
4562df28 | 83 | %{_libdir}/gavl |
bcf4a5be | 84 | %{_includedir}/gavl |
c933f0fe | 85 | %{_pkgconfigdir}/gavl.pc |
4562df28 | 86 | |
87 | %files static | |
bcf4a5be JB |
88 | %defattr(644,root,root,755) |
89 | %{_libdir}/libgavl.a |