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