You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.0 KiB
84 lines
2.0 KiB
11 years ago
|
# This package only contains header files.
|
||
|
%global debug_package %{nil}
|
||
|
|
||
|
Name: utf8cpp
|
||
|
Version: 2.3.4
|
||
|
Release: 4%{?dist}
|
||
|
Summary: A simple, portable and lightweight library for handling UTF-8 encoded strings
|
||
|
|
||
|
Group: Development/Libraries
|
||
|
License: Boost
|
||
|
URL: http://utfcpp.sourceforge.net/
|
||
|
Source0: http://downloads.sourceforge.net/utfcpp/utf8_v2_3_4.zip
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
Features include:
|
||
|
- iterating through UTF-8 encoded strings
|
||
|
- converting between UTF-8 and UTF-16/UTF-32
|
||
|
- detecting invalid UTF-8 sequences
|
||
|
|
||
|
This project currently only contains header files, which can be found in the
|
||
|
%{name}-devel package.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Header files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
BuildArch: noarch
|
||
|
Provides: %{name}-static = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
%{summary}.
|
||
|
|
||
|
Features include:
|
||
|
- iterating through UTF-8 encoded strings
|
||
|
- converting between UTF-8 and UTF-16/UTF-32
|
||
|
- detecting invalid UTF-8 sequences
|
||
|
|
||
|
This project currently only contains header files, which can be found in the
|
||
|
%{name}-devel package.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c %{name}-%{version}
|
||
|
|
||
|
|
||
|
%build
|
||
|
# nothing to do
|
||
|
|
||
|
|
||
|
%install
|
||
|
mkdir -p %{buildroot}%{_includedir}
|
||
|
install -p -m0644 source/utf8.h %{buildroot}%{_includedir}/utf8.h
|
||
|
mkdir -p %{buildroot}%{_includedir}/utf8
|
||
|
for i in checked.h core.h unchecked.h; do
|
||
|
install -p -m0644 source/utf8/${i} %{buildroot}%{_includedir}/utf8/${i}
|
||
|
done
|
||
|
|
||
|
|
||
|
%files devel
|
||
|
%doc doc/*
|
||
|
%{_includedir}/utf8.h
|
||
|
%dir %{_includedir}/utf8
|
||
|
%{_includedir}/utf8/checked.h
|
||
|
%{_includedir}/utf8/core.h
|
||
|
%{_includedir}/utf8/unchecked.h
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Wed Apr 30 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.3.4-4
|
||
|
- fix docs macro
|
||
|
|
||
|
* Wed Apr 30 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.3.4-3
|
||
|
- drop base package
|
||
|
|
||
|
* Wed Apr 30 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.3.4-2
|
||
|
- add Provides: utf8cpp-static
|
||
|
- fix Source0 URL
|
||
|
- add missing BuildArch: noarch
|
||
|
|
||
|
* Sat Mar 15 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.3.4-1
|
||
|
- initial package
|