forked from pool/libuna
Accepting request 163813 from devel:libraries:c_c++
Joachim Metz has created a set of c libraries used by security tools. The libxxx packages often include basic applications sub-packages which are useful by themselves. OBS-URL: https://build.opensuse.org/request/show/163813 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libuna?expand=0&rev=1
This commit is contained in:
commit
e684aae234
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
libuna-alpha-20130103.tar.xz
Normal file
3
libuna-alpha-20130103.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1aad29ea56d806fff0e776c04e5bb8f90f49d9c864285ea08d848b0b471430e
|
||||
size 885944
|
4
libuna.changes
Normal file
4
libuna.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 22:51:35 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Initial package (version 0~20130103) for build.opensuse.org
|
104
libuna.spec
Normal file
104
libuna.spec
Normal file
@ -0,0 +1,104 @@
|
||||
#
|
||||
# spec file for package libuna
|
||||
#
|
||||
# Copyright (c) 2013 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: libuna
|
||||
%define lname libuna1
|
||||
%define timestamp 20130103
|
||||
Version: 0~%timestamp
|
||||
Release: 0
|
||||
License: LGPL-3.0+
|
||||
Summary: Library to support Unicode and ASCII (byte string) conversions
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://code.google.com/p/libuna/
|
||||
|
||||
#DL-URL: http://libuna.googlecode.com/files/libuna-alpha-%timestamp.tar.gz
|
||||
Source: %name-alpha-%timestamp.tar.xz
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
||||
#BuildRequires: pkgconfig(libcfile) >= 20120526
|
||||
#BuildRequires: pkgconfig(libclocale) >= 20120425
|
||||
#BuildRequires: pkgconfig(libcnotify) >= 20120425
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libuna is a library to support Unicode and ASCII (byte string)
|
||||
conversions. It currently supports: 7-bit ASCII, ISO 8859-{1..15},
|
||||
Windows 874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255,
|
||||
1256, 1257, 1258, KOI8-R, KOI8-U, UTF-7, UTF-8, UTF-16, UTF-32.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library to support Unicode and ASCII (byte string) conversions
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
libuna is a library to support Unicode and ASCII (byte string)
|
||||
conversions.
|
||||
|
||||
%package tools
|
||||
Summary: Utilities from libuna for Unicode/ASCII Byte Stream conversions
|
||||
Group: Development/Tools/Other
|
||||
|
||||
%description tools
|
||||
Several tools for converting Unicode and ASCII (byte stream) based text.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libuna, a library to support Unicode/ASCII conversions
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
libuna is a library to support Unicode and ASCII (byte string)
|
||||
conversions.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libuna.
|
||||
|
||||
%prep
|
||||
%setup -qn libuna-%timestamp
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-wide-character-type --enable-python
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog ABOUT-NLS
|
||||
%_libdir/libuna.so.1*
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%_bindir/una*
|
||||
%_mandir/man1/unaexport.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libuna*
|
||||
%_libdir/libuna.so
|
||||
%_libdir/pkgconfig/libuna.pc
|
||||
%_mandir/man3/libuna.3*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user