Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
pan
pan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pan.spec of Package pan
# # spec file for package pan # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # ## Fix for bnc#725971 and bnc#728311 - prefer building with GTK2. - Upstream: bgo#669402 and bgo#669403 %define favor_gtk2 1 Name: pan Version: 0.136 Release: 0 Summary: A Powerful Newsreader for GNOME License: GPL-2.0+ Group: Productivity/Networking/News/Clients Url: http://pan.rebelbase.com/ Source: http://pan.rebelbase.com/download/releases/0.136/source/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM fix-desktop-file-11.0.diff -- validate desktop file Patch0: fix-desktop-file-11.0.diff # PATCH-FIX-UPSTREAM pan-fix-warnings.patch bgo#673820 vuntz@opensuse.org -- Fix gcc warnings breaking the build Patch1: pan-fix-warnings.patch # PATCH-FIX-UPSTREAM pan-gtkspell3.patch bgo#669402 zaitor@opensuse.org -- Make configure look for the right pkgconfig name for gtkspell3. Patch2: pan-gtkspell3.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gnome-patch-translation BuildRequires: intltool >= 0.40.6 BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(enchant) >= 1.6.0 %if 0%{?suse_version} > 1210 BuildRequires: pkgconfig(gmime-2.6) >= 2.5.5 %else BuildRequires: pkgconfig(gmime-2.4) >= 2.4.0 %endif %if 0%{?suse_version} >= 1210 BuildRequires: pkgconfig(gnome-keyring-1) >= 3.2.0 %endif BuildRequires: pkgconfig(gnutls) >= 2.12.10 %if 0%{?favor_gtk2} BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtkspell-2.0) >= 2.0.7 %else BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtkspell-3.0) >= 2.0.16 %endif BuildRequires: pkgconfig(libnotify) >= 0.4.1 Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PAN is a very powerful newsreader. Its user interface is loosely based on other popular newsreaders. %lang_package %prep %setup -q sed -i -e "s,sr@Latn,sr@latin," configure sed -i -e "s,sr@Latn,sr@latin," po/LINGUAS sed -i -e "s,sr@Latn,sr@latin," pan.desktop mv po/sr@Latn.po po/sr@latin.po translation-update-upstream gnome-patch-translation-prepare %patch0 %patch1 -p1 %patch2 -p1 gnome-patch-translation-update # needed for patch0 rm pan.desktop %build %configure \ %if !(0%{?favor_gtk2}) --with-gtk3 \ %endif --with-gnutls make %{?_smp_mflags} %install %makeinstall %find_lang %{name} %{?no_lang_C} %suse_update_desktop_file %name Network News %fdupes %{buildroot} %clean rm -rf %{buildroot} %if 0%{?suse_version} > 1130 %post %desktop_database_post %endif %if 0%{?suse_version} > 1130 %postun %desktop_database_postun %endif %files %defattr(-,root,root) %doc README ChangeLog AUTHORS COPYING %{_bindir}/pan %{_datadir}/applications/pan.desktop %{_datadir}/pixmaps/pan.png %files lang -f %{name}.lang %changelog
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