Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libgarcon
libgarcon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgarcon.spec of Package libgarcon
# # spec file for package libgarcon # # 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/ # %define libname libgarcon-1-0 Name: libgarcon Version: 0.2.0 Release: 0 Summary: Library Implementing the freedesktop.org Desktop Menu Specification License: GPL-2.0+ Group: System/Libraries Url: http://wiki.xfce.org/dev/garcon Source: http://archive.xfce.org/src/libs/garcon/0.2/garcon-%{version}.tar.bz2 # PATCH-FEATURE-OPENSUSE libgarcon-x-suse-unimportant-support.patch gber@opensuse.org -- Hide desktop files marked with X-SuSE-Unimportant Patch0: libgarcon-x-suse-unimportant-support.patch BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Garcon is a library based on GLib and GIO which implements the freedesktop.org Desktop Menu Specification. It is the sucessor to libxfce4menu and covers almost every part of the menu specification except for legacy menus and a few XML attributes. It is capable of loading menus modified with menu editors such as Alacarte and also supports merging. %package -n %{libname} Summary: Library Implementing the freedesktop.org Desktop Menu Specification Group: System/Libraries # uses exo-open Requires: exo-tools # contains just menu data that needs to be dragged in at a low level Recommends: %{name}-data %description -n %{libname} Garcon is a library based on GLib and GIO which implements the freedesktop.org Desktop Menu Specification. It is the sucessor to libxfce4menu and covers almost every part of the menu specification except for legacy menus and a few XML attributes. It is capable of loading menus modified with menu editors such as Alacarte and also supports merging. %package data Summary: Data Files for garcon Group: System/GUI/XFCE Requires: %{name}-branding = %{version} Recommends: %{name}-lang = %{version} BuildArch: noarch %description data This package provides data files for garcon. %package devel Summary: Development Files for garcon Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Recommends: %{name}-doc = %{version} %description devel This package contains the files needed for developing applications based on garcon. %package doc Summary: Documentation for garcon Group: Documentation/HTML BuildArch: noarch %description doc This package includes the documentation for garcon. %package branding-upstream Summary: Upstream Branding of garcon Group: System/GUI/XFCE # BRAND: xfce-applications.menu: Provides the Xfce applications menu. Conflicts: otherproviders(%{name}-branding) Provides: %{name}-branding = %{version} Supplements: packageand(%{name}-data:branding-upstream) # the menu references xfce4-about.desktop Requires: libxfce4ui-tools BuildArch: noarch %description branding-upstream This package provides the upstream look and feel for garcon. # this should be replaced by %%lang_package once bnc#513786 is resolved %package lang Summary: Languages for package %{name} Group: System/Localization Requires: %{name}-data = %{version} Provides: %{name}-lang-all = %{version} Supplements: packageand(bundle-lang-other:%{name}-data) BuildArch: noarch %description lang Provides translations to the package %{name} %prep %setup -q -n garcon-%{version} %patch0 -p1 %build %configure \ --disable-static \ --enable-gtk-doc make %{?_smp_mflags} V=1 %install %make_install rm -f %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang garcon %{?no_lang_C} %clean rm -rf %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root) %doc AUTHORS COPYING HACKING NEWS README STATUS TODO %{_libdir}/libgarcon-*.so.* %files data %defattr(-,root,root) %dir %{_datadir}/desktop-directories %{_datadir}/desktop-directories/*.directory %files lang -f garcon.lang %files devel %defattr(-,root,root) %dir %{_includedir}/garcon-1 %{_includedir}/garcon-1/garcon/ %{_libdir}/pkgconfig/garcon-1.pc %{_libdir}/libgarcon-1.so %files doc %defattr(-,root,root) %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %doc %{_datadir}/gtk-doc/html/garcon/ %files branding-upstream %defattr(-,root,root) %dir %{_sysconfdir}/xdg/menus %{_sysconfdir}/xdg/menus/xfce-applications.menu %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