From f06e9c1b6be933dba9664c0887f14dec83364dec73b4ecee20cf91e90ffb453a Mon Sep 17 00:00:00 2001 From: "Michal Hrusecky (old before rename to _miska_)" Date: Thu, 15 Jan 2015 20:01:30 +0000 Subject: [PATCH] Accepting request 281427 from home:yac:ledger Submitting new package: utfcpp OBS-URL: https://build.opensuse.org/request/show/281427 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/utfcpp?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + _service | 3 ++ _service:download_files:utf8_v2_3_4.zip | 3 ++ utfcpp.changes | 5 +++ utfcpp.spec | 56 +++++++++++++++++++++++++ 6 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _service:download_files:utf8_v2_3_4.zip create mode 100644 utfcpp.changes create mode 100644 utfcpp.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..8581d62 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/_service:download_files:utf8_v2_3_4.zip b/_service:download_files:utf8_v2_3_4.zip new file mode 100644 index 0000000..3c2ceb0 --- /dev/null +++ b/_service:download_files:utf8_v2_3_4.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3373cebb25d88c662a2b960c4d585daf9ae7b396031ecd786e7bb31b15d010ef +size 22422 diff --git a/utfcpp.changes b/utfcpp.changes new file mode 100644 index 0000000..d8787e3 --- /dev/null +++ b/utfcpp.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Jan 15 13:23:24 UTC 2015 - jmatejka@suse.cz + +- Initial package version 2.3.4 + diff --git a/utfcpp.spec b/utfcpp.spec new file mode 100644 index 0000000..4f35983 --- /dev/null +++ b/utfcpp.spec @@ -0,0 +1,56 @@ +# +# spec file for package utfcpp +# +# Copyright (c) 2015 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 uglyver 2_3_4 +Name: utfcpp +Version: 2.3.4 +Release: 0 +Summary: A library for handling UTF-8 encoded strings +License: BSL-1.0 +Group: Development/Libraries/C +Url: http://sourceforge.net/projects/utfcpp/ +Source: http://download.sourceforge.net/%{name}/utf8_v%{uglyver}.zip +BuildRequires: unzip +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +A library for handling UTF-8 encoded strings. + +%prep +%setup -q -n source + +%build + +%install +install -d %{buildroot}/%{_includedir}/utf8 +install -m0644 utf8.h %{buildroot}/%{_includedir} +install -m0644 utf8/{checked,unchecked,core}.h %{buildroot}/%{_includedir}/utf8 + +%package devel +Summary: A library for handling UTF-8 encoded strings + +%description devel +A library for handling UTF-8 encoded strings. + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/utf8 +%{_includedir}/utf8.h +%{_includedir}/utf8/* + +%changelog