# # Copyright (c) 2005-2024, Ralf Corsepius, Ulm, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # --with devel_mode/--without devel_mode # enable/disable building/installing devel files # Default: enabled %bcond_without devel_mode # --with runtests # run testsuite when building the rpm # Default: disabled (doesn't work in chroots.) %bcond_with runtests # --with mysql # configure for use with mysql %bcond_with mysql # --with pg # configure for use with postgress %bcond_with pg # default to mysql %if !%{with mysql} && !%{with pg} %global with_mysql 1 %endif %global web_handler fcgid %if "%{web_handler}" == "fcgid" Requires: mod_fcgid %endif %global RT_BINDIR %{_bindir} %global RT_SBINDIR %{_sbindir} %global RT_FONTSDIR /usr/share/fonts/google-droid-sans-fonts %global RT_LIBDIR %{perl_vendorlib} %global RT_WWWDIR %{_datadir}/%{name}/html %global RT_LEXDIR %{_datadir}/%{name}/po %global RT_LOGDIR %{_localstatedir}/log/%{name} %global RT_CACHEDIR %{_localstatedir}/cache/%{name} %global RT_LOCALSTATEDIR %{_localstatedir}/lib/%{name} %global RT_STATICDIR %{_datadir}/%{name}/static %global rt_upgrade_dir %{_datadir}/%{name}/upgrade %{?!rt_upgrade_dir:%global rt_upgrade_dir %{_sysconfdir}/%{name}/upgrade} Name: rt Version: 5.0.7 Release: 2%{?dist} Summary: Request tracker License: GPL-2.0-or-later URL: https://bestpractical.com/request-tracker Source0: https://download.bestpractical.com/pub/rt/release/rt-%{version}.tar.gz # Notes on running the testsuite Source1: README.tests # Fedora-specific installation notes Source3: README.fedora.in # rt's logrotate configuration Source4: rt.logrotate.in # rt's fcgid-based Apache configuration Source5: rt.conf.fcgid.in Patch1: 0001-Add-Fedora-configuration.patch Patch2: 0002-Use-usr-bin-perl-instead-of-usr-bin-env-perl.patch Patch3: 0003-Remove-fixperms-font-install.patch Patch4: 0004-Fix-permissions.patch Patch5: 0005-Do-not-install-cpanfile.patch Patch6: 0006-Add-fcgid.patch Patch7: 0007-Apply-RT-StaticPath-to-pickup-scripts.patch # Misc. dirty hacks to let testsuite pickup files from installed testsuite tree Patch8: 0008-Fedora-testsuite-hacks.patch Patch9: 0009-Don-t-install-fonts.patch BuildArch: noarch # This list is alpha sorted BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(Apache::Session) >= 1.53 BuildRequires: perl(Business::Hours) BuildRequires: perl(CGI) >= 4.00 BuildRequires: perl(CGI::Cookie) >= 1.20 BuildRequires: perl(CGI::PSGI) >= 0.12 BuildRequires: perl(CGI::Emulate::PSGI) BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(Class::ReturnValue) >= 0.40 BuildRequires: perl(Clone) BuildRequires: perl(Convert::Color) BuildRequires: perl(CPAN) BuildRequires: perl(Crypt::Eksblowfish) BuildRequires: perl(Crypt::X509) BuildRequires: perl(CSS::Minifier::XS) BuildRequires: perl(CSS::Squish) >= 0.06 BuildRequires: perl(Data::GUID) BuildRequires: perl(Data::ICal) BuildRequires: perl(Data::Page) BuildRequires: perl(DateTime::Format::Natural) >= 0.67 BuildRequires: perl(Date::Format) BuildRequires: perl(DateTime) >= 0.44 BuildRequires: perl(DateTime::Locale) >= 0.40 %{?with_mysql:BuildRequires: perl(DBD::mysql) >= 2.1018} %{?with_pg:BuildRequires: perl(DBD::Pg) >= 1.43} BuildRequires: perl(DBI) >= 1.37 %if "%{version}" >= "5.0.6" BuildRequires: perl(DBIx::SearchBuilder) >= 1.80 %elif "%{version}" >= "5.0.5" BuildRequires: perl(DBIx::SearchBuilder) >= 1.77 %else BuildRequires: perl(DBIx::SearchBuilder) >= 1.76 %endif BuildRequires: perl(Devel::StackTrace) >= 2.00 BuildRequires: perl(Devel::GlobalDestruction) BuildRequires: perl(Digest::MD5) >= 2.27 BuildRequires: perl(Email::Address) >= 1.912 BuildRequires: perl(Email::Address::List) >= 0.06 BuildRequires: perl(Encode) >= 2.64 BuildRequires: perl(Encode::Detect::Detector) BuildRequires: perl(Encode::HanExtra) # In rt-test-dependencies, but seemingly unused BuildRequires: perl(Errno) BuildRequires: perl(File::Find) BuildRequires: perl(File::Glob) BuildRequires: perl(File::ShareDir) BuildRequires: perl(File::Spec) >= 0.8 BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(File::Which) BuildRequires: perl(GD) BuildRequires: perl(GD::Graph) >= 1.56 BuildRequires: perl(GD::Text) BuildRequires: perl(GnuPG::Interface) >= 1.02 BuildRequires: perl(GraphViz) BuildRequires: perl(GraphViz2) BuildRequires: perl(Getopt::Long) >= 2.24 BuildRequires: perl(HTML::Entities) BuildRequires: perl(HTML::FormatExternal) BuildRequires: perl(HTML::FormatText::WithLinks) >= 0.14 BuildRequires: perl(HTML::FormatText::WithLinks::AndTables) >= 0.06 BuildRequires: perl(HTML::Gumbo) BuildRequires: perl(HTML::Mason) >= 1.43 BuildRequires: perl(HTML::Mason::PSGIHandler) >= 0.52 BuildRequires: perl(HTML::Quoted) BuildRequires: perl(HTML::RewriteAttributes) >= 0.05 BuildRequires: perl(HTML::Scrubber) >= 0.08 BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(HTTP::Status) BuildRequires: perl(IPC::Run3) BuildRequires: perl(JSON) BuildRequires: perl(JavaScript::Minifier::XS) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Locale::Maketext) >= 1.06 BuildRequires: perl(Locale::Maketext::Fuzzy) >= 0.11 BuildRequires: perl(Locale::Maketext::Lexicon) >= 0.32 BuildRequires: perl(Locale::PO) BuildRequires: perl(Log::Dispatch) >= 2.30 BuildRequires: perl(Net::LDAP::Server::Test) %{?with_devel_mode:BuildRequires: perl(Log::Dispatch::Perl)} BuildRequires: perl(LWP) >= 6.02 BuildRequires: perl(LWP::Simple) BuildRequires: perl(LWP::UserAgent) >= 6.02 # In rt-test-dependencies, but seemingly unused BuildRequires: perl(LWP::Protocol::https) BuildRequires: perl(Mail::Header) >= 2.12 BuildRequires: perl(Mail::Mailer) >= 1.57 BuildRequires: perl(MIME::Entity) >= 5.504 BuildRequires: perl(MIME::Types) BuildRequires: perl(Module::Path) %{?with_devel_mode:BuildRequires: perl(Module::Refresh) >= 0.03} BuildRequires: perl(Module::Runtime) BuildRequires: perl(Module::Versions::Report) >= 1.05 BuildRequires: perl(Moose) BuildRequires: perl(MooseX::NonMoose) BuildRequires: perl(MooseX::Role::Parameterized) # In rt-test-dependencies, but seemingly unused BuildRequires: perl(Mozilla::CA) BuildRequires: perl(Mojo::DOM) BuildRequires: perl(Mojolicious) >= 8.54 BuildRequires: perl(Net::CIDR) BuildRequires: perl(Net::IP) # In rt-test-dependencies, but seemingly unused BuildRequires: perl(Net::SSLeay) BuildRequires: perl(Parallel::ForkManager) BuildRequires: perl(Path::Dispatcher) >= 1.07 # In rt-test-dependencies, but seemingly unused BuildRequires: perl(PerlIO::eol) BuildRequires: perl(Pod::Usage) BuildRequires: perl(Plack) >= 1.0002 %if "%{web_handler}" == "fcgid" BuildRequires: perl(Plack::Handler::FCGI) %endif BuildRequires: perl(Plack::Handler::Starlet) %{?with_devel_mode:BuildRequires: perl(Plack::Middleware::Test::StashWarnings) >= 0.06} BuildRequires: perl(Regexp::Common) BuildRequires: perl(Regexp::Common::net::CIDR) BuildRequires: perl(Regexp::IPv6) BuildRequires: perl(Role::Basic) >= 0.12 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scope::Upper) BuildRequires: perl(Set::Tiny) BuildRequires: perl(Storable) >= 2.08 %{?with_devel_mode:BuildRequires: perl(String::ShellQuote)} BuildRequires: perl(Symbol::Global::Name) >= 0.05 BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Term::ReadLine) %{?with_devel_mode:BuildRequires: perl(Test::Builder) >= 0.77} %{?with_devel_mode:BuildRequires: perl(Test::Deep)} %{?with_devel_mode:BuildRequires: perl(Test::Email)} %{?with_devel_mode:BuildRequires: perl(Email::Abstract)} %{?with_devel_mode:BuildRequires: perl(Test::Expect) >= 0.31} %{?with_devel_mode:BuildRequires: perl(Test::MockTime)} %{?with_devel_mode:BuildRequires: perl(Test::MockTime::HiRes)} %{?with_devel_mode:BuildRequires: perl(Test::NoWarnings)} %{?with_devel_mode:BuildRequires: perl(Test::Pod) >= 1.14} %{?with_devel_mode:BuildRequires: perl(Test::Warn)} %{?with_devel_mode:BuildRequires: perl(Test::WWW::Mechanize) > 1.56 } %{?with_devel_mode:BuildRequires: perl(Test::WWW::Mechanize::PSGI)} BuildRequires: perl(Text::ParseWords) BuildRequires: perl(Text::Password::Pronounceable) BuildRequires: perl(Text::Quoted) >= 2.07 BuildRequires: perl(Text::Template) >= 1.44 BuildRequires: perl(Text::WikiFormat) >= 0.76 BuildRequires: perl(Text::WordDiff) BuildRequires: perl(Text::Wrapper) BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::ParseDate) BuildRequires: perl(Tree::Simple) >= 1.04 BuildRequires: perl(URI::QueryParam) BuildRequires: perl(Web::Machine) >= 0.12 %{?with_devel_mode:BuildRequires: perl(WWW::Mechanize) >= 1.80} BuildRequires: perl(XML::RSS) >= 1.05 %{?with_devel_mode:BuildRequires: perl(XML::Simple)} %{?with_runtests:BuildRequires: perl(DBD::SQLite)} %{?with_runtests:BuildRequires: perl(Test::Warn)} %{?with_runtests:BuildRequires: perl(Test::MockTime)} %{?with_runtests:BuildRequires: perl(String::ShellQuote)} %{?with_runtests:BuildRequires: perl(Test::Expect)} BuildRequires: perl(namespace::autoclean) BuildRequires: /usr/bin/pod2man BuildRequires: /usr/sbin/apachectl # the original sources carry bundled versions of these ... Requires: font(droidsans) Requires: font(droidsansfallback) BuildRequires: font(droidsans) BuildRequires: font(droidsansfallback) Requires: %{_sysconfdir}/httpd/conf.d Requires(postun): %{__rm} # rpm doesn't catch these: Requires: perl(Apache::Session) Requires: perl(Business::Hours) Requires: perl(Calendar::Simple) Requires: perl(CSS::Squish) Requires: perl(Data::Page) Requires: perl(Data::Page::Pageset) Requires: perl(Data::ICal) Requires: perl(Data::ICal::Entry::Event) %{?with_mysql:Requires: perl(DBD::mysql) >= 2.1018} %{?with_pg:Requires: perl(DBD::Pg)} Requires: perl(DateTime::Format::Natural) >= 0.67 Requires: perl(Log::Dispatch::Perl) Requires: perl(GD::Text) Requires: perl(GD::Graph::bars) Requires: perl(GD::Graph::pie) Requires: perl(HTML::Quoted) Requires: perl(HTML::Mason::Request) Requires: perl(I18N::LangTags::List) Requires: perl(IPC::Run3) Requires: perl(LWP::MediaTypes) Requires: perl(mod_perl2) Requires: perl(Module::Versions::Report) Requires: perl(Net::IP) Requires: perl(PerlIO::eol) Requires: perl(Plack::Middleware::Test::StashWarnings) >= 0.06 %if "%{web_handler}" == "fcgid" Requires: perl(Plack::Handler::FCGI) %endif Requires: perl(Plack::Handler::Starlet) Requires: perl(Text::Quoted) Requires: perl(Text::WordDiff) Requires: perl(Text::WikiFormat) Requires: perl(Time::ParseDate) Requires: perl(URI::URL) Requires: perl(XML::RSS) # optional Recommends: perl(Encode::HanExtra) # rpm fails to add these: Provides: perl(RT::Shredder::Exceptions) # Split out. Technically, not actually necessary, but ... let's keep it for now. Requires: rt-mailgate %{?perl_default_filter} # Work-around rpm's depgenerator defect: %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DBIx::SearchBuilder::Handle::\\) # Word-around RHBZ#2148952 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(.::t/lifecycles/utils.pl\\) # Filter redundant provides %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(RT\\)$ # Filter bogus provides %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(HTML::Mason %description RT is an enterprise-grade ticketing system which enables a group of people to intelligently and efficiently manage tasks, issues, and requests submitted by a community of users. %package mailgate Summary: rt's mailgate utility # rpm doesn't catch these: Requires: perl(Pod::Usage) Requires: perl(HTML::TreeBuilder) %description mailgate %{summary} %if %{with devel_mode} %package tests Summary: Test suite for package rt Requires: %{name} = %{version}-%{release} Requires(postun): %{__rm} Requires: /usr/bin/prove Requires: perl(RT::Test) # rpm doesn't catch these: Requires: perl(DBD::SQLite) Requires: perl(Encode::HanExtra) Requires: perl(GnuPG::Interface) Requires: perl(GraphViz2) Requires: perl(Net::LDAP::Server::Test) Requires: perl(Plack::Handler::Apache2) Requires: perl(Set::Tiny) Requires: perl(String::ShellQuote) Requires: perl(Test::Deep) Requires: perl(Test::Expect) Requires: perl(Test::MockTime) Requires: perl(Test::MockTime::HiRes) Requires: perl(Test::Warn) %description tests %{summary} # Running the tests leaves stray files # remove everything by brute force. %postun tests if [ $1 -eq 0 ]; then %{__rm} -rf %{perl_testdir}/%{name} fi %package -n perl-RT-Test Summary: rt's test utility module Requires: rt = %{version}-%{release} # rpm doesn't catch these: Requires: perl(Test::WWW::Mechanize::PSGI) Requires: perl(Mojo::DOM) %description -n perl-RT-Test %{summary} %endif %prep %setup -q -n rt-%{version} sed -e 's,@RT_CACHEDIR@,%{RT_CACHEDIR},' %{SOURCE3} \ > README.fedora sed -e 's,@RT_LOGDIR@,%{RT_LOGDIR},' %{SOURCE4} \ > rt.logrotate # remove auto*generated files find -name '*.in' | \ while read a; do b=$(echo "$a" | sed -e 's,\.in$,,'); rm "$b"; done %patch -P 1 -p1 %patch -P 2 -p1 %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 %patch -P 6 -p1 %patch -P 7 -p1 %patch -P 8 -p1 %patch -P 9 -p1 # Unused sed -i -e '/Date::Manip/d' etc/cpanfile sed -i -e '/Date::Extract/d' etc/cpanfile sed -i -e '/Digest::base/d' etc/cpanfile %if "%{version}" >= "5.0.6" # Improperly licensed, can't ship sed -i -e '/Markdown::Render/d' etc/cpanfile %endif # Propagate rpm's directories to config.layout cat << \EOF >> config.layout # Fedora directory layout. bindir: %{RT_BINDIR} sbindir: %{RT_SBINDIR} sysconfdir: %{_sysconfdir}/%{name} libdir: %{RT_LIBDIR} manualdir: %{_pkgdocdir}/docs lexdir: %{RT_LEXDIR} localstatedir: %{RT_LOCALSTATEDIR} htmldir: %{RT_WWWDIR} fontdir: %{RT_FONTSDIR} staticdir: %{RT_STATICDIR} logfiledir: %{RT_LOGDIR} masonstatedir: %{RT_CACHEDIR}/mason_data sessionstatedir: %{RT_CACHEDIR}/session_data customdir: %{_prefix}/local/lib/%{name} custometcdir: %{_prefix}/local/etc/%{name} customhtmldir: ${customdir}/html customlexdir: ${customdir}/po customlibdir: ${customdir}/lib EOF # Comment out the Makefile trying to change groups/owners # Fix DESTDIR support sed -i \ -e 's, chgrp, : chrgp,g' \ -e 's, chown, : chown,g' \ -e 's,$(DESTDIR)/,$(DESTDIR),g' \ -e 's,-o $(BIN_OWNER) -g $(RTGROUP),,g' \ Makefile.in %if "%{rt_upgrade_dir}" == "%{_datadir}/%{name}/upgrade" # Install upgrade/ into %%{_datadir}/%%{name}/upgrade sed -i -e 's,$(RT_ETC_PATH)/upgrade,%{rt_upgrade_dir},g' Makefile.in sed -i -e 's,\./etc/upgrade,%{rt_upgrade_dir},' sbin/rt-setup-database.in sed -i -e 's,RT::EtcPath/upgrade/,RT::BasePath/share/%{name}/upgrade/,' lib/RT/Test.pm %endif %build %configure \ --with-web-user=apache --with-web-group=apache \ --with-db-type=%{?with_mysql:mysql}%{?with_pg:Pg} \ --enable-layout=Fedora \ --with-web-handler=%{web_handler} \ --libdir=%{RT_LIBDIR} %make_build # Explicitly check for devel-mode deps %{?with_devel_mode:%{__perl} ./sbin/rt-test-dependencies --verbose --with-%{?with_mysql:mysql}%{?with_pg:pg} --with-%{web_handler} --with-dev} # Create apache configurations sed -e 's,@RT_WWWDIR@,%{RT_WWWDIR},g' \ -e 's,@RT_SBINDIR@,%{RT_SBINDIR},g' \ -e 's,@RT_BINDIR@,%{RT_BINDIR},g' \ %{SOURCE5} > %{name}.conf.fcgid # Generate man-pages for file in \ bin/rt \ bin/rt-crontool \ bin/rt-mailgate \ sbin/rt-attributes-viewer \ sbin/rt-clean-attributes \ sbin/rt-clean-sessions \ sbin/rt-clean-shorteners \ sbin/rt-dump-metadata \ sbin/rt-dump-initialdata \ sbin/rt-email-dashboards \ sbin/rt-email-digest \ sbin/rt-email-expiring-auth-tokens \ sbin/rt-email-group-admin \ sbin/rt-externalize-attachments \ sbin/rt-fulltext-indexer \ sbin/rt-importer \ sbin/rt-ldapimport \ sbin/rt-munge-attachments \ sbin/rt-passwd \ sbin/rt-preferences-viewer \ sbin/rt-search-attributes \ sbin/rt-server \ sbin/rt-server.fcgi \ sbin/rt-session-viewer \ sbin/rt-setup-database \ sbin/rt-setup-fulltext-index \ sbin/rt-serializer \ sbin/rt-shredder \ sbin/rt-validate-aliases \ sbin/rt-validator \ sbin/standalone_httpd \ ; do /usr/bin/pod2man $file > $file.1 done %install make install DESTDIR=${RPM_BUILD_ROOT} # Work-around to regression in rpm >= 4.12.90: # Can't mix %%doc with directly installed docs, anymore. # Need to install all files directly. %if "%{version}" >= "5.0.6" install -m 644 README.MariaDB README.fedora ${RPM_BUILD_ROOT}%{_pkgdocdir} %else install -m 644 README README.fedora ${RPM_BUILD_ROOT}%{_pkgdocdir} %endif # We don't want CPAN in run-time packages rm -f ${RPM_BUILD_ROOT}%{_sbindir}/rt-test-dependencies # Install apache configuration mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d install -m 644 %{name}.conf.%{web_handler} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/%{name}.conf mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 for file in bin/*.1 sbin/*.1; do install -m 0644 $file ${RPM_BUILD_ROOT}%{_mandir}/man1 done # missed by "make install" install -d -m755 ${RPM_BUILD_ROOT}%{RT_LOGDIR} # missed by "make install" install -d -m755 ${RPM_BUILD_ROOT}%{RT_LOCALSTATEDIR} # install log rotation stuff mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d install -m 644 rt.logrotate ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name} install -d -m755 ${RPM_BUILD_ROOT}%{perl_testdir}/%{name} cp -R t ${RPM_BUILD_ROOT}%{perl_testdir}/%{name} cp %{SOURCE1} ${RPM_BUILD_ROOT}%{perl_testdir}/%{name} # These files should not be installed rm ${RPM_BUILD_ROOT}%{RT_LEXDIR}/*.pot rm ${RPM_BUILD_ROOT}%{RT_LIBDIR}/RT/Generated.pm.in # Fix permissions find ${RPM_BUILD_ROOT}%{RT_WWWDIR} \ -type f -exec chmod a-x {} \; # Silence rpmlint chmod a+x \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/3.8-ical-extension \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/4.0-customfield-checkbox-extension \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/generate-rtaddressregexp \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/reset-sequences \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/sanity-check-stylesheets \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/shrink-cgm-table \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/shrink-transactions-table \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/switch-templates-to \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/time-worked-history \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/upgrade-articles \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/upgrade-assets \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/upgrade-authtokens \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/upgrade-configurations \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/upgrade-mysql-schema.pl \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/upgrade-sla \ ${RPM_BUILD_ROOT}%{rt_upgrade_dir}/vulnerable-passwords %check # The tests don't work in buildroots, they # - require to be run as root # - require an operational rt system %{?with_runtests:make test} %{!?with_runtests:/usr/bin/prove -l t/pod.t} %postun if [ $1 -eq 0 ]; then %{__rm} -rf %{RT_CACHEDIR} fi %files %{_pkgdocdir} %license COPYING %{_bindir}/* %{_sbindir}/* %exclude %{_bindir}/rt-mailgate %{_mandir}/man1/* %exclude %{_mandir}/man1/rt-mailgate* %{RT_LIBDIR}/* %exclude %{RT_LIBDIR}/RT/Test* %attr(0700,apache,apache) %{RT_LOGDIR} %attr(0760,apache,apache) %{RT_LOCALSTATEDIR} %dir %{_sysconfdir}/%{name} %attr(-,root,root)%{rt_upgrade_dir} %attr(-,root,root)%{_sysconfdir}/%{name}/acl* %attr(-,root,root)%{_sysconfdir}/%{name}/schema* %attr(-,root,root)%{_sysconfdir}/%{name}/init* %{?!with_pg:%exclude %{_sysconfdir}/%{name}/*.Pg} %{?!with_pg:%exclude %{rt_upgrade_dir}/*/*.Pg} %exclude %{_sysconfdir}/%{name}/*.Oracle %exclude %{rt_upgrade_dir}/*/*.Oracle %exclude %{_sysconfdir}/%{name}/*.SQLite %exclude %{rt_upgrade_dir}/*/*.SQLite %{?!with_mysql:%exclude %{_sysconfdir}/%{name}/*.mysql} %{?!with_mysql:%exclude %{rt_upgrade_dir}/*/*.mysql} %attr(0750,apache,apache) %{_sysconfdir}/%{name}/RT_SiteConfig.d %config(noreplace) %attr(0640,apache,apache) %{_sysconfdir}/%{name}/RT_*.pm %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %dir %{_datadir}/%{name} %{RT_WWWDIR} %{RT_LEXDIR} %{RT_STATICDIR} %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %dir %{RT_CACHEDIR} %attr(0770,apache,apache) %{RT_CACHEDIR}/mason_data %attr(0770,apache,apache) %{RT_CACHEDIR}/session_data %files mailgate %license COPYING %{_bindir}/rt-mailgate %{_mandir}/man1/rt-mailgate* %if %{with devel_mode} %files tests %dir %{perl_testdir} %{perl_testdir}/%{name} # Doesn't work outside of the source tree %exclude %{perl_testdir}/%{name}/t/pod.t # Required by t/shredder/*t %{_sysconfdir}/%{name}/*.SQLite %files -n perl-RT-Test %license COPYING %dir %{RT_LIBDIR}/RT %{RT_LIBDIR}/RT/Test* %endif %changelog * Fri Jul 19 2024 Fedora Release Engineering - 5.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Ralf Corsépius - 5.0.7-1 - Update to rt-5.0.7. - Eliminate /usr/libexec/perl5-tests/rt/sbin. * Fri Jun 07 2024 Ralf Corsépius - 5.0.6-3 - Add rt_upgrade_dir. - Eliminate /etc/rt/upgrade symlink. - Fix permissions of scripts in */rt/upgrade/*. * Fri Jun 07 2024 Ralf Corsépius - 5.0.6-2 - Remove modperl2/perl(mod_perl2) (mod_perl2 was dropped from Fedora >= 37). - Add man-pages for rt-clean-attributes, rt-email-expiring-auth-tokens, rt-ldapimport, rt-munge-attachments, rt-passwd, rt-search-attributes. * Thu Jun 06 2024 Ralf Corsépius - 5.0.6-1 - Update to rt-5.0.6. * Wed Jun 05 2024 Ralf Corsépius - 5.0.5-7 - Drop support for rt < 5.0.5. - Preps for rt-5.0.6. * Mon Jan 29 2024 Ralf Corsépius - 5.0.5-6 - Add BR:/R: perl(Plack::Handler::FCGI). - Add BR: font(droidsans), font(droidsansfallback). - Update rt.conf.fcgid.in. - Update copyright notice. * Mon Jan 29 2024 FeRD (Frank Dana) - 5.0.5-5 - Depend on and use Droid Sans fonts from distro packages. * Fri Jan 26 2024 Fedora Release Engineering - 5.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 5.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Oct 22 2023 Ralf Corsépius - 5.0.5-2 - Enforce BR: perl(DBIx::SearchBuilder) >= 1.77. - Minor packaging tweaks. * Sat Oct 21 2023 Ralf Corsépius - 5.0.5-1 - Update to rt-5.0.5. - Misc. packaging tweaks. * Fri Jul 21 2023 Fedora Release Engineering - 5.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue May 16 2023 Ralf Corsépius - 5.0.4-1 - Update to rt-5.0.4. - Update package deps. - Eliminate rt-tests symlinked dirs. * Fri Jan 20 2023 Fedora Release Engineering - 5.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 05 2022 Ralf Corsépius - 5.0.3-3 - Filter out ./t/lifecycles/utils.pl to work-around rpm bogusly adding R: perl(.::t/lifecycles/utils.pl) (RHBZ#2148952). * Mon Nov 28 2022 Ralf Corsépius - 5.0.3-2 - Convert license to SPDX. * Wed Jul 27 2022 Ralf Corsépius - 5.0.3-1 - Upgrade to 5.0.3. * Sat Jul 23 2022 Fedora Release Engineering - 5.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 5.0.2-3 - Perl 5.36 rebuild * Thu Mar 10 2022 Ralf Corsépius - 5.0.2-2 - Switch to fcgid instead of modperl2. * Tue Mar 01 2022 Ralf Corsépius - 5.0.2-1 - Upgrade to 5.0.2. * Tue Mar 01 2022 Ralf Corsépius - 4.4.5-7 - Drop supporting fedora <= 31. * Tue Mar 01 2022 Ralf Corsépius - 4.4.5-6 - Preps to use fcgid instead of modperl2. * Fri Jan 21 2022 Fedora Release Engineering - 4.4.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Ralf Corsépius - 4.4.5-4 - Add R: perl(Net::IP). - Fix broken changelog entry. * Mon Oct 04 2021 Ralf Corsépius - 4.4.5-3 - Note this update addresses CVE-2021-38562 (RHBZ#2008957, RHBZ#2008958). - BR: perl(GnuPG::Interface) >= 1.02 for rt-4.4.x >= 4.4.5. - Remove anacronistic Conflict with perl(DBD::Pg) = 3.3.0. * Fri Sep 24 2021 Fedora Release Engineering - 4.4.5-2 - Revert previous erronious commit. * Thu Sep 23 2021 Fedora Release Engineering - 4.4.5-1 - Upgrade to rt-4.4.5. - Add BR: perl(Parallel::ForkManager). - Preps for rt-5. * Fri Jul 23 2021 Fedora Release Engineering - 4.4.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 4.4.4-9 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 4.4.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 4.4.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 25 2020 Jitka Plesnikova - 4.4.4-6 - Perl 5.32 rebuild * Mon Mar 09 2020 Ralf Corsépius - 4.4.4-5 - Reflect changes to google-droid fonts dirs (RHBZ#1811541). * Thu Jan 30 2020 Fedora Release Engineering - 4.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 4.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 4.4.4-2 - Perl 5.30 rebuild * Wed May 08 2019 Ralf Corsépius - 4.4.4-1 - Update to rt-4.4.4. - Drop rt3 legacy Provides/Requires/Obsolets - Add deps to perl(Encode::HanExtra). - Add BR: perl(URI::QueryParam). - Rework deps. * Sat Feb 02 2019 Fedora Release Engineering - 4.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Nov 24 2018 Ralf Corsépius - 4.4.3-2 - Change permissions on /etc/rt/RT_SiteConfig.d to 0750 (RHBZ#1652560). * Sun Jul 22 2018 Ralf Corsépius - 4.4.3-1 - Update to rt-4.4.3. - Modernize spec. - BR: perl(File::Find), perl(HTTP::Status). - Rebase patches. * Sat Jul 14 2018 Fedora Release Engineering - 4.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 4.4.2-3 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 4.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Ralf Corsépius - 4.4.2-1 - Update to rt-4.4.2. * Wed Jul 26 2017 Ralf Corsépius - 4.4.1-9 - Add missing %%patch6. * Wed Jul 26 2017 Ralf Corsépius - 4.4.1-8 - Add 0006-Apply-security-2017-06-15-rt-4.4.1.patch.patch (RHBZ#1475084). Supposed to address CVE-2016-6127, CVE-2017-5361, CVE-2017-5943, CVE-2017-5944. - Update README.fedora. * Thu Jun 15 2017 Jitka Plesnikova - 4.4.1-7 - Perl 5.26 rebuild * Wed Jun 07 2017 Jitka Plesnikova - 4.4.1-6 - Perl 5.26 re-rebuild of bootstrapped packages * Wed Mar 15 2017 Ralf Corsépius - 4.4.1-5 - Fix testsuite failure in t/web/cf_groupings.t caused by Mojolicious >= 7.0 incompatibilty (Add 0005-Fix-tests-for-Mojolicious-7.0.patch). * Sat Feb 11 2017 Fedora Release Engineering - 4.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 24 2017 Ralf Corsépius - 4.4.1-3 - Add R: perl(Data::Page) and R: perl(Data::Page::Pageset) (RHBZ#1415825). * Tue Dec 20 2016 Ralf Corsépius - 4.4.1-2 - Add perl(Net::LDAP::Server::Test). * Thu Jul 28 2016 Ralf Corsépius - 4.4.1-1 - Update to rt-4.4.1. - Reflect upstream URLs having changed. - Add man-pages for rt-importer, rt-serializer, rt-validate-aliases, rt-externalize-attachments. - Rebase patches. - Update README.fedora.in. - Misc. spec file massaging. * Mon May 30 2016 Ralf Corsépius - 4.4.0-2 - Rebuild for perl-5.24 (RHBZ#1339296). * Fri Feb 26 2016 Ralf Corsépius - 4.4.0-1 - Update to rt-4.4.0. - Rebase patches. - Update deps. - Update README.fedora.in. * Thu Feb 04 2016 Fedora Release Engineering - 4.2.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Aug 17 2015 Ralf Corsépius - 4.2.12-1 - Update to rt-4.2.12. - Rebase 0001-Remove-configure-time-generated-files.patch. * Tue Aug 04 2015 Ralf Corsépius - 4.2.11-2 - Install README* directly into %%_pkgdocdir (Work-around regression introduced by rpm-4.12.90 (RHBZ#1249716). * Wed Jun 17 2015 Ralf Corsépius - 4.2.11-1 - Update to 4.2.11. - Rebase patches. - Install devel/docs. * Tue Jun 09 2015 Jitka Plesnikova - 4.2.10-3 - Perl 5.22 rebuild * Tue Mar 24 2015 Ralf Corsépius - 4.2.10-2 - Update patches. - R: perl(Time::ParseDate). - Add docs symlink. - Add %%license. - Spec cleanup. * Mon Mar 09 2015 Jason L Tibbitts III - 4.2.10-1 - Update to 4.2.10. - Remove 0001-Remove-configure-time-generated-files.patch and delete the files directly instead; the patch would require a complete rebase any time any of those files changes. - Remove 0008-Adjust-path-to-html-autohandler.patch and 0009-Work-around-testsuite-failure.patch as they have been upstreamed. - Adjust to new filenames in /usr/share/rt/upgrade. * Tue Jan 27 2015 Ralf Corsépius - 4.2.9-2 - Remove --with/without gpg. - Remove --with/without gd. - Remove --with/without graphviz. * Mon Jan 26 2015 Ralf Corsépius - 4.2.9-1 - Update to rt-4.2.9.