From 509187f47ddb095ff72d65c8c9c6aaa86ea646c6 Mon Sep 17 00:00:00 2001 From: Salvatore Iovene Date: Wed, 14 Aug 2013 13:17:13 +0300 Subject: [PATCH] Split Tizen packages in -lib and -docs. --- package.json | 2 +- packaging/cowhide.spec | 40 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index bf60efb..6a680fe 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cowhide", "description": "HTML5 components for fast UI development and support for Tizen IVI.", - "version": "0.1.4", + "version": "0.1.5", "keywords": [ "tizen", "ivi", diff --git a/packaging/cowhide.spec b/packaging/cowhide.spec index 7371f74..7fd7b43 100644 --- a/packaging/cowhide.spec +++ b/packaging/cowhide.spec @@ -1,5 +1,5 @@ Name: cowhide -Version: 0.1.4 +Version: 0.1.5 Release: 0 Summary: UI Framework Library based on Twitter Bootstrap Group: Development/Other @@ -8,6 +8,7 @@ BuildArch: noarch Source0: %{name}-%{version}.tar.gz +# Main description %description UI Framework Library based on Twitter Bootstrap @@ -16,12 +17,43 @@ tar xvfz %{_sourcedir}/%{name}-%{version}.tar.gz %install mkdir -p %{buildroot}/usr/share/cowhide -cp -ar %{name}-%{version}/dist/* %{buildroot}/usr/share/cowhide/ +cp -ar %{name}-%{version}/dist/*.js %{buildroot}/usr/share/cowhide/ +cp -ar %{name}-%{version}/dist/*.css %{buildroot}/usr/share/cowhide/ +cp -ar %{name}-%{version}/dist/images %{buildroot}/usr/share/cowhide/ +cp -ar %{name}-%{version}/dist/README.md %{buildroot}/usr/share/cowhide/ +cp -ar %{name}-%{version}/dist/docs %{buildroot}/usr/share/cowhide/ + + +# "lib" package, including the development files +%package lib +Summary: UI Framework Library based on Twitter Bootstrap + +%description lib +UI Framework Library based on Twitter Bootstrap + +%files lib +/usr/share/cowhide/*.js +/usr/share/cowhide/*.css +/usr/share/cowhide/images +/usr/share/cowhide/README.md + + +# "docs" package, including documentation and examples +%package docs +Summary: UI Framework Library based on Twitter Bootstrap, documentation package + +%description docs +UI Framework Library based on Twitter Bootstrap, documentation package + +%files docs +/usr/share/cowhide/docs -%files -/usr/share/cowhide/* %changelog +* Wed Aug 14 2013 Salvatore Iovene 0.1.5 +- Package the library and the docs separately + * Tue Apr 30 2013 Salvatore Iovene 0.1.4 - Initial packaging + -- 2.7.4