Bump to 1.1 accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_riscv accepted/tizen_base_tool sandbox/libunistring_1.1 tizen_8.0_base tizen_base accepted/tizen/8.0/base/20231005.044907 accepted/tizen/base/20230714.003355 accepted/tizen/base/riscv/20231110.002657 accepted/tizen/base/tool/20230125.052119 accepted/tizen/base/tool/20230129.003803 submit/tizen_base/20230116.050642 submit/tizen_base/20230125.061402 submit/tizen_base/20230125.093801 submit/tizen_base/20230127.080752 submit/tizen_base/20230128.011619 tizen_8.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Mon, 16 Jan 2023 05:03:05 +0000 (14:03 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Mon, 16 Jan 2023 05:03:05 +0000 (14:03 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/libunistring.changes [new file with mode: 0644]
packaging/libunistring.manifest [new file with mode: 0644]
packaging/libunistring.spec [new file with mode: 0644]

diff --git a/packaging/libunistring.changes b/packaging/libunistring.changes
new file mode 100644 (file)
index 0000000..8dfd266
--- /dev/null
@@ -0,0 +1,3 @@
+* Sat May 11 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.181337@cf5376f
+- Set license using %license
+
diff --git a/packaging/libunistring.manifest b/packaging/libunistring.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libunistring.spec b/packaging/libunistring.spec
new file mode 100644 (file)
index 0000000..88b7441
--- /dev/null
@@ -0,0 +1,81 @@
+%define keepstatic 1
+%if "%{run_tests}" == "1"
+    %define __spec_check_pre %___build_pre
+    %define check %%check
+%endif
+
+Name:           libunistring
+Version:        1.1
+Release:        0
+License:        LGPL-3.0+ or GPL-2.0
+Summary:        GNU Unicode string library
+Url:            http://www.gnu.org/software/libunistring/
+Group:          Development/Libraries/C and C++
+Source:         %{name}-%{version}.tar.bz2
+Source1001:     libunistring.manifest
+
+%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
+Summary:        GNU Unicode string library - development files
+Group:          Development/Libraries/C and C++
+Requires:       %{name} = %{version}
+Requires:       info
+
+%description devel
+Development files for programs using libunistring and documentation
+for UniString library.
+
+%package devel-static
+Summary:        GNU Unicode string library - static libraries
+Group:          Development/Libraries/C and C++
+Requires:       %{name}-devel = %{version}
+Requires:       info
+
+%description devel-static
+Static libraries of UniString library.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%reconfigure --enable-static --enable-shared --disable-rpath --docdir=%_docdir/%{name}
+%__make %{?_smp_mflags}
+
+# %check
+# %__make check %{?_smp_mflags} || exit 0
+
+%install
+%make_install DESTDIR=%{buildroot}
+
+%find_docs
+%remove_docs
+
+%post  -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%defattr(-,root,root)
+%{_libdir}/libunistring.so*
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_libdir}/libunistring.so
+%{_includedir}/unistring
+%{_includedir}/*.h
+
+%files devel-static
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_libdir}/libunistring.a