Group :: Desenvolvimento/C
RPM: libuna
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
#
# 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.
Name: libuna
Version: 20130728
Release: alt1
Summary: Library to support Unicode and ASCII (byte string) conversions
License: LGPLv3+
Group: Development/C
Url: http://code.google.com/p/libuna/
#DL-URL: https://googledrive.com/host/0B3fBvzttpiiSaXBjN1ZJVzVsbjQ/libuna-alpha-20130728.tar.gz
Source: %name-alpha-%version.tar.gz
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcfile) >= 20120526
BuildRequires: pkgconfig(libclocale) >= 20120425
BuildRequires: pkgconfig(libcnotify) >= 20121224
# these fail to build with factory version, so use internal version. Verified 10/20/13
#BuildRequires: pkgconfig(libcerror) > 20130904
%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 tools
Summary: Utilities from libuna for Unicode/ASCII Byte Stream conversions
Group: Text tools
%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/C
Requires: %name = %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
%build
%configure \
--disable-static \
--enable-wide-character-type \
--enable-python
%make_build
%install
%makeinstall_std
%files
%doc AUTHORS ChangeLog ABOUT-NLS
%_libdir/*.so.*
%files tools
%_bindir/*
%_man1dir/*
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*
%changelog
…
Todas as alterações você pod ver aqui
# 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.
Name: libuna
Version: 20130728
Release: alt1
Summary: Library to support Unicode and ASCII (byte string) conversions
License: LGPLv3+
Group: Development/C
Url: http://code.google.com/p/libuna/
#DL-URL: https://googledrive.com/host/0B3fBvzttpiiSaXBjN1ZJVzVsbjQ/libuna-alpha-20130728.tar.gz
Source: %name-alpha-%version.tar.gz
Packager: Michael Shigorin <mike at altlinux.org>
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcfile) >= 20120526
BuildRequires: pkgconfig(libclocale) >= 20120425
BuildRequires: pkgconfig(libcnotify) >= 20121224
# these fail to build with factory version, so use internal version. Verified 10/20/13
#BuildRequires: pkgconfig(libcerror) > 20130904
%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 tools
Summary: Utilities from libuna for Unicode/ASCII Byte Stream conversions
Group: Text tools
%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/C
Requires: %name = %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
%build
%configure \
--disable-static \
--enable-wide-character-type \
--enable-python
%make_build
%install
%makeinstall_std
%files
%doc AUTHORS ChangeLog ABOUT-NLS
%_libdir/*.so.*
%files tools
%_bindir/*
%_man1dir/*
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*
%changelog
…
Todas as alterações você pod ver aqui