Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:deadpoint
snipe-it
snipe-it.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File snipe-it.spec of Package snipe-it
# # spec file for package snipe-it # # Copyright (c) spec 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %define webroot /srv/www/%{name} %define nsuser wwwrun %define nsgrp www Name: snipe-it Version: 4.8.0 Release: 0 License: GPL-3.0+ Summary: IT asset/license management system Url: https://snipeitapp.com/ Group: Productivity/Networking/Web/Frontends Source0: https://github.com/snipe/snipe-it/archive/v%{version}.tar.gz Source1: composer.phar Source2: %{name}-deps.tar.gz Source3: vhost-snipe-it.conf Source4: README.DEPS Source5: README.SUSE Source6: README.UPGRADE BuildRequires: fdupes Requires: php7 >= 7.1.3 Requires: php7-bcmath Requires: php7-curl Requires: php7-ldap Requires: php7-mbstring Requires: php7-mysql Requires: php7-tokenizer Requires: php7-fileinfo Requires: php7-pdo Requires: php7-openssl Requires: php7-gd Requires: php7-phar Requires: php7-zip Requires: php7-mcrypt Requires: apache2-mod_php7 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Snipe-IT - Open Source Asset Management System This is a FOSS project for asset management in IT Operations. Knowing who has which laptop, when it was purchased in order to depreciate it correctly, handling software licenses, etc. It is built on Laravel 5.5. Snipe-IT is actively developed and we're releasing quite frequently. This is web-based software. This means there there is no executable file (aka no .exe files), and it must be run on a web server and accessed through a web browser. It runs on any Mac OSX, flavor of Linux, as well as Windows, and we have a Docker image available if that's what you're into. %prep %setup -q tar -zxf %{S:2} install -m 0644 %{S:1} composer.phar install -m 0644 %{S:4} README.DEPS install -m 0644 %{S:5} README.SUSE install -m 0644 %{S:6} README.UPGRADE %build %install install -d -m 0755 %{buildroot}%{webroot} install -m 0640 .env.example .env tar -cf - . | ( cd %{buildroot}%{webroot} && tar -xf - ) install -d -m 0755 %{buildroot}%{webroot}/apache install -m 0644 %{S:3} %{buildroot}/%{webroot}/apache/vhost-snipe-it.conf # remove hidden files find %{buildroot}%{webroot} -name .git\* -exec rm -rf {} + find %{buildroot}%{webroot} -name .travis.yml -exec rm -f {} + find %{buildroot}%{webroot} -name .psysh -exec rm -rf {} + find %{buildroot}%{webroot} -name .php_cs -exec rm -f {} + find %{buildroot}%{webroot} -name .editorconfig -exec rm -f {} + find %{buildroot}%{webroot} -name .scrutinizer.yml -exec rm -f {} + #find %{buildroot}%{webroot}/vendor -type f -name .\* -exec rm -rf {} + # cleanup duplicate files %fdupes %{buildroot}%{webroot} %files %defattr(0644,root,root,0755) %doc LICENSE README.DEPS README.SUSE README.UPGRADE %{webroot} %config(noreplace) %attr(0640,%{nsuser},%{nsgrp}) %{webroot}/.env %attr(755,%{nsuser},%{nsgrp}) %{webroot}/storage %attr(755,%{nsuser},%{nsgrp}) %{webroot}/public/uploads %attr(755,%{nsuser},%{nsgrp}) %{webroot}/bootstrap/cache %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor