OBS User unknown 2008-09-13 03:04:06 +00:00 committed by Git OBS Bridge
parent 2318fdfac5
commit 96dbe0c912
3 changed files with 41 additions and 16 deletions

View 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

View File

@ -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

View File

@ -2,9 +2,16 @@
# spec file for package libiec61883 (Version 1.1.0)
#
# 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/
#
@ -14,13 +21,14 @@
Name: libiec61883
BuildRequires: libraw1394-devel pkgconfig
Version: 1.1.0
Release: 87
Release: 119
License: GPL v2 or later
Summary: Implementation of IEC 61883
Url: http://www.linux1394.org/
Group: System/Kernel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.linux1394.org/files/libiec61883/%{name}-%{version}.tar.bz2
Patch0: libiec61883-1.1.0-lfs.patch
%description
This library is an implementation of IEC 61883, part 1 (CIP, plug
@ -48,8 +56,7 @@ Authors:
License: GPL v2 or later
Summary: Implementation of IEC 61883
Group: System/Kernel
Requires: %{name} == %{version} libraw1394-devel
AutoProv: no
Requires: %{name} = %{version} libraw1394-devel
%description devel
This library is an implementation of IEC 61883, part 1 (CIP, plug
@ -75,27 +82,25 @@ Authors:
%prep
%setup -q
%patch0
%build
autoreconf --force --install
export CFLAGS="%optflags -fno-strict-aliasing -D_FILE_OFFSET_BITS=64"
./configure --prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir}
autoreconf -fiv
export CFLAGS="%optflags -fno-strict-aliasing"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all
%install
%{__make} install DESTDIR=%{buildroot}
libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir}
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf "${RPM_BUILD_ROOT}"
%post
%run_ldconfig
%post -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -108,12 +113,13 @@ rm -rf "${RPM_BUILD_ROOT}"
%defattr(-,root,root)
%{_includedir}/libiec61883
%defattr(644,root,root)
%{_libdir}/lib*.la
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/lib*.pc
%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
- added baselibs.conf file to build xxbit packages
for multilib support