[publican-icaro] Initial packaging

William Moreno williamjmorenor at fedoraproject.org
Tue Jan 13 02:51:48 UTC 2015


commit a3e5225200d28ffd3af106a86cac4d64303cbee3
Author: William Moreno <williamjmorenor at gmail.com>
Date:   Mon Jan 12 20:50:34 2015 -0600

    Initial packaging

 .gitignore          |    1 +
 publican-icaro.spec |   40 ++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8a73d37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/publican-icaro-0.1.tar.gz
diff --git a/publican-icaro.spec b/publican-icaro.spec
new file mode 100644
index 0000000..d762e1e
--- /dev/null
+++ b/publican-icaro.spec
@@ -0,0 +1,40 @@
+%global brand Icaro
+%global wwwdir /var/www/html/docs
+
+Name:           publican-icaro
+Summary:        Common documentation files for %{brand}
+Version:        0.1
+Release:        1%{?dist}
+License:        WTFPL
+
+Source:         https://williamjmorenor.fedorapeople.org/%{name}-%{version}.tar.gz
+URL:            http://roboticaro.org/
+
+Buildarch:      noarch
+
+BuildRequires:  publican
+Requires:       publican
+
+%description
+This package provides common files and templates needed to build documentation
+for %{brand} with publican.
+
+%prep
+%setup -q -n %name
+
+%build
+publican build --formats=xml --langs=all --publish
+
+%install
+mkdir -p -m755 $RPM_BUILD_ROOT%{_datadir}/publican/Common_Content
+publican install_brand --path=$RPM_BUILD_ROOT%{_datadir}/publican/Common_Content
+
+%files
+%doc README
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%{_datadir}/publican/Common_Content/icaro
+
+%changelog
+* Mon Dec 22 2014  William José Moreno Reyes <williamjmorenor at gmail dot com> 0.1-1
+- Created Brand
diff --git a/sources b/sources
index e69de29..1946ed1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ece651a05abe8dd9f97ffc82c452d953  publican-icaro-0.1.tar.gz


More information about the scm-commits mailing list