From ad6d9c6db43cd30422f35a5ff0e30b782c71a382 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Oct 31 2013 14:14:56 +0000 Subject: import abrt-java-connector-1.0.6-1.el7.src.rpm --- diff --git a/.abrt-java-connector.metadata b/.abrt-java-connector.metadata new file mode 100644 index 0000000..6254127 --- /dev/null +++ b/.abrt-java-connector.metadata @@ -0,0 +1 @@ +6cbe103c641ddf08b08dfaabdc6f9c7ed305dab5 SOURCES/abrt-java-connector-1.0.6-befb850.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/abrt-java-connector.spec b/SPECS/abrt-java-connector.spec new file mode 100644 index 0000000..2926830 --- /dev/null +++ b/SPECS/abrt-java-connector.spec @@ -0,0 +1,140 @@ +%global commit befb850dbc72b117ad6bebabee314e7d41b97183 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: abrt-java-connector +Version: 1.0.6 +Release: 1%{?dist} +Summary: JNI Agent library converting Java exceptions to ABRT problems + +Group: System Environment/Libraries +License: GPLv2+ +URL: https://github.com/jfilak/abrt-java-connector +Source0: https://github.com/jfilak/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz + +BuildRequires: cmake +BuildRequires: libreport-devel +BuildRequires: java-1.7.0-openjdk-devel + +Requires: abrt + +%description +JNI library providing an agent capable to process both caught and uncaught +exceptions and transform them to ABRT problems + + +%prep +%setup -qn %{name}-%{commit} + + +%build +%cmake -DCMAKE_BUILD_TYPE=Release +make %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} + +# Remove unwanted Fedora specific workflow configuration files +%if 0%{!?fedora:1} +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_fedora_java.conf +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/events.d/java_event_fedora.conf +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_fedora_java.conf.5 +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/java_event_fedora.conf.5 +%endif + +# Remove unwanted RHEL specific workflow configuration files +%if 0%{!?rhel:1} +rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELJava.xml +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_rhel_java.conf +rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/events.d/java_event_rhel.conf +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel_java.conf.5 +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/java_event_rhel.conf.5 +%endif + + +%files +%doc LICENSE README AUTHORS +%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_java.conf +%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_java.conf +%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event.conf +%{_mandir}/man5/java_event.conf.5* +%{_mandir}/man5/bugzilla_format_java.conf.5* +%{_mandir}/man5/bugzilla_formatdup_java.conf.5* + +%if 0%{?fedora} +%{_datadir}/libreport/workflows/workflow_FedoraJava.xml +%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event_fedora.conf +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora_java.conf +%{_mandir}/man5/java_event_fedora.conf.5* +%{_mandir}/man5/report_fedora_java.conf.5* +%endif + +%if 0%{?rhel} +%{_datadir}/libreport/workflows/workflow_RHELJava.xml +%config(noreplace) %{_sysconfdir}/libreport/events.d/java_event_rhel.conf +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_java.conf +%{_mandir}/man5/java_event_rhel.conf.5* +%{_mandir}/man5/report_rhel_java.conf.5* +%endif + +# install only unversioned shared object because the package is a Java plugin +# and not a system library but unfortunately the library must be placed in ld +# library paths +%{_libdir}/lib%{name}.so + + +%check +make test + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + + +%changelog +* Tue Oct 01 2013 Jakub Filak - 1.0.6-1 +- Fix a deadlock in GC start callback +- Disable experimental features in production releases +- Resolves: #1012827 + +* Tue Jul 30 2013 Jakub Filak - 1.0.5-1 +- Provide a proper configuration for libreport + +* Thu Jul 18 2013 Jakub Filak - 1.0.4-1 +- Stop creating an empty log file +- Resolves: #985776 + +* Tue Jul 16 2013 Jakub Filak - 1.0.3-1 +- Fix tests on arm + +* Tue Jul 09 2013 Jakub Filak - 1.0.2-1 +- Do not crash on empty command line options + +* Mon Jul 08 2013 Jakub Filak - 1.0.1-1 +- Fix tests on ppc and s390 on both 32 and 64 bit + +* Thu Jun 27 2013 Jakub Filak - 1.0.0-1 +- Publicly releasable version + +* Mon Jun 03 2013 Jakub Filak - 0.1.2-1 +- Start versioning library +- Drop build dependency on abrt-devel + +* Mon Jun 03 2013 Jakub Filak - 0.1.1-2 +- Provide ABRT configuration + +* Mon Jun 03 2013 Jakub Filak - 0.1.1-1 +- New release + +* Fri May 31 2013 Jakub Filak - 0.1.0-3 +- Build with the library name same as the package name + +* Fri May 31 2013 Jakub Filak - 0.1.0-2 +- Build with ABRT enabled + +* Fri May 31 2013 Jakub Filak - 0.1.0-1 +- Initial version