Compare commits
10 Commits
ebebe9ba6f
...
acbcc0d40d
Author | SHA256 | Date | |
---|---|---|---|
acbcc0d40d | |||
|
ee5bde7db4 | ||
|
5641b829cb | ||
|
af17e0a60c | ||
|
372fffbafc | ||
|
d4c86bdd14 | ||
|
32ea38a80b | ||
|
a6ccf297e8 | ||
|
5fcdb3b3e7 | ||
|
0ad20ebfd8 |
20
README.SuSE
Normal file
20
README.SuSE
Normal file
@@ -0,0 +1,20 @@
|
||||
This is a supplement for the perl-RT-Extension-Assets README
|
||||
|
||||
rt-setup-database MUST be run from /usr/share/request-tracker
|
||||
|
||||
Initialization:
|
||||
---------------
|
||||
To be performed in place of "make initdb"
|
||||
|
||||
1. Change to /usr/share/request-tracker
|
||||
cd /usr/share/request-tracker
|
||||
|
||||
2. Initialize the database schema
|
||||
rt-setup-database --action schema --dba rt_user --datafile local/plugins/RT-Extension-Assets/etc/schema.Pg
|
||||
|
||||
3. Initialize the database acl
|
||||
rt-setup-database --action acl --dba rt_user --datafile local/plugins/RT-Extension-Assets/etc/acl.Pg
|
||||
|
||||
4. Initialize the database data
|
||||
rt-setup-database --action insert --dba rt_user --datafile local/plugins/RT-Extension-Assets/etc/initialdata
|
||||
|
3
RT-Extension-Assets-1.05.tar.gz
Normal file
3
RT-Extension-Assets-1.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa66db9e4a46bbeff29049ed06420cb57fc5ca78fe2739666fc62139fa9fe8fb
|
||||
size 729820
|
@@ -1,3 +1,94 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 28 17:00:53 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- updated to 1.05
|
||||
see /usr/share/doc/packages/perl-RT-Extension-Assets/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 17:10:54 UTC 2015 - darin@darins.net
|
||||
|
||||
- update to 1.04
|
||||
* Keep values of date CFs if asset creation fails (due to CF values that fail
|
||||
validation, or other reasons)
|
||||
* Speed up asset asset searches with multiple limits on the same role;
|
||||
this primarily effects installs with the RT-Extension-MergeUsers
|
||||
extension installed.
|
||||
|
||||
A complete changelog is available from git by running:
|
||||
git log 1.02..1.04
|
||||
or visiting
|
||||
https://github.com/bestpractical/rt-extension-assets/compare/1.02...1.04
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 9 13:27:11 UTC 2014 - darin@darins.net
|
||||
|
||||
- update to 1.02
|
||||
* Special-case and support 'NULL' in custom field searches
|
||||
* Include global asset CFs in spreadsheet download
|
||||
* Fix bulk update of asset roles
|
||||
* Improve two-column layout of role bulk update
|
||||
* Support adding multiple space-separated assets to a ticket at once
|
||||
* Rename "Download TSV" to the more correct and generic "Download
|
||||
Spreadsheet"
|
||||
* Ensure that global (applied across all catalogs) custom fields are
|
||||
also shown during asset search
|
||||
* Avoid errors when a singular role group (e.g. Owner) is disabled.
|
||||
* AssetSearchFormat may now be a hashref, for catalog-specific formats
|
||||
* Allow the standard RT extension install ordering of "make initdb"
|
||||
prior to adding to @Plugins
|
||||
* Fix sorting of assets by custom field and role
|
||||
* Jump directly to asset display page if a numeric asset is searched
|
||||
for
|
||||
|
||||
A complete changelog is available from git by running:
|
||||
git log 1.01..1.02
|
||||
or visiting
|
||||
https://github.com/bestpractical/rt-extension-assets/compare/1.01...1.02
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 11:59:49 UTC 2014 - darin@darins.net
|
||||
|
||||
- update to 1.01
|
||||
* Squelch warnings when Assets configuration options are set in
|
||||
RT_SiteConfig.pm
|
||||
* Add a CSV export option
|
||||
* Better formatting of people on Assets display pages
|
||||
* Adjust CSS to no longer cause core RT tables to be overly-wide
|
||||
* Localization fixes, and a French translation
|
||||
|
||||
A complete changelog is available from git by running:
|
||||
git log 1.0..1.01
|
||||
or visiting
|
||||
https://github.com/bestpractical/rt-extension-assets/compare/1.0...1.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 11 14:28:49 UTC 2014 - darin@darins.net
|
||||
|
||||
- update to 1.0
|
||||
* First official release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 3 19:52:39 UTC 2013 - darin@darins.net
|
||||
|
||||
- fix path names in readme
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 18:02:01 UTC 2013 - darin@darins.net
|
||||
|
||||
- set cpan_name correctly
|
||||
- add git_name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 7 13:15:52 UTC 2013 - darin@darins.net
|
||||
|
||||
- include README.SuSE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 19:31:10 UTC 2013 - darin@darins.net
|
||||
|
||||
- cleaned up .spec
|
||||
- ensure requires files are installed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 20:11:58 UTC 2013 - darin@darins.net
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-rt-extension-assets
|
||||
# spec file for package perl-RT-Extension-Assets
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,101 +12,67 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define plug_dir /usr/share/request-tracker/local/plugins
|
||||
|
||||
|
||||
Name: perl-rt-extension-assets
|
||||
Version: .001
|
||||
Name: perl-RT-Extension-Assets
|
||||
Version: 1.05
|
||||
Release: 0
|
||||
%define cpan_name rt-extension-assets
|
||||
%define cpan_name RT-Extension-Assets
|
||||
Summary: RT Extension-Assets Extension
|
||||
License: GPL-2.0
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/rt-extension-assets/
|
||||
Source: rt-extension-assets-master.tar.gz
|
||||
URL: http://bestpractical.com/assets/
|
||||
Source: http://download.bestpractical.com/pub/rt/release/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: README.SuSE
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::Warn)
|
||||
#BuildRequires: perl(App::pod2pdf)
|
||||
#BuildRequires: perl(inc::Module::Install)
|
||||
#BuildRequires: perl(JSON)
|
||||
#BuildRequires: perl(LWP::Simple)
|
||||
#BuildRequires: perl(Module::Build)
|
||||
#BuildRequires: perl(Module::Install::Base)
|
||||
#BuildRequires: perl(Parse::CPAN::Meta)
|
||||
#BuildRequires: perl(Role::Basic)
|
||||
#BuildRequires: perl(RT)
|
||||
#BuildRequires: perl(RT::ACE)
|
||||
#BuildRequires: perl(RT::Asset)
|
||||
#BuildRequires: perl(RT::Assets)
|
||||
#BuildRequires: perl(RT::Catalog)
|
||||
#BuildRequires: perl(RT::Catalogs)
|
||||
#BuildRequires: perl(RT::CustomField)
|
||||
#BuildRequires: perl(RT::Extension::Assets)
|
||||
#BuildRequires: perl(RT::Extension::Assets::Test)
|
||||
#BuildRequires: perl(RT::Interface::Web)
|
||||
#BuildRequires: perl(RT::Lifecycle)
|
||||
#BuildRequires: perl(RT::Record)
|
||||
#BuildRequires: perl(RT::Record::Role::Lifecycle)
|
||||
#BuildRequires: perl(RT::Record::Role::Links)
|
||||
#BuildRequires: perl(RT::Record::Role::Rights)
|
||||
#BuildRequires: perl(RT::Record::Role::Roles)
|
||||
#BuildRequires: perl(RT::Record::Role::Status)
|
||||
#BuildRequires: perl(RT::SearchBuilder)
|
||||
#BuildRequires: perl(RT::SearchBuilder::Role::Roles)
|
||||
#BuildRequires: perl(RT::System)
|
||||
#BuildRequires: perl(RT::Test)
|
||||
#BuildRequires: perl(RT::URI::asset)
|
||||
#BuildRequires: perl(RT::URI::base)
|
||||
#BuildRequires: perl(YAML::Tiny)
|
||||
BuildRequires: request-tracker >= 4.2.0
|
||||
|
||||
Requires: request-tracker >= 4.2.0
|
||||
BuildRequires: perl(RT) >= 4.2.1
|
||||
BuildRequires: perl(Text::CSV_XS)
|
||||
Requires: perl(RT) >= 4.2.1
|
||||
Requires: perl(Text::CSV_XS)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
RT-Extension-Assets - Asset management for RT
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-master
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
# adjust spec for this
|
||||
#Using RT configuration from /usr/lib/perl5/vendor_perl/5.16.2/RT.pm:
|
||||
#./etc => /usr/share/request-tracker/local/plugins/RT-Extension-Assets/etc
|
||||
#./html => /usr/share/request-tracker/local/plugins/RT-Extension-Assets/html
|
||||
#./lib => /usr/share/request-tracker/local/plugins/RT-Extension-Assets/lib
|
||||
#./po => /usr/share/request-tracker/local/plugins/RT-Extension-Assets/po
|
||||
#./static => /usr/share/request-tracker/local/plugins/RT-Extension-Assets/static
|
||||
|
||||
#%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}
|
||||
#%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}/html
|
||||
#%{__cp} -a html/Callbacks -d %{buildroot}/%{plug_dir}/%{cpan_name}/html
|
||||
#%{__cp} -a html/Ticket -d %{buildroot}/%{plug_dir}/%{cpan_name}/html
|
||||
|
||||
%{__install} -m 0644 %{S:1} README.SuSE
|
||||
#
|
||||
%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}
|
||||
%{__cp} -a etc -d %{buildroot}/%{plug_dir}/%{cpan_name}
|
||||
%{__cp} -a html -d %{buildroot}/%{plug_dir}/%{cpan_name}
|
||||
%{__cp} -a static -d %{buildroot}/%{plug_dir}/%{cpan_name}
|
||||
|
||||
# remove special files
|
||||
find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc doc README
|
||||
%doc doc README README.SuSE
|
||||
%dir %{plug_dir}/%{cpan_name}
|
||||
%{plug_dir}/%{cpan_name}/etc
|
||||
%{plug_dir}/%{cpan_name}/html
|
||||
%{plug_dir}/%{cpan_name}/static
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:754857f2806f9523b049cb9b4089fc8ef081dcd55606fce31b9427365d00de0e
|
||||
size 74365
|
Reference in New Issue
Block a user