aboutsummaryrefslogtreecommitdiff
path: root/lib/libdvd/libdvdread/misc/libdvdread.spec.in
blob: 44168576c1ddd67efc407b674f4adc1be416d29b (plain)
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
%define	prefix  @prefix@
%define name    @PACKAGE_NAME@
%define ver     @PACKAGE_VERSION@
%define rel     0

Name:		%{name}
Summary:	Low level DVD access library
Version:	%{ver}
Release:	%{rel}
Group:		Development/Libraries
Copyright:	GPL
Url:		http://dvd.sourceforge.net/
Source:		%{name}-%{version}.tar.gz
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root

%description
libdvdread provides support to applications wishing to make use of basic
DVD reading features.

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} 
make

%install
rm -rf $RPM_BUILD_ROOT
make install-strip DESTDIR=$RPM_BUILD_ROOT

%clean
rm -r $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README
%{prefix}/bin/dvdread-config
%{prefix}/lib/libdvdread*.la
%{prefix}/lib/libdvdread*.so.*
%{prefix}/lib/libdvdread*.so
%{prefix}/include/libdvdread/*
@INSTALL_M4_TRUE@@ACLOCAL_DIR@/dvdread.m4

%changelog
* Sun Mar 18 2002 Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>
- Add missing files. Fix rpm generation.
* Tue Mar 12 2002 Rich Wareham <richwareham@users.sourceforge.net>
- Canabalisation to form libdvdnav spec file.
* Sun Sep 09 2001 Thomas Vander Stichele <thomas@apestaart.org>
- first spec file