From ed8715c91ff8fe7d32c75bcaa853abeaaa112c1f446389673e46ff43ca80c5e9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 26 Dec 2014 20:25:55 +0000 Subject: [PATCH] Accepting request 266448 from home:ramax I want to maintain libscew in Factory and would like to use devel:libraries:c_c++ as the devel project. OBS-URL: https://build.opensuse.org/request/show/266448 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libscew?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + libscew1.changes | 5 +++ libscew1.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++ scew-1.1.7.tar.gz | 3 ++ 5 files changed, 111 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libscew1.changes create mode 100644 libscew1.spec create mode 100644 scew-1.1.7.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libscew1.changes b/libscew1.changes new file mode 100644 index 0000000..b8d13c0 --- /dev/null +++ b/libscew1.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Dec 24 23:39:52 CST 2014 - ramaxlo@gmail.com + +- first import. + diff --git a/libscew1.spec b/libscew1.spec new file mode 100644 index 0000000..75e3f4a --- /dev/null +++ b/libscew1.spec @@ -0,0 +1,79 @@ +# +# 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/ +# + + +Name: libscew1 +Version: 1.1.7 +Release: 0 +Url: http://www.nongnu.org/scew/ +Summary: Simple C Expat Wrapper +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ +Source0: scew-%{version}.tar.gz +BuildRoot: %{_tmppath}/scew-%{version}-build +BuildRequires: libexpat-devel +BuildRequires: pkg-config + +%description +The aim of SCEW is to provide an easy interface around the XML Expat +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 every time you want to load a +new XML document. + +%package -n libscew-devel +Summary: Simple C Expat Wrapper +Group: Development/Libraries/C and C++ +Requires: libscew1 = %{version} + +%description -n libscew-devel +The aim of SCEW is to provide an easy interface around the XML Expat +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 every time you want to load a +new XML document. + +This package contains the development headers for the library found +in libscew. + +%prep +%setup -q -n scew-1.1.7 + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +make DESTDIR=$RPM_BUILD_ROOT install +# remove .la file +rm -f %{buildroot}%{_libdir}/libscew.la + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/libscew.so.* + +%files -n libscew-devel +%defattr(-, root, root) +%{_includedir}/* +%{_libdir}/libscew.so +%{_libdir}/pkgconfig/scew.pc + +%changelog diff --git a/scew-1.1.7.tar.gz b/scew-1.1.7.tar.gz new file mode 100644 index 0000000..b9d4e17 --- /dev/null +++ b/scew-1.1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b7b4d69723e1a6d550bbc294e68673d1c7c0d9825ce8a51415c46a565109a50 +size 475151