libdvdnav.spec.in 1.21 KB
Newer Older
1
%define	prefix  @prefix@
2 3
%define name    @PACKAGE_NAME@
%define ver     @PACKAGE_VERSION@
4 5
%define rel     0

6 7 8 9 10 11 12 13 14
Name:		%{name}
Summary:	DVD Navigation 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
15 16 17

%description
libdvdnav provides support to applications wishing to make use of advanced
18 19
DVD navigation features.

20 21 22 23
%prep
%setup

%build
24
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
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
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/dvdnav-config
%{prefix}/lib/libdvdnav*.la
%{prefix}/lib/libdvdnav*.so.*
%{prefix}/lib/libdvdnav*.so
%{prefix}/include/dvdnav/*
@INSTALL_M4_TRUE@@ACLOCAL_DIR@/dvdnav.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