Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
gnome-pilot
gnome-pilot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-pilot.spec of Package gnome-pilot
# # spec file for package gnome-pilot # # 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/ # Name: gnome-pilot Version: 2.91.93 Release: 0 Summary: PalmOS Device Management for GNOME License: GPL-2.0+ Group: System/GUI/GNOME Url: http://www.gnome.org Source: http://download.gnome.org/sources/gnome-pilot/2.91/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM gnome-pilot-pkglib-fix.patch bgo#674850 vuntz@opensuse.org -- Don't redefine pkglibdir in Makefile.am, since that's reserved by autoconf Patch0: gnome-pilot-pkglib-fix.patch # PATCH-FIX-OPENSUSE gnome-pilot-pisock64bit.patch vuntz@opensuse.org -- Correctly detect libpisock on 64bits Patch1: gnome-pilot-pisock64bit.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gnome-common BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-icon-theme BuildRequires: gob2 BuildRequires: intltool BuildRequires: libpisock-devel BuildRequires: libpisync-devel BuildRequires: shared-mime-info BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libedataserverui-3.0) BuildRequires: pkgconfig(libpanelapplet-4.0) BuildRequires: pkgconfig(libxml-2.0) Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %description This package provides application to integrate PalmOS devices in GNOME. %package devel Summary: Include Files and Libraries mandatory for Development License: GPL-2.0+ ; LGPL-2.1+ Group: Development/Libraries/GNOME Requires: %{name} = %{version} Requires: libpisock-devel Requires: libpisync-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %lang_package %prep %setup -q translation-update-upstream %patch0 -p1 %patch1 %build autoreconf -f -i %configure \ --disable-static \ --libexecdir=%{_libexecdir}/gnome-pilot \ --disable-scrollkeeper \ --with-pisock=%{_prefix} %__make %{?_smp_mflags} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %suse_update_desktop_file gpilotd-control-applet DESTDIR=%{buildroot} mime-info-to-mime rm -r %{buildroot}%{_datadir}/mime-info # Change sr@Latn to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin # Replace pda Icon in .desktop file (only in GNOME icon theme) with an icon that will live in hicolor grep -q "^Icon=pda$" %{buildroot}%{_datadir}/applications/gpilotd-control-applet.desktop sed -i "s/Icon=pda/Icon=gnome-pilot/g" %{buildroot}%{_datadir}/applications/gpilotd-control-applet.desktop for size in 8x8 16x16 22x22 24x24 32x32 48x48; do if test -f %{_datadir}/icons/gnome/$size/devices/pda.png; then mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size/apps cp -a %{_datadir}/icons/gnome/$size/devices/pda.png %{buildroot}%{_datadir}/icons/hicolor/$size/apps/gnome-pilot.png fi done %find_lang %{name} %{?no_lang_C} %find_gconf_schemas %fdupes %{buildroot} %clean rm -rf %{buildroot} %pre -f %{name}.schemas_pre %post /sbin/ldconfig %desktop_database_post %icon_theme_cache_post %mime_database_post %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun /sbin/ldconfig %desktop_database_postun %icon_theme_cache_postun %mime_database_postun %files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/* %{_libdir}/*.so.* %{_libdir}/gnome-pilot/ %if "%{_libdir}" != "%{_libexecdir}" %{_libexecdir}/gnome-pilot/ %endif %{_datadir}/applications/gpilotd-control-applet.desktop %{_datadir}/dbus-1/services/org.gnome.GnomePilot.service %{_datadir}/dbus-1/services/org.gnome.panel.applet.PilotAppletFactory.service %{_datadir}/gnome-panel/4.0/applets/org.gnome.applets.PilotApplet.panel-applet %{_datadir}/gnome-pilot/ %{_datadir}/icons/hicolor/*/apps/gnome-pilot.png %{_datadir}/mime/packages/palm.xml %{_datadir}/pixmaps/*.png %doc %{_mandir}/man?/*.* %files devel %defattr(-, root, root) %{_includedir}/gnome-pilot-3.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/gnome-pilot-3.0.pc %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