-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgavl.spec.in
95 lines (81 loc) · 2.36 KB
/
gavl.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Name: gavl
Version: @VERSION@
Release: 1
Summary: A library for handling uncompressed audio and video data
License: GPL
Group: Libraries
Group(de): Libraries
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
Group(pt_BR): Bibliotecas
Group(ru): 馍绿上耘松
Group(uk): 猞绿ο耘松
Source0: %{name}-%{version}.tar.gz
URL: http://gmerlin.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: libpng-devel >= 1.0.8
BuildRequires: libsamplerate-devel >= @SAMPLERATE_REQUIRED@
BuildRoot: /tmp/gavl
Requires: libsamplerate >= @SAMPLERATE_REQUIRED@
%description
Gavl is a library for handling and converting uncompressed audio and
video data. It provides datatypes for audio/video formats and standardized
structures to store the data. It supports converting between all formats.
Some conversion functions are available in multiple versions (MMX...),
which are selected by compile time configuration, CPU autodetection and
user options.
%package devel
Summary: Header files and static library for gavl
Summary(de): Header Dateien und statische Bibliothek f黵 gavl
Group: Development/Libraries
Group(de): Entwicklung/Libraries
Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Group(pt_BR): Desenvolvimento/Bibliotecas
Group(ru): 蛄谝谅显肆/馍绿上耘松
Group(uk): 蛳谝下肆/猞绿ο耘松
Requires: %{name} = %{version}
%description devel
Header files and static library for gavl
%prep
%setup -q
%build
./cvs_clean.sh
./autogen.sh
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
gzip -9nf README
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc README.gz
%attr(755,root,root) %{_libdir}/lib*.so.*
%files devel
%defattr(644,root,root)
# %doc docs/*.html
%{_libdir}/lib*.la
%{_libdir}/lib*.a
%defattr(-,root,root)
%{_includedir}/gavl
%{_libdir}/gavl/include/gavlconfig.h
%{_libdir}/pkgconfig/gavl.pc
%defattr(755,root,root)
%{_libdir}/lib*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* Sat Apr 01 2006 Burkhard Plaum <[email protected]>
- Fixes reported by various people
* Sat May 29 2004 Burkhard Plaum <[email protected]>
- Update
* Sat Mar 05 2003 Burkhard Plaum <[email protected]>
- First working release.