2010-02-11 18:34:33 +00:00
|
|
|
#
|
2011-01-14 12:56:04 +00:00
|
|
|
# spec file for package libxfce4ui
|
2010-12-07 17:18:21 +00:00
|
|
|
#
|
2011-01-14 12:56:04 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-12-07 17:18:21 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2010-02-11 18:34:33 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-01-14 12:56:04 +00:00
|
|
|
|
|
|
|
|
2010-02-11 18:34:33 +00:00
|
|
|
Name: libxfce4ui
|
2011-01-17 11:12:13 +00:00
|
|
|
Version: 4.8.0
|
2011-10-14 16:00:18 +00:00
|
|
|
Release: 2
|
2010-02-11 18:34:33 +00:00
|
|
|
License: LGPLv2.1+
|
2011-01-17 11:12:13 +00:00
|
|
|
Summary: Widgets Library for the Xfce Desktop Environment
|
|
|
|
Url: http://www.xfce.org/projects/libxfce4/
|
2010-12-24 12:50:30 +00:00
|
|
|
Group: System/Libraries
|
2010-12-03 01:57:06 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: pkgconfig(gladeui-1.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
|
BuildRequires: pkgconfig(libxfce4util-1.0)
|
|
|
|
BuildRequires: pkgconfig(libxfconf-0)
|
2011-01-05 18:08:47 +00:00
|
|
|
Requires: %{name}-branding >= %{version}
|
2010-02-11 18:34:33 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2010-12-24 12:50:30 +00:00
|
|
|
The libxfce4ui library provides a number of widgets commonly used by Xfce
|
|
|
|
applications.
|
2010-02-11 18:34:33 +00:00
|
|
|
|
2010-10-06 21:15:33 +00:00
|
|
|
%package -n glade3-catalog-libxfce4ui
|
2010-12-05 22:20:47 +00:00
|
|
|
License: LGPLv2.1+
|
2011-01-30 22:18:04 +00:00
|
|
|
Summary: libxfce4ui Glade Catalog
|
2010-10-06 21:15:33 +00:00
|
|
|
Group: Development/Tools/GUI Builders
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glade3
|
|
|
|
Supplements: packageand(glade3:%{name}-devel)
|
|
|
|
|
|
|
|
%description -n glade3-catalog-libxfce4ui
|
2011-01-30 22:18:04 +00:00
|
|
|
This package provides a catalog for Glade which allows the use of the provided
|
|
|
|
Xfce widgets in Glade.
|
2010-10-06 21:15:33 +00:00
|
|
|
|
2010-02-11 18:34:33 +00:00
|
|
|
%package devel
|
2010-12-05 22:20:47 +00:00
|
|
|
License: LGPLv2.1+
|
2011-01-30 22:18:04 +00:00
|
|
|
Summary: Development Files for the libxfce4ui Library
|
2010-02-11 18:34:33 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-12-03 01:57:06 +00:00
|
|
|
Requires: libxfce4ui = %{version}
|
|
|
|
Requires: pkgconfig(gladeui-1.0)
|
|
|
|
Requires: pkgconfig(glib-2.0)
|
|
|
|
Requires: pkgconfig(gtk+-2.0)
|
|
|
|
Requires: pkgconfig(libstartup-notification-1.0)
|
|
|
|
Requires: pkgconfig(libxfce4util-1.0)
|
|
|
|
Requires: pkgconfig(libxfconf-0)
|
2011-10-14 16:00:18 +00:00
|
|
|
Recommends: %{name}-doc = %{version}
|
2010-02-11 18:34:33 +00:00
|
|
|
|
|
|
|
%description devel
|
2010-12-24 12:50:30 +00:00
|
|
|
This package provides development files for developing applications based on
|
|
|
|
the libxfce4ui library.
|
2010-02-11 18:34:33 +00:00
|
|
|
|
|
|
|
%package doc
|
|
|
|
License: LGPLv2.1+
|
2011-01-30 22:18:04 +00:00
|
|
|
Summary: Documentation for the libxfce4ui Library
|
2010-12-03 01:57:06 +00:00
|
|
|
Group: Documentation/HTML
|
|
|
|
Requires: libxfce4ui = %{version}
|
2010-02-11 18:34:33 +00:00
|
|
|
|
|
|
|
%description doc
|
2010-12-24 12:50:30 +00:00
|
|
|
This package provides the documentation for the libxfce4ui library.
|
2010-02-11 18:34:33 +00:00
|
|
|
|
2011-01-05 18:08:47 +00:00
|
|
|
%package branding-upstream
|
2011-01-30 22:18:04 +00:00
|
|
|
Summary: Upstream Branding of libxfce4ui
|
2011-01-05 18:08:47 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: System/GUI/XFCE
|
|
|
|
# BRAND: xfce4-keyboard-shortcuts.xml: Controls the global keyboard shortcuts
|
|
|
|
# BRAND: for the Xfce desktop.
|
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
|
|
|
Provides: %{name}-branding = %{version}
|
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description branding-upstream
|
2011-01-30 22:18:04 +00:00
|
|
|
This package provides the upstream look and feel for the libxfce4ui library.
|
2011-01-05 18:08:47 +00:00
|
|
|
|
2010-02-11 18:34:33 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2010-12-03 01:57:06 +00:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2010-02-11 18:34:33 +00:00
|
|
|
%configure \
|
|
|
|
--enable-startup-notification \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--disable-static
|
2010-12-24 12:50:30 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
2010-02-11 18:34:33 +00:00
|
|
|
|
|
|
|
%install
|
2010-12-03 01:57:06 +00:00
|
|
|
%make_install
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/libglade/2.0/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/glade3/modules/*.la
|
2010-12-24 12:50:30 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
|
2010-02-11 18:34:33 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
2010-12-03 01:57:06 +00:00
|
|
|
rm -rf %{buildroot}
|
2010-02-11 18:34:33 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2010-12-03 01:57:06 +00:00
|
|
|
%files -f %{name}.lang
|
2010-02-11 18:34:33 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
|
|
|
%dir %{_sysconfdir}/xdg/xfce4
|
|
|
|
%dir %{_sysconfdir}/xdg/xfce4/xfconf
|
|
|
|
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
|
|
|
|
%{_libdir}/lib*.so.*
|
2010-10-05 22:46:46 +00:00
|
|
|
|
2010-10-06 21:15:33 +00:00
|
|
|
%files -n glade3-catalog-libxfce4ui
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/glade3/modules/libxfce4uiglade.so
|
|
|
|
%{_datadir}/glade3/catalogs/libxfce4ui.xml*
|
|
|
|
%{_datadir}/glade3/pixmaps/hicolor/*/actions/*.png
|
|
|
|
|
2010-02-11 18:34:33 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%dir %{_includedir}/xfce4/libxfce4ui-1
|
2010-12-03 01:57:06 +00:00
|
|
|
%{_includedir}/xfce4/libxfce4ui-1/libxfce4ui/
|
2010-02-11 18:34:33 +00:00
|
|
|
%dir %{_includedir}/xfce4/libxfce4kbd-private-2
|
2010-12-03 01:57:06 +00:00
|
|
|
%{_includedir}/xfce4/libxfce4kbd-private-2/libxfce4kbd-private/
|
2010-02-11 18:34:33 +00:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-, root, root)
|
2010-12-03 01:57:06 +00:00
|
|
|
%{_datadir}/gtk-doc/html/libxfce4ui/
|
2010-02-11 18:34:33 +00:00
|
|
|
|
2011-01-05 18:08:47 +00:00
|
|
|
%files branding-upstream
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_sysconfdir}/xdg/xfce4
|
|
|
|
%dir %{_sysconfdir}/xdg/xfce4/xfconf
|
|
|
|
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
|
|
|
|
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
|
|
|
|
|
2010-02-11 18:34:33 +00:00
|
|
|
%changelog
|