-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update yaml2json.py Add favicon Make jquery local Style changes Update build scripts and packaging Also update data.json fix capitalization in data.yaml add missing images Fix packages link don't break fedmenu build script update build script instructions Mobile support, center icons, fix scripts Section description hidden in popover
- Loading branch information
1 parent
30c7178
commit 9791fe8
Showing
39 changed files
with
161 additions
and
26,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
js/jquery.min.js linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
*.swp | ||
*.pyc | ||
build | ||
dist | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
%global prefix /srv/web | ||
|
||
Name: apps-fp-o | ||
Version: 2.0 | ||
Version: 3.0 | ||
Release: 1%{?dist} | ||
Summary: A landing page for apps.fedoraproject.org | ||
|
||
|
@@ -14,10 +14,11 @@ Source0: %{name}-%{version}.tar.gz | |
BuildArch: noarch | ||
|
||
# Needed for getting httpd's gid | ||
BuildRequires: python | ||
BuildRequires: httpd | ||
|
||
# Used for the yaml2{json,html}.py scripts. | ||
Requires: PyYAML | ||
BuildRequires: PyYAML | ||
|
||
%description | ||
This is static HTML, CSS, and javascript for a landing page for | ||
|
@@ -31,32 +32,25 @@ diagram. | |
%setup -q | ||
|
||
%build | ||
# Nada | ||
python ./yaml2json.py > ./data/data.json | ||
python ./yaml2js.py > ./js/data.js | ||
|
||
%install | ||
mkdir -p %{buildroot}/%{_bindir} | ||
install -m 0755 bin/yaml2html.py %{buildroot}/%{_bindir}/%{name}-yaml2html.py | ||
install -m 0755 bin/yaml2json.py %{buildroot}/%{_bindir}/%{name}-yaml2json.py | ||
|
||
mkdir -p %{buildroot}/%{_datadir}/%{name} | ||
install -m 0644 data/* %{buildroot}/%{_datadir}/%{name} | ||
|
||
mkdir -p %{buildroot}/%{prefix}/%{name} | ||
cp -r {index.html,apps-yaml.html,bootstrap,bootstrap-3.1.1-fedora,css,img,js} %{buildroot}/%{prefix}/%{name}/. | ||
cp -r {index.html,favicon.ico,css,img,js,data} %{buildroot}/%{prefix}/%{name}/. | ||
|
||
%files | ||
%doc README.rst LICENSE CONTRIBUTING.rst | ||
|
||
%{_bindir}/%{name}-yaml2json.py | ||
%{_bindir}/%{name}-yaml2html.py | ||
|
||
%{_datadir}/%{name}/apps.yaml | ||
%doc README.rst CONTRIBUTING.rst | ||
%license LICENSE | ||
|
||
# The rest of the content goes here | ||
%{prefix}/%{name}/ | ||
%attr(755, httpd, httpd) %dir %{prefix}/%{name}/ | ||
|
||
%changelog | ||
* Tue Oct 09 2018 Brendan Early <[email protected]> - 3.0-1 | ||
- Redesign | ||
|
||
* Thu Apr 23 2015 Ralph Bean <[email protected]> - 2.0-1 | ||
- Add packager and user template strings for make glorious fedmenu future. | ||
|
||
|
Oops, something went wrong.