]> git.pld-linux.org Git - packages/gavl.git/blame_incremental - gavl.spec
- soname change
[packages/gavl.git] / gavl.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without apidocs # without doc
4#
5Summary: GMerlin Audio Video Library
6Summary(pl.UTF-8): Biblioteka audio/video GMerlin
7Name: gavl
8Version: 1.2.0
9Release: 1
10License: GPL v3
11Group: Libraries
12Source0: http://dl.sourceforge.net/gmerlin/%{name}-%{version}.tar.gz
13# Source0-md5: f7dd25d3ef26a8d22f947e9383d251e7
14Patch0: %{name}-make.patch
15URL: http://gmerlin.sourceforge.net/gavl_frame.html
16BuildRequires: autoconf >= 2.50
17BuildRequires: automake
18%{?with_apidocs:BuildRequires: doxygen}
19BuildRequires: libpng-devel
20BuildRequires: libtool
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define specflags -fomit-frame-pointer -ffast-math
24
25%description
26GMerlin Audio Video Library.
27
28%description -l pl.UTF-8
29Biblioteka audio/video GMerlin.
30
31%package devel
32Summary: Header files for gavl library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gavl
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36
37%description devel
38This is the package containing the header files for gavl library.
39
40%description devel -l pl.UTF-8
41Ten pakiet zawiera pliki nagłówkowe biblioteki gavl.
42
43%package static
44Summary: Static gavl library
45Summary(pl.UTF-8): Statyczna biblioteka gavl
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static gavl library.
51
52%description static -l pl.UTF-8
53Statyczna biblioteka gavl.
54
55%prep
56%setup -q
57%patch0 -p1
58
59%build
60%{__libtoolize}
61%{__aclocal} -I m4
62%{__autoconf}
63%{__autoheader}
64%{__automake}
65%configure \
66 --enable-shared \
67 --enable-static \
68 %{!?with_apidocs:--without-doxygen} \
69 --with-cpuflags=none
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78%{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/*.la,%{_prefix}/share/doc/%{name}}
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
88%doc AUTHORS README TODO
89%attr(755,root,root) %ghost %{_libdir}/libgavl.so.?
90%attr(755,root,root) %{_libdir}/libgavl.so.*.*.*
91
92%files devel
93%defattr(644,root,root,755)
94%{?with_apidocs:%doc doc/apiref}
95%attr(755,root,root) %{_libdir}/libgavl.so
96%{_includedir}/gavl
97%{_pkgconfigdir}/gavl.pc
98
99%files static
100%defattr(644,root,root,755)
101%{_libdir}/libgavl.a
This page took 0.04015 seconds and 4 git commands to generate.