2014-12-26 20:25:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package libscew
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-12-26 20:33:02 +00:00
|
|
|
Name: libscew
|
|
|
|
%define lname libscew1
|
2014-12-26 20:25:55 +00:00
|
|
|
Version: 1.1.7
|
|
|
|
Release: 0
|
2014-12-29 08:47:22 +00:00
|
|
|
Url: http://nongnu.org/scew/
|
2014-12-26 20:25:55 +00:00
|
|
|
Summary: Simple C Expat Wrapper
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
2014-12-29 08:47:22 +00:00
|
|
|
|
|
|
|
#Git-Clone: git://git.savannah.nongnu.org/scew
|
|
|
|
Source: http://savannah.nongnu.org/download/scew/scew-%version.tar.gz
|
2014-12-26 20:25:55 +00:00
|
|
|
BuildRoot: %{_tmppath}/scew-%{version}-build
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
|
|
|
|
%description
|
2014-12-29 08:47:22 +00:00
|
|
|
SCEW provides an easy interface around the Expat XML parser, as well
|
|
|
|
as a simple interface for creating new XML documents. It provides
|
|
|
|
functions to load and access XML elements without the need to create
|
|
|
|
Expat event handling routines.
|
2014-12-26 20:25:55 +00:00
|
|
|
|
2014-12-26 20:33:02 +00:00
|
|
|
%package -n libscew1
|
|
|
|
Summary: Simple C Expat Wrapper library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libscew1
|
2014-12-29 08:47:22 +00:00
|
|
|
SCEW provides an easy interface around the Expat XML parser, as well
|
|
|
|
as a simple interface for creating new XML documents. It provides
|
|
|
|
functions to load and access XML elements without the need to create
|
|
|
|
Expat event handling routines.
|
2014-12-26 20:33:02 +00:00
|
|
|
|
|
|
|
%package devel
|
2014-12-29 08:47:22 +00:00
|
|
|
Summary: Development files for the Simple C Expat Wrapper library
|
2014-12-26 20:25:55 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-12-26 20:33:02 +00:00
|
|
|
Requires: %lname = %version
|
2014-12-26 20:25:55 +00:00
|
|
|
|
2014-12-26 20:33:02 +00:00
|
|
|
%description devel
|
2014-12-29 08:47:22 +00:00
|
|
|
SCEW provides an easy interface around the Expat XML parser, as well
|
|
|
|
as a simple interface for creating new XML documents. It provides
|
|
|
|
functions to load and access XML elements without the need to create
|
|
|
|
Expat event handling routines.
|
2014-12-26 20:25:55 +00:00
|
|
|
|
2014-12-29 08:47:22 +00:00
|
|
|
This subpackage contains the development headers for SCEW.
|
2014-12-26 20:25:55 +00:00
|
|
|
|
|
|
|
%prep
|
2014-12-29 08:47:22 +00:00
|
|
|
%setup -qn scew-%version
|
2014-12-26 20:25:55 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2014-12-29 08:47:22 +00:00
|
|
|
%make_install
|
|
|
|
rm -f %{buildroot}/%{_libdir}/libscew.la
|
2014-12-26 20:25:55 +00:00
|
|
|
|
2014-12-26 20:33:02 +00:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2014-12-26 20:25:55 +00:00
|
|
|
|
2014-12-26 20:33:02 +00:00
|
|
|
%files -n %lname
|
2014-12-26 20:25:55 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libscew.so.*
|
|
|
|
|
2014-12-26 20:33:02 +00:00
|
|
|
%files devel
|
2014-12-26 20:25:55 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/libscew.so
|
|
|
|
%{_libdir}/pkgconfig/scew.pc
|
|
|
|
|
|
|
|
%changelog
|