Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:deadpoint
perl-RT-Extension-ExternalStorage
perl-RT-Extension-ExternalStorage.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-RT-Extension-ExternalStorage.spec of Package perl-RT-Extension-ExternalStorage
# # spec file for package perl-RT-Extension-ExternalStorage # # Copyright (c) 2015 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 plug_dir /usr/share/request-tracker/local/plugins Name: perl-RT-Extension-ExternalStorage Version: 0.61 Release: 0 %define cpan_name RT-Extension-ExternalStorage Summary: Store attachments outside the database License: GPL-2.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/RT-Extension-ExternalStorage/ Source: http://www.cpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: request-tracker >= 4.0 Requires: request-tracker >= 4.0 Recommends: perl(Amazon::S3) Recommends: perl(File::Dropbox) %{perl_requires} %description By default, RT stores attachments in the database. This extension moves all attachments that RT does not need efficient access to (which include textual content and images) to outside of the database. This may either be on local disk, or to a cloud storage solution. This decreases the size of RT's database, in turn decreasing the burden of backing up RT's database, at the cost of adding additional locations which must be configured or backed up. The files are initially stored in the database when RT receives them; this guarantees that the user does not need to wait for the file to be transferred to disk or to the cloud, and makes it durable to transient failures of cloud connectivity. The provided 'bin/extract-attachments' script, to be run regularly via cron, takes care of moving attachments out of the database at a later time. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %install %perl_make_install %perl_process_packlist %perl_gen_filelist # %{__install} -m 0755 -d %{buildroot}/%{_bindir} %{__install} -m 755 sbin/extract-attachments %{buildroot}/%{_bindir}/rt-extract-attachments # remove special files find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {} %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %{_bindir}/rt-extract-attachments %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