Sign Up
Log In
Sign Up
Username:
*
Email:
*
Password:
*
Password confirmation:
*
or
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Server
nginx-module-fancyindex
nginx-module-fancyindex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nginx-module-fancyindex.spec of Package nginx-module-fancyindex
# # spec file for package nginx-module-fancyindex # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define project_name ngx-fancyindex %define so_name ngx_http_fancyindex_module.so Name: nginx-module-fancyindex Version: 0.5.2 Release: 0 Summary: Fancy indexes module for the Nginx web server License: BSD-2-Clause Group: Productivity/Networking/Web/Proxy URL: https://github.com/aperezdc/%{project_name} Source0: https://github.com/aperezdc/%{project_name}/releases/download/v%{version}/%{project_name}-%{version}.tar.xz Source1: https://github.com/aperezdc/%{project_name}/releases/download/v%{version}/%{project_name}-%{version}.tar.xz.sig BuildRequires: nginx-source %{ngx_conditionals} %{ngx_requires} %description The Fancy Index module makes possible the generation of file listings, like the built-in autoindex module does, but adding a touch of style. This is possible because the module allows a certain degree of customization of the generated content: - Custom headers. Either local or stored remotely. - Custom footers. Either local or stored remotely. - Add you own CSS style rules. - Allow choosing to sort elements by name (default), modification time, or size; both ascending (default) or descending. %prep mkdir %{project_name} tar -xf %{SOURCE0} --strip-components=1 -C %{project_name} cp -r %{_prefix}/src/nginx . %build cd nginx %{ngx_configure} --add-dynamic-module=../%{project_name} %make_build modules %install mkdir -p %{buildroot}%{ngx_module_dir} install -Dpm0644 nginx/objs/%{so_name} %{buildroot}%{ngx_module_dir} %files %license %{project_name}/LICENSE %doc %{project_name}/{CHANGELOG.md,HACKING.md,README.rst} %{ngx_module_dir}/%{so_name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor