|
|
@@ -23,8 +23,12 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
-# ms: JUNK because of core dumps on FreeBSD. The real problem might be the
|
|
|
-# package xine-ui instead, but I'm not sure.
|
|
|
+# FIXME: ms: JUNK because of core dumps on FreeBSD. The real problem might be the..
|
|
|
+# FIXME: ms: ...package xine-ui instead, but I'm not sure.
|
|
|
+
|
|
|
+# package version
|
|
|
+%define V_dist 1-beta12
|
|
|
+%define V_opkg 1.0b12
|
|
|
|
|
|
# package information
|
|
|
Name: xine-lib
|
|
|
@@ -35,11 +39,11 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [JUNK]
|
|
|
Group: Video
|
|
|
License: GPL
|
|
|
-Version: 1
|
|
|
-Release: 20030514
|
|
|
+Version: %{V_opkg}
|
|
|
+Release: 20030604
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: http://download.sourceforge.net/xine/xine-lib-%{version}-beta12.tar.gz
|
|
|
+Source0: http://download.sourceforge.net/xine/xine-lib-%{V_dist}.tar.gz
|
|
|
Patch0: xine-lib.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -59,8 +63,8 @@ AutoReqProv: no
|
|
|
uncommon formats, too.
|
|
|
|
|
|
%prep
|
|
|
- %setup -q -n xine-lib-1-beta12
|
|
|
- %patch -p1
|
|
|
+ %setup -q -n xine-lib-%{V_dist}
|
|
|
+ %patch -p0
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
|
@@ -95,7 +99,9 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/aclocal \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/doc \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/locale
|
|
|
- %{l_shtool} subst -e 's;\(\)libxine\.so[\ \.0-9]*\(\);\1\2;g' $RPM_BUILD_ROOT%{l_prefix}/lib/libxine.la
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;\(\)libxine\.so[\ \.0-9]*\(\);\1\2;g' \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/lib/libxine.la
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|
|
|
'%not %dir %{l_prefix}/lib/pkgconfig'
|