Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
libdvdplay
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
libdvdplay.spec
@@ -1,73 +1,82 @@ - # norootforbuild -Name: libdvdplay +%define realname libdvdplay +%define soname 0 + +Name: %{realname}%{soname} +Version: 1.0.1 +Release: 6 License: GPL Group: Productivity/Multimedia/Other Summary: A Portable Abstraction Library for DVD Menu Support -Version: 1.0.1 -Release: 1.2 -Source0: http://www.videolan.org/pub/libdvdplay/%{version}/libdvdplay-%{version}.tar.bz2 URL: http://developers.videolan.org/libdvdplay/ + +Source0: http://www.videolan.org/pub/%{realname}/%{version}/%{realname}-%{version}.tar.bz2 + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libdvdread-devel + %description libdvdplay is a portable abstraction library for DVD menu support. It provides a simple API to access a DVD device as a block device. This package contains the libdvdplay runtime library. -%debug_package -%package devel +%package -n %{realname}-devel Summary: A portable abstraction library for DVD menus support Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} -%description devel +%description -n %{realname}-devel libdvdplay is a portable abstraction library for DVD menus support, it provides a simple API to access a DVD device as a block device. This package contains the libdvdplay static libraries and header files. +%debug_package + + %prep -%setup +%setup -q -n %{realname}-%{version} + %build -%{?suse_update_config:%{suse_update_config -f }} -autoreconf --force --install -export CFLAGS="$RPM_OPT_FLAGS" -./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include -make +%configure +%__make %{?jobs:-j%{jobs}} + %install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%makeinstall + %clean -rm -rf $RPM_BUILD_ROOT +%__rm -rf "%{buildroot}" + %post -%run_ldconfig +/sbin/ldconfig + %postun -%run_ldconfig +/sbin/ldconfig + %files %defattr(-,root,root) %{_libdir}/*.so.* %doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog -%files devel + +%files -n %{realname}-devel %defattr(-,root,root) -/usr/include/* +%{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la -%changelog -n libdvdplay + +%changelog * Fri Dec 28 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build -