From a75f4df722d764c4e2d337d09b8a985a8bba47a2 Mon Sep 17 00:00:00 2001 From: Jaeho Lee Date: Thu, 26 Sep 2013 15:22:36 +0900 Subject: [PATCH] Add license file Signed-off-by: Jaeho Lee Change license in spec file Signed-off-by: Juhyeon Yun Change license in spec file Change-Id: I72a7f126587a804d3582210205c151973f745ed1 Signed-off-by: Juhyeon Yun --- packaging/app-checker.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/app-checker.spec b/packaging/app-checker.spec index b7fee27..e7249a0 100644 --- a/packaging/app-checker.spec +++ b/packaging/app-checker.spec @@ -55,6 +55,11 @@ rm -rf %{buildroot} %make_install mkdir -p %{buildroot}%{_libdir}/ac-plugins +mkdir -p %{buildroot}/usr/share/license +cp LICENSE %{buildroot}/usr/share/license/%{name} +cp LICENSE %{buildroot}/usr/share/license/%{name}-devel +cp LICENSE %{buildroot}/usr/share/license/%{name}-server +cp LICENSE %{buildroot}/usr/share/license/%{name}-server-devel %post -p /sbin/ldconfig @@ -67,6 +72,7 @@ mkdir -p %{buildroot}%{_libdir}/ac-plugins %{_libdir}/libapp-checker.so.0 %{_libdir}/libapp-checker.so.0.1.0 %{_libdir}/ac-plugins +/usr/share/license/%{name} %files devel %manifest %{name}.manifest @@ -74,12 +80,14 @@ mkdir -p %{buildroot}%{_libdir}/ac-plugins %{_libdir}/libapp-checker.so %{_libdir}/pkgconfig/app-checker.pc %{_includedir}/app-checker/app-checker.h +/usr/share/license/%{name}-devel %files server %manifest %{name}.manifest %defattr(-,root,root,-) %{_libdir}/libapp-checker-server.so.0 %{_libdir}/libapp-checker-server.so.0.1.0 +/usr/share/license/%{name}-server %files server-devel %manifest %{name}.manifest @@ -87,4 +95,5 @@ mkdir -p %{buildroot}%{_libdir}/ac-plugins %{_libdir}/libapp-checker-server.so %{_libdir}/pkgconfig/app-checker-server.pc %{_includedir}/app-checker/app-checker-server.h +/usr/share/license/%{name}-server-devel -- 2.7.4