File gnome-pilot-conduits.spec of Package gnome-pilot-conduits
#
# spec file for package gnome-pilot-conduits
#
# Copyright (c) 2011 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/
#
Name: gnome-pilot-conduits
Version: 2.91.93
Release: 1
License: GPLv2+
Summary: PalmOS Device Management for GNOME -- Additional Conduits
Url: http://www.gnome.org/
Group: System/GUI/GNOME
Source: http://download.gnome.org/sources/gnome-pilot-conduits/2.91/%{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(gnome-pilot-3.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libxml-2.0)
Recommends: %{name}-lang
# Has biarch problems:
# http://bugzilla.gnome.org/show_bug.cgi?id=302727
Conflicts: gnome-pilot-conduits-32bit
# Package with obsolete files was last present in openSUSE 10.2:
Obsoletes: %{name}-devel <= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides additional conduits to integrate PalmOS devices
in GNOME.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/gnome-pilot/conduits/*.so
%{_datadir}/gnome-pilot/conduits/expense.conduit
%{_datadir}/gnome-pilot/conduits/memofile.conduit
%{_datadir}/gnome-pilot/conduits/sendmail.conduit
%{_datadir}/gnome-pilot/conduits/time.conduit
%files lang -f %{name}.lang
%changelog