Commit 5eee8b6de5ba026735ba8a749e54c103f6a23eae
1 parent
7b6c4df1
Exists in
master
and in
79 other branches
Renamed colab-spb-theme-plugin to colab-spb-theme.
Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com
Showing
2 changed files
with
37 additions
and
37 deletions
Show diff stats
colab-spb-theme-plugin/colab-spb-theme-plugin.spec
@@ -1,37 +0,0 @@ | @@ -1,37 +0,0 @@ | ||
1 | -Name: colab-spb-theme | ||
2 | -Version: 0.2.0 | ||
3 | -Release: 1 | ||
4 | -Summary: SPB-specific Colab theme | ||
5 | -Group: Applications/Publishing | ||
6 | -License: GPLv3 | ||
7 | -URL: https://portal.softwarepublico.gov.br/gitlab/softwarepublico/colab-spb-theme-plugin | ||
8 | -Source0: %{name}-%{version}.tar.gz | ||
9 | -BuildArch: noarch | ||
10 | -BuildRequires: colab >= 1.11 | ||
11 | -Requires: colab >= 1.11 | ||
12 | -%description | ||
13 | -This package contains Colab theme for Software Público Brasileiro platform. | ||
14 | - | ||
15 | -%prep | ||
16 | -%setup -q | ||
17 | - | ||
18 | -%build | ||
19 | -make | ||
20 | - | ||
21 | -%install | ||
22 | - | ||
23 | -install -d %{buildroot}/etc/colab/settings.d/ | ||
24 | - | ||
25 | -cat > %{buildroot}/etc/colab/settings.d/spb_theme.py << EOF | ||
26 | -COLAB_STATICS=['/usr/lib/colab/colab-spb-theme/colab_spb_theme/static'] | ||
27 | -COLAB_TEMPLATES=('/usr/lib/colab/colab-spb-theme/colab_spb_theme/templates',) | ||
28 | -EOF | ||
29 | - | ||
30 | -make install DESTDIR=%{buildroot} | ||
31 | - | ||
32 | -%post | ||
33 | -yes yes | colab-admin collectstatic | ||
34 | - | ||
35 | -%files | ||
36 | -/usr/lib/colab | ||
37 | -/etc/colab |
@@ -0,0 +1,37 @@ | @@ -0,0 +1,37 @@ | ||
1 | +Name: colab-spb-theme | ||
2 | +Version: 0.2.0 | ||
3 | +Release: 1 | ||
4 | +Summary: SPB-specific Colab theme | ||
5 | +Group: Applications/Publishing | ||
6 | +License: GPLv3 | ||
7 | +URL: https://portal.softwarepublico.gov.br/gitlab/softwarepublico/colab-spb-theme-plugin | ||
8 | +Source0: %{name}-%{version}.tar.gz | ||
9 | +BuildArch: noarch | ||
10 | +BuildRequires: colab >= 1.11 | ||
11 | +Requires: colab >= 1.11 | ||
12 | +%description | ||
13 | +This package contains Colab theme for Software Público Brasileiro platform. | ||
14 | + | ||
15 | +%prep | ||
16 | +%setup -q | ||
17 | + | ||
18 | +%build | ||
19 | +make | ||
20 | + | ||
21 | +%install | ||
22 | + | ||
23 | +install -d %{buildroot}/etc/colab/settings.d/ | ||
24 | + | ||
25 | +cat > %{buildroot}/etc/colab/settings.d/spb_theme.py << EOF | ||
26 | +COLAB_STATICS=['/usr/lib/colab/colab-spb-theme/colab_spb_theme/static'] | ||
27 | +COLAB_TEMPLATES=('/usr/lib/colab/colab-spb-theme/colab_spb_theme/templates',) | ||
28 | +EOF | ||
29 | + | ||
30 | +make install DESTDIR=%{buildroot} | ||
31 | + | ||
32 | +%post | ||
33 | +yes yes | colab-admin collectstatic | ||
34 | + | ||
35 | +%files | ||
36 | +/usr/lib/colab | ||
37 | +/etc/colab |