This commit is contained in:
parent
2318fdfac5
commit
96dbe0c912
13
libiec61883-1.1.0-lfs.patch
Normal file
13
libiec61883-1.1.0-lfs.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- configure.ac.orig 2006-09-24 21:06:16.000000000 +0200
|
||||||
|
+++ configure.ac 2008-09-12 23:00:56.000000000 +0200
|
||||||
|
@@ -10,7 +10,7 @@ AC_PROG_INSTALL
|
||||||
|
|
||||||
|
AC_C_CONST
|
||||||
|
AC_C_BIGENDIAN
|
||||||
|
-
|
||||||
|
+AC_SYS_LARGEFILE
|
||||||
|
PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 1.2.1)
|
||||||
|
|
||||||
|
# set the libtool so version numbers
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 12 23:12:47 CEST 2008 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove "la" files and static libraries
|
||||||
|
- use AC_SYS_LARGEFILE to detect the need of _FILE_OFFSET_BITS=64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||||
|
|
||||||
|
@ -2,9 +2,16 @@
|
|||||||
# spec file for package libiec61883 (Version 1.1.0)
|
# spec file for package libiec61883 (Version 1.1.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -14,13 +21,14 @@
|
|||||||
Name: libiec61883
|
Name: libiec61883
|
||||||
BuildRequires: libraw1394-devel pkgconfig
|
BuildRequires: libraw1394-devel pkgconfig
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 87
|
Release: 119
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Summary: Implementation of IEC 61883
|
Summary: Implementation of IEC 61883
|
||||||
Url: http://www.linux1394.org/
|
Url: http://www.linux1394.org/
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: http://www.linux1394.org/files/libiec61883/%{name}-%{version}.tar.bz2
|
Source0: http://www.linux1394.org/files/libiec61883/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: libiec61883-1.1.0-lfs.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is an implementation of IEC 61883, part 1 (CIP, plug
|
This library is an implementation of IEC 61883, part 1 (CIP, plug
|
||||||
@ -48,8 +56,7 @@ Authors:
|
|||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Summary: Implementation of IEC 61883
|
Summary: Implementation of IEC 61883
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Requires: %{name} == %{version} libraw1394-devel
|
Requires: %{name} = %{version} libraw1394-devel
|
||||||
AutoProv: no
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This library is an implementation of IEC 61883, part 1 (CIP, plug
|
This library is an implementation of IEC 61883, part 1 (CIP, plug
|
||||||
@ -75,27 +82,25 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force --install
|
autoreconf -fiv
|
||||||
export CFLAGS="%optflags -fno-strict-aliasing -D_FILE_OFFSET_BITS=64"
|
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||||
./configure --prefix=/usr \
|
%configure --disable-static --with-pic
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--mandir=%{_mandir}
|
|
||||||
%{__make} %{?jobs:-j%jobs} all
|
%{__make} %{?jobs:-j%jobs} all
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} install DESTDIR=%{buildroot}
|
%{__make} install DESTDIR=%{buildroot}
|
||||||
libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir}
|
libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir}
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf "${RPM_BUILD_ROOT}"
|
rm -rf "${RPM_BUILD_ROOT}"
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -108,12 +113,13 @@ rm -rf "${RPM_BUILD_ROOT}"
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/libiec61883
|
%{_includedir}/libiec61883
|
||||||
%defattr(644,root,root)
|
%defattr(644,root,root)
|
||||||
%{_libdir}/lib*.la
|
|
||||||
%{_libdir}/lib*.a
|
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/pkgconfig/lib*.pc
|
%{_libdir}/pkgconfig/lib*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 13 2008 crrodriguez@suse.de
|
||||||
|
- remove "la" files and static libraries
|
||||||
|
- use AC_SYS_LARGEFILE to detect the need of _FILE_OFFSET_BITS=64
|
||||||
* Thu Apr 10 2008 ro@suse.de
|
* Thu Apr 10 2008 ro@suse.de
|
||||||
- added baselibs.conf file to build xxbit packages
|
- added baselibs.conf file to build xxbit packages
|
||||||
for multilib support
|
for multilib support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user