Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ghostlyrat
openfire
openfire.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openfire.spec of Package openfire
# # Spec file for package openfire # # Copyright (c) 2008-2009 Exata T.I., Maringa, PR, Brasil. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org # Name: openfire Version: 4.0.3 Release: 1.1 License: Apache-2.0 Summary: Openfire XMPP Server Url: http://www.igniterealtime.org/ Group: Productivity/Networking/Talk/Servers Source0: %{name}_src_4_0_3.tar.gz Source1: kraken-1.1.3-beta3.jar Source2: webchat-4.0.0.war Source3: %{name}.init BuildRequires: ant BuildRequires: fdupes BuildRequires: java #BuildRequires: mysql BuildRequires: mariadb Requires: java Requires: mysql BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: no Requires(post): %insserv_prereq %fillup_prereq %define homedir %{_datadir}/%{name} %description A leading Open Source, cross-platform IM server based on the XMPP (Jabber) protocol. It has great performance, is easy to setup and use, and delivers an innovative feature set. This package also includes the IM Gateway and Fastpath Webchat plugins. %package doc License: GPL Summary: Openfire XMPP Server Documentation Group: Documentation/Other %description doc This package contains optional documentation provided in addition to this package's base documentation. %prep %setup -q -n %{name}_src %build # Build Tasks #------------------------------------------------------------------------------------ pushd build # Default | openfire #------------------------------------------------------------------------------------ ant openfire # Specific Plugins #------------------------------------------------------------------------------------ ant -Dplugin=broadcast plugin ant -Dplugin=clientControl plugin ant -Dplugin=contentFilter plugin ant -Dplugin=emailListener plugin ant -Dplugin=fastpath plugin ant -Dplugin=monitoring plugin ant -Dplugin=presence plugin ant -Dplugin=registration plugin ant -Dplugin=search plugin ant -Dplugin=subscription plugin ant -Dplugin=userCreation plugin ant -Dplugin=userImportExport plugin ant -Dplugin=userservice plugin popd %install export NO_BRP_CHECK_BYTECODE_VERSION=true # Copy over the main install tree. #------------------------------------------------------------------------------------ %{__install} -d %{buildroot}%{_datadir} %{__cp} -R target/openfire %{buildroot}%{homedir} # Set up the init script. #------------------------------------------------------------------------------------ %{__install} -D -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__install} -d %{buildroot}%{_sbindir} %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} # Make the startup script executable. #------------------------------------------------------------------------------------ %{__chmod} 755 %{buildroot}%{homedir}/bin/openfire.sh # Set up the sysconfig file. #------------------------------------------------------------------------------------ %{__install} -D %{buildroot}%{homedir}/bin/extra/redhat/openfire-sysconfig %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.openfire %{__chmod} -x %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.openfire # Copy over the documentation. #------------------------------------------------------------------------------------ #%{__cp} -R documentation %{buildroot}%{homedir}/documentation #%{__cp} changelog.html %{buildroot}%{homedir}/ #%{__cp} LICENSE.html %{buildroot}%{homedir}/ #%{__cp} README.html %{buildroot}%{homedir}/ # Copy over the i18n files. #------------------------------------------------------------------------------------ %{__cp} -R resources/i18n %{buildroot}%{homedir}/resources/i18n # Make sure scripts are executable. #------------------------------------------------------------------------------------ #%{__chmod} 755 %{buildroot}%{homedir}/bin/extra/openfired #%{__chmod} 755 %{buildroot}%{homedir}/bin/extra/redhat-postinstall.sh # Move over the embedded db viewer pieces. #------------------------------------------------------------------------------------ %{__mv} %{buildroot}%{homedir}/bin/extra/embedded-db.rc %{buildroot}%{homedir}/bin %{__mv} %{buildroot}%{homedir}/bin/extra/embedded-db-viewer.sh %{buildroot}%{homedir}/bin # We don't really need any of these things. #------------------------------------------------------------------------------------ %{__rm} -rf %{buildroot}%{homedir}/bin/extra %{__rm} -f %{buildroot}%{homedir}/bin/*.bat %{__rm} -rf %{buildroot}%{homedir}/resources/nativeAuth/osx-ppc %{__rm} -rf %{buildroot}%{homedir}/resources/nativeAuth/solaris-sparc %{__rm} -rf %{buildroot}%{homedir}/resources/nativeAuth/win32-x86 %{__rm} -f %{buildroot}%{homedir}/lib/*.dll %{__rm} -rf %{buildroot}%{homedir}/resources/spank # Install the config file. #------------------------------------------------------------------------------------ #%{__install} -m 0644 %{SOURCE1} %{buildroot}%{homedir}/conf/openfire.xml # Instal Kraken IM Gateway Plugin. #------------------------------------------------------------------------------------ %{__install} -m 0644 %{SOURCE1} %{buildroot}%{homedir}/plugins/kraken.jar # Instal Fastpath Webchat Plugin. #------------------------------------------------------------------------------------ %{__install} -m 0644 %{SOURCE2} %{buildroot}%{homedir}/plugins/webchat.war # Create symlinks to avoid waste space. #------------------------------------------------------------------------------------ %fdupes -s %{buildroot} %clean %{__rm} -rf %{buildroot} %preun %{stop_on_removal %{name}} # Force a happy exit even if openfire shutdown script didn't exit cleanly. exit 0 %post # Enable mysql at startup #%%{fillup_and_insserv -fy mysql} # Enable openfire at startup %{fillup_and_insserv -y %{name}} # Force a happy exit even if openfire condrestart script didn't exit cleanly. #exit 0 %postun %{restart_on_update %{name}} %{insserv_cleanup} # Force a happy exit even if openfire condrestart script didn't exit cleanly. #exit 0 %files %defattr(-,daemon,daemon) %attr(750, daemon, daemon) %dir %{homedir} %dir %{homedir}/bin %{homedir}/bin/openfire.sh %attr(0755,daemon,daemon) %{homedir}/bin/openfirectl %config(noreplace) %{homedir}/bin/embedded-db.rc %{homedir}/bin/embedded-db-viewer.sh %dir %{homedir}/conf %config(noreplace) %{homedir}/conf/security.xml %config(noreplace) %{homedir}/conf/openfire.xml %config(noreplace) %{homedir}/conf/crowd.properties %dir %{homedir}/lib %{homedir}/lib/*.jar %{homedir}/lib/log4j.xml %dir %{homedir}/logs %dir %{homedir}/plugins %{homedir}/plugins/broadcast.jar %{homedir}/plugins/clientControl.jar %{homedir}/plugins/contentFilter.jar %{homedir}/plugins/emailListener.jar %{homedir}/plugins/fastpath.jar %{homedir}/plugins/kraken.jar %{homedir}/plugins/monitoring.jar %{homedir}/plugins/presence.jar %{homedir}/plugins/registration.jar %{homedir}/plugins/search.jar %{homedir}/plugins/subscription.jar %{homedir}/plugins/userCreation.jar %{homedir}/plugins/userImportExport.jar %{homedir}/plugins/userservice.jar %{homedir}/plugins/webchat.war %{homedir}/plugins/admin %dir %{homedir}/resources %dir %{homedir}/resources/database %{homedir}/resources/database/*.sql %dir %{homedir}/resources/database/upgrade %{homedir}/resources/database/upgrade/* %{homedir}/resources/i18n/ %dir %{homedir}/resources/nativeAuth %{homedir}/resources/nativeAuth/linux-i386/ %dir %{homedir}/resources/security %config(noreplace) %{homedir}/resources/security/keystore %config(noreplace) %{homedir}/resources/security/truststore %config(noreplace) %{homedir}/resources/security/client.truststore %{_sbindir}/rc%{name} %{_sysconfdir}/init.d/openfire %config(noreplace) %{_localstatedir}/adm/fillup-templates/sysconfig.openfire %files doc %defattr(-,root,root) %doc documentation/docs/* LICENSE.html README.html changelog.html %changelog * Tue Aug 23 2016 alexandre@exatati.com.br - Fix rpmlints. * Tue Aug 23 2016 alexandre@exatati.com.br - Update to 4.0.3. * Wed Apr 6 2016 alexandre@exatati.com.br - Update to 4.0.2. * Mon Jun 2 2014 alexandre@exatati.com.br - Update to 3.9.3. * Tue May 28 2013 alexandre@exatati.com.br - Update do 3.8.2. * Mon Mar 4 2013 alexandre@exatati.com.br - Update to 3.8.1 - Bugfix release. * Thu Feb 7 2013 alexandre@exatati.com.br - Update to 3.8.0: - the new Hazelcast-based clustering plugin (subject of an earlier blog post) - substantial improvements to the functionality, scalability and stability of the PubSub implementation (including fixing the PEP related memory leak) - improvements of the server-to-server connectivity routines - many performance improvements and general bug fixes - Please see full changelog at http://www.igniterealtime.org/builds/openfire/docs/latest/changelog.html - Remove Java 1.7 patch. * Mon Jan 7 2013 alexandre@exatati.com.br - Add patch to fix build with JDK 1.7. * Mon Oct 3 2011 alexandre@exatati.com.br - Update to 3.7.1. * Mon Mar 7 2011 alexandre@exatati.com.br - Update to 3.7.0. * Sat Jan 29 2011 alexandre@exatati.com.br - Small fixes in spec file. * Fri Aug 27 2010 alexandre@exatati.com.br - Fixed "Group" tag in spec file. * Fri Aug 27 2010 alexandre@exatati.com.br - Update to 3.7.0 beta; - Spec file cleaned with spec-cleaner. * Sat Jan 23 2010 alexandre@exatati.com.br - Updated to 3.6.4; - Replaced IM Gateway by Kraken; - Fixed init file; - Now filling up sysconfig file. * Sun Mar 1 2009 alexandre@exatati.com.br - Updated to 3.6.3; - Fixed spec file to openSUSE Build Service. * Mon Mar 31 2008 alexandre@exatati.com.br - Initial package.
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