Add packaging files 78/53278/3 accepted/tizen_common accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/base/20151224.104208 accepted/tizen/common/20160107.114019 accepted/tizen/mobile/20151224.102119 accepted/tizen/tv/20151224.102157 accepted/tizen/wearable/20151224.102224 submit/tizen/20151222.063629 submit/tizen/20151223.013239 submit/tizen_base/20151224.082742 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.154718 submit/tizen_common/20160104.112601
authorHurnjoo Lee <hurnjoo.lee@samsung.com>
Thu, 3 Dec 2015 08:56:41 +0000 (17:56 +0900)
committerHurnjoo Lee <hurnjoo.lee@samsung.com>
Fri, 4 Dec 2015 05:55:17 +0000 (14:55 +0900)
Change-Id: Id33b2233cdf956244932759381b2240a1b68d27b
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
packaging/baselibs.conf [new file with mode: 0644]
packaging/libidn.manifest [new file with mode: 0644]
packaging/libidn.spec [new file with mode: 0755]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..fad2b0d
--- /dev/null
@@ -0,0 +1 @@
+libidn
diff --git a/packaging/libidn.manifest b/packaging/libidn.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/libidn.spec b/packaging/libidn.spec
new file mode 100755 (executable)
index 0000000..74d0ba2
--- /dev/null
@@ -0,0 +1,80 @@
+Name:       libidn
+Summary:    Internationalized Domain Name support library
+Version:    1.15
+Release:    0
+Group:      System/Libraries
+License:    LGPL-2.1+
+URL:        http://www.gnu.org/software/libidn/
+Source0:    http://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
+Source1:    baselibs.conf
+Source1001: libidn.manifest
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig
+BuildRequires:  gettext-tools
+BuildRequires:  libtool
+BuildRequires:  autoconf
+
+%description
+GNU Libidn is an implementation of the Stringprep, Punycode and
+IDNA specifications defined by the IETF Internationalized Domain
+Names (IDN) working group, used for internationalized domain
+names.
+
+
+%package devel
+Summary:    Development files for the libidn library
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   glibc-devel
+
+%description devel
+This package includes header files and libraries necessary for
+developing programs which use the GNU libidn library.
+
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static \
+    --disable-csharp \
+    --disable-java \
+    --with-pic
+
+make "%{?_smp_mflags}"
+
+%install
+%make_install
+
+rm -f %{buildroot}/%_infodir/dir
+rm -f %{buildroot}%{_libdir}/libidn.la
+rm -f %{buildroot}%_infodir/libidn-components.png
+rm -f %{buildroot}%{_bindir}/idn
+%find_lang libidn
+
+%remove_docs
+
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING.LIB %{buildroot}/usr/share/license/%{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f libidn.lang
+%defattr(-,root,root,-)
+%dir %{_datadir}/emacs
+%dir %{_datadir}/emacs/site-lisp
+%{_datadir}/emacs/site-lisp/idna.el
+%{_datadir}/emacs/site-lisp/punycode.el
+%{_libdir}/libidn.so.*
+/usr/share/license/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libidn.so
+%{_includedir}/*.h
+%{_libdir}/pkgconfig/libidn.pc