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