]> git.pld-linux.org Git - packages/gnome-abrt.git/blobdiff - gnome-abrt.spec
- release 6 (by relup.sh)
[packages/gnome-abrt.git] / gnome-abrt.spec
index 53ccdc454dfe2bef0c0c64d150078e43e5578bc6..3d52dc2359a69531190973c91d7d4100025a7d3e 100644 (file)
@@ -5,20 +5,23 @@
 Summary:       A utility for viewing problems that have occurred with the system
 Summary(pl.UTF-8):     Narzędzie do przeglądania problemów, które wystąpiły w systemie
 Name:          gnome-abrt
-Version:       1.2.0
-Release:       2
+Version:       1.2.5
+Release:       6
 License:       GPL v2+
 Group:         Applications/System
 Source0:       https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: 9b2d3e364e735f6a7401a84462951232
+# Source0-md5: e3ab0e2c43bb6b28f29eced47cca8d67
 Patch0:                %{name}-pylint.patch
 URL:           https://github.com/abrt/abrt/wiki/ABRT-Project
 BuildRequires: abrt-gui-devel >= 2.1.7
 BuildRequires: asciidoc
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
 BuildRequires: gettext-tools >= 0.17
 BuildRequires: gtk+3-devel >= 3.0
 BuildRequires: intltool >= 0.35.0
 BuildRequires: libreport-gtk-devel >= 2.0.20
+BuildRequires: libtool
 BuildRequires: pkgconfig
 %{?with_tests:BuildRequires:   pylint}
 BuildRequires: python3-devel >= 1:3.4
@@ -50,9 +53,16 @@ zapewniająca wygodny sposób zarządzania tymi problemami.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e 's#-pedantic##g' configure.ac
 %{__sed} -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' src/gnome-abrt
 
+%{__sed} -n -e '/^%%changelog/,$' gnome-abrt.spec.in | tail -n +2 > changelog
+
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --disable-silent-rules \
        %{!?with_tests:--with-nopylint}
@@ -69,11 +79,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/gnome_abrt/wrappers/*.la
 %py_postclean
 
-# just a copy of cs
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs_CZ
+# packaged as %doc
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/gnome-abrt/README.md
 
 %find_lang %{name}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -85,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc README.md changelog
 %attr(755,root,root) %{_bindir}/gnome-abrt
 %dir %{py3_sitedir}/gnome_abrt
 %{py3_sitedir}/gnome_abrt/*.py
This page took 0.187479 seconds and 4 git commands to generate.