]> git.pld-linux.org Git - packages/gnome-abrt.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Apr 2013 16:48:43 +0000 (18:48 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Apr 2013 16:48:43 +0000 (18:48 +0200)
gnome-abrt.spec [new file with mode: 0644]

diff --git a/gnome-abrt.spec b/gnome-abrt.spec
new file mode 100644 (file)
index 0000000..99bcc6b
--- /dev/null
@@ -0,0 +1,84 @@
+#
+# Conditional build:
+%bcond_without tests   # "make check" run
+#
+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:       0.2.10
+Release:       1
+License:       GPL v2+
+Group:         Applications/System
+Source0:       https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
+# Source0-md5: 9cdb88de911163980add38fad1e3df72
+URL:           https://fedorahosted.org/abrt/
+BuildRequires: asciidoc
+BuildRequires: gettext-devel >= 0.17
+BuildRequires: gtk+3-devel >= 3.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libreport-gtk-devel >= 2.0.19
+BuildRequires: pkgconfig
+%{?with_tests:BuildRequires:   pylint}
+BuildRequires: python-devel >= 1:2.7
+BuildRequires: python-pygobject3 >= 3.0
+BuildRequires: xmlto
+Requires:      python-dbus
+Requires:      python-inotify
+Requires:      python-pygobject3
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A GNOME application allows users to browse through detected problems
+and provides them with convenient way for managing these problems.
+
+%description -l pl.UTF-8
+Aplikacja GNOME pozwalająca użytkownikom przeglądać wykryte problemy i
+zapewniająca wygodny sposób zarządzania tymi problemami.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       %{!?with_tests:PYLINT=/bin/true} \
+       --disable-silent-rules
+
+%{__make}
+
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/gnome_abrt/wrappers/*.la
+%py_postclean
+
+# just a copy of cs
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/cs_CZ
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gnome-abrt
+%dir %{py_sitedir}/gnome_abrt
+%{py_sitedir}/gnome_abrt/*.py[co]
+%dir %{py_sitedir}/gnome_abrt/wrappers
+%{py_sitedir}/gnome_abrt/wrappers/__init__.py[co]
+%attr(755,root,root) %{py_sitedir}/gnome_abrt/wrappers/_wrappers.so
+%{_datadir}/gnome-abrt
+%{_desktopdir}/gnome-abrt.desktop
+%{_iconsdir}/hicolor/*/apps/gnome-abrt.png
+%{_iconsdir}/hicolor/*/status/gnome-abrt.png
+%{_mandir}/man6/gnome-abrt.6*
This page took 0.129565 seconds and 4 git commands to generate.