summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchleun.moon <chleun.moon@samsung.com>2016-11-03 16:36:28 +0900
committerchleun.moon <chleun.moon@samsung.com>2016-11-03 16:36:44 +0900
commitccccebb78520ec3a26a18370936516b12ae5d53a (patch)
tree287720473c8b26016835e412c6d0c6c9624f979a
parentc7490c1d078e96343d9f75a59778f00d76281345 (diff)
parentd82f8426a5e255f0533f07ee458870ba124f90e7 (diff)
downloadc-ares-ccccebb78520ec3a26a18370936516b12ae5d53a.tar.gz
c-ares-ccccebb78520ec3a26a18370936516b12ae5d53a.tar.bz2
c-ares-ccccebb78520ec3a26a18370936516b12ae5d53a.zip
Change-Id: I5ab9d75268fe587280668f752f93908decb84c64 Signed-off-by: cheoleun <chleun.moon@samsung.com>
-rw-r--r--COPYING10
-rw-r--r--packaging/LICENSE10
-rw-r--r--packaging/c-ares.spec9
3 files changed, 26 insertions, 3 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..e3f5b64
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,10 @@
+Copyright 1998 by the Massachusetts Institute of Technology.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted, provided that
+the above copyright notice appear in all copies and that both that copyright
+notice and this permission notice appear in supporting documentation, and that
+the name of M.I.T. not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior permission.
+M.I.T. makes no representations about the suitability of this software for any
+purpose. It is provided "as is" without express or implied warranty.
diff --git a/packaging/LICENSE b/packaging/LICENSE
new file mode 100644
index 0000000..e3f5b64
--- /dev/null
+++ b/packaging/LICENSE
@@ -0,0 +1,10 @@
+Copyright 1998 by the Massachusetts Institute of Technology.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted, provided that
+the above copyright notice appear in all copies and that both that copyright
+notice and this permission notice appear in supporting documentation, and that
+the name of M.I.T. not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior permission.
+M.I.T. makes no representations about the suitability of this software for any
+purpose. It is provided "as is" without express or implied warranty.
diff --git a/packaging/c-ares.spec b/packaging/c-ares.spec
index a44ce71..dac7494 100644
--- a/packaging/c-ares.spec
+++ b/packaging/c-ares.spec
@@ -7,6 +7,7 @@ Group: Development/Libraries/C and C++
Source: http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.bz2
Source2: baselibs.conf
Source1001: c-ares.manifest
+Source1002: LICENSE
BuildRequires: pkg-config
BuildRequires: libtool
Url: http://daniel.haxx.se/projects/c-ares
@@ -39,6 +40,7 @@ by Greg Hudson at MIT.
%prep
%setup -q -n %{name}-%{version}
cp %{SOURCE1001} .
+cp %{SOURCE1002} .
%build
autoreconf -fiv
@@ -48,8 +50,8 @@ make %{?_smp_mflags}
%install
%make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
+#mkdir -p %{buildroot}/usr/share/license
+#cp LICENSE %{buildroot}/usr/share/license/%{name}
%post -p /sbin/ldconfig -n libcares
@@ -57,14 +59,15 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
%files -n libcares
%manifest %{name}.manifest
+%license LICENSE
%defattr(-,root,root)
%{_libdir}/libcares.so.2*
%files -n libcares-devel
%manifest %{name}.manifest
+%license LICENSE
%defattr(-,root,root)
%{_libdir}/libcares.so
%{_includedir}/*.h
%{_mandir}/man3/ares_*
%{_libdir}/pkgconfig/libcares.pc
-/usr/share/license/%{name}