Accepting request 26044 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/libunistring based on submit request 26044 from user pgajdos OBS-URL: https://build.opensuse.org/request/show/26044 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunistring?expand=0&rev=1
This commit is contained in:
commit
2b5ceed0e6
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
|
3
libunistring-0.9.1.1.tar.bz2
Normal file
3
libunistring-0.9.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ce714d379c877eb1237d870ddba40111bc01ea0e22d091f76d8a8d8c42840da
|
||||
size 1888482
|
8
libunistring.changes
Normal file
8
libunistring.changes
Normal file
@ -0,0 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 24 19:47:57 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- initial version of package 0.9.1.1
|
||||
- spec file taken from
|
||||
http://www.pixelbeat.org/patches/libunistring
|
||||
(PĂĄdraig Brady <P@draigBrady.com)
|
||||
- needed by guile 1.9.0 and higher
|
121
libunistring.spec
Normal file
121
libunistring.spec
Normal file
@ -0,0 +1,121 @@
|
||||
#
|
||||
# spec file for package libunistring (Version 0.9.1.1)
|
||||
#
|
||||
# Copyright (c) 2009 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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libunistring
|
||||
Version: 0.9.1.1
|
||||
Release: 1
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: GNU Unicode string library
|
||||
License: LGPLv3+
|
||||
Url: http://www.gnu.org/software/libunistring/
|
||||
Source0: libunistring-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: info
|
||||
|
||||
%description
|
||||
This portable C library implements Unicode string types in three flavours:
|
||||
(UTF-8, UTF-16, UTF-32), together with functions for character processing
|
||||
(names, classifications, properties) and functions for string processing
|
||||
(iteration, formatted output, width, word breaks, line breaks, normalization,
|
||||
case folding and regular expressions).
|
||||
|
||||
%package devel
|
||||
License: LGPLv3+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: GNU Unicode string library - development files
|
||||
Requires: libunistring0 = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for programs using libunistring and documentation
|
||||
for UniString library.
|
||||
|
||||
%package -n libunistring0
|
||||
License: LGPLv3+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: GNU Unicode string library - development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n libunistring0
|
||||
This portable C library implements Unicode string types in three flavours:
|
||||
(UTF-8, UTF-16, UTF-32), together with functions for character processing
|
||||
(names, classifications, properties) and functions for string processing
|
||||
(iteration, formatted output, width, word breaks, line breaks, normalization,
|
||||
case folding and regular expressions).
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n libunistring-%{version}
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath --docdir=%{_docdir}/%{name}
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
|
||||
cp AUTHORS NEWS README HACKING DEPENDENCIES THANKS ChangeLog $RPM_BUILD_ROOT/%{_docdir}/%{name}
|
||||
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libunistring.la
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_docdir}/%{name}/AUTHORS
|
||||
%doc %{_docdir}/%{name}/NEWS
|
||||
%doc %{_docdir}/%{name}/README
|
||||
|
||||
%files -n libunistring0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libunistring.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/HACKING
|
||||
%doc %{_docdir}/%{name}/DEPENDENCIES
|
||||
%doc %{_docdir}/%{name}/THANKS
|
||||
%doc %{_docdir}/%{name}/ChangeLog
|
||||
%doc %{_docdir}/%{name}/*.html
|
||||
%{_infodir}/libunistring.info*
|
||||
%{_libdir}/libunistring.so
|
||||
%{_includedir}/unistring
|
||||
%{_includedir}/*.h
|
||||
|
||||
%post -n libunistring0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libunistring0 -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/libunistring.info.gz %{_infodir}/dir || :
|
||||
|
||||
%preun devel
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/libunistring.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user