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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
5
libscew1.changes
Normal file
5
libscew1.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 24 23:39:52 CST 2014 - ramaxlo@gmail.com
|
||||
|
||||
- first import.
|
||||
|
||||
79
libscew1.spec
Normal file
79
libscew1.spec
Normal file
@@ -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
|
||||
3
scew-1.1.7.tar.gz
Normal file
3
scew-1.1.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b7b4d69723e1a6d550bbc294e68673d1c7c0d9825ce8a51415c46a565109a50
|
||||
size 475151
|
||||
Reference in New Issue
Block a user