Accepting request 102603 from home:MargueriteSu:gimp-2.7
this is a dependency of new gimp 2.8+, I need to push it to Factory OBS-URL: https://build.opensuse.org/request/show/102603 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libspiro?expand=0&rev=1
This commit is contained in:
commit
6079b084af
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
|
15
libspiro0.changes
Normal file
15
libspiro0.changes
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 3 08:45:43 UTC 2012 - i@marguerite.su
|
||||||
|
|
||||||
|
- make license SPDX compatible.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 25 19:03:37 UTC 2011 - i@marguerite.su
|
||||||
|
|
||||||
|
- enable debuginfo package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 26 15:51:32 UTC 2011 - i@marguerite.su
|
||||||
|
|
||||||
|
- formated specfile to merge into home:opensuse_zh
|
||||||
|
|
115
libspiro0.spec
Normal file
115
libspiro0.spec
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libspiro0
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define tarversion 20071029
|
||||||
|
%define libname libspiro
|
||||||
|
|
||||||
|
Name: libspiro0
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 1.1
|
||||||
|
Summary: A clothoid to bezier spline converter
|
||||||
|
License: BSD3c
|
||||||
|
Group: System/Libraries
|
||||||
|
Source0: %{libname}_src-%{tarversion}.tar.bz2
|
||||||
|
Url: http://libspiro.sourceforge.net
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
# bug437293
|
||||||
|
%ifarch ppc64
|
||||||
|
Obsoletes: %{name}-64bit
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
libspiro contains routines which will convert an array of clothoid
|
||||||
|
spline control points into an equivalent set of bezier control points.
|
||||||
|
|
||||||
|
Authors
|
||||||
|
-------
|
||||||
|
Raph Levien <raph.levien@gmail.com>
|
||||||
|
George Williams <gww@silcom.com>
|
||||||
|
|
||||||
|
|
||||||
|
%package -n %{libname}-devel
|
||||||
|
License: BSD3c
|
||||||
|
Summary: Development Files for %{name}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name} = %{version} glibc-devel
|
||||||
|
# bug437293
|
||||||
|
%ifarch ppc64
|
||||||
|
Obsoletes: %{name}-devel-64bit
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description -n %{libname}-devel
|
||||||
|
This package contains all necessary include files and libraries needed
|
||||||
|
to compile and develop applications that use %{name}.
|
||||||
|
|
||||||
|
Authors
|
||||||
|
-------
|
||||||
|
Raph Levien <raph.levien@gmail.com>
|
||||||
|
George Williams <gww@silcom.com>
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{libname}-%{tarversion}
|
||||||
|
|
||||||
|
%build
|
||||||
|
# autoreconf -fi
|
||||||
|
%configure --with-pic\
|
||||||
|
--disable-static
|
||||||
|
make %{?smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
cat > %{libname}.pc << EOF
|
||||||
|
prefix=%{_prefix}
|
||||||
|
exec_prefix=%{_exec_prefix}
|
||||||
|
libdir=%{_libdir}
|
||||||
|
includedir=%{_includedir}
|
||||||
|
|
||||||
|
Name: %{name}
|
||||||
|
Description: %{summary}
|
||||||
|
Requires:
|
||||||
|
Version: %{name}
|
||||||
|
Libs: -L\${libdir} -lspiro -lm
|
||||||
|
Cflags: -I\${includedir}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
|
||||||
|
mv *.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc gpl.txt README*
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files -n %{libname}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%changelog
|
3
libspiro_src-20071029.tar.bz2
Normal file
3
libspiro_src-20071029.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1efeb1527bd48f8787281e8be1d0e8ff2e584d4c1994a0bc2f6859be2ffad4cf
|
||||||
|
size 172484
|
Loading…
Reference in New Issue
Block a user