%define xfceversion 4.12 Name: xfce4-settings Summary: Settings Manager for Xfce Summary(ja): Xfce の設定マネージャー Version: 4.12.0 Release: 1%{?_dist_release} # xfce4-settings-helper is GPLv2 only. License: GPLv2+ and GPLv2 Group: User Interface/Desktops URL: http://www.xfce.org/ Source0: http://www.xfce.org/archive/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 # Upstream bug: http://bugzilla.xfce.org/show_bug.cgi?id=6236 Patch1: xfce4-settings-4.6.4-dsofix.patch ## Downstream patches Patch2: xfce4-settings-4.8.3-monitor-position.patch # use vendor's artwork #Patch10: xfce4-settings-4.6.0-fedora.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: dbus-glib-devel >= 0.84 BuildRequires: desktop-file-utils BuildRequires: fontconfig-devel BuildRequires: garcon-devel >= 0.2.0 BuildRequires: gettext BuildRequires: glib2-devel >= 2.24.0 BuildRequires: gtk2-devel >= 2.20.0 BuildRequires: intltool BuildRequires: libcanberra-devel BuildRequires: libexo-devel >= 0.8.0 BuildRequires: libxfce4ui-devel >= 4.11.0 BuildRequires: libxfce4util-devel >= 4.10.0 BuildRequires: libnotify-devel >= 0.1.3 BuildRequires: libX11-devel BuildRequires: libXcursor-devel >= 1.1.0 BuildRequires: libXi-devel >= 1.2.0 BuildRequires: libxklavier-devel BuildRequires: libXrandr-devel >= 1.2.0 BuildRequires: pkgconfig BuildRequires: upower-devel BuildRequires: xfconf-devel >= 4.10.0 BuildRequires: xorg-x11-proto-devel Requires: xfconf Obsoletes: xfce-mcs-manager < 4.4.3-2 Obsoletes: xfce-mcs-plugins < 4.4.3-2 Obsoletes: xfce-mcs-plugin-gsynaptics < 2.0-5 Obsoletes: xfce-mcs-plugins-extra < 2.0-3 Obsoletes: xfce4-gsynaptics-mcs-plugin < 1.0.0-3 Vendor: Project Vine Distribution: Vine Linux %description This package includes the settings manager applications for the Xfce desktop. %prep %setup -q #patch1 -p1 -b .dsofix #patch2 -p1 -b .monitor %build %configure --enable-sound-settings --enable-pluggable-dialogs make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT for file in $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop ; do desktop-file-install \ --add-category="X-XFCE" \ --remove-category="XFCE" \ --delete-original \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ $file done %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor %postun if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor; fi %posttrans gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog NEWS TODO COPYING %dir %{_sysconfdir}/xdg/xfce4 %dir %{_sysconfdir}/xdg/xfce4/xfconf/ %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml %config(noreplace) %{_sysconfdir}/xdg/autostart/xfsettingsd.desktop %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml %{_sysconfdir}/xdg/menus/xfce-settings-manager.menu %{_bindir}/xfce4-accessibility-settings %{_bindir}/xfce4-appearance-settings %{_bindir}/xfce4-display-settings %{_bindir}/xfce4-keyboard-settings %{_bindir}/xfce4-mime-settings %{_bindir}/xfce4-mouse-settings %{_bindir}/xfce4-settings-editor %{_bindir}/xfce4-settings-manager %{_bindir}/xfsettingsd %{_libdir}/xfce4/settings/appearance-install-theme %{_datadir}/applications/xfce*.desktop %{_datadir}/icons/hicolor/*/devices/*.png %changelog * Sun Mar 1 2015 Ryoichi INAGAKI - 4.12.0-1 - new upstream release - dropt Patch1 and 2 - built with libxfce4util 4.12.1 * Thu Feb 5 2015 Ryoichi INAGAKI - 4.10.1-2 - added Patch2 from Fedora * Sun Aug 31 2014 Ryoichi INAGAKI - 4.10.1-1 - new upstream release * Sun Dec 29 2013 Yoji TOYODA - 4.10.0-2 - rebuild with VineSeed environment * Thu Jun 07 2012 Yoji TOYODA - 4.10.0-1 - new upstream release - add BuildRequires: garcon-devel * Sun Aug 21 2011 Ryoichi INAGAKI - 4.8.2-1 - new upstream release - built with libnotify-0.7.3 (VineSeed) * Mon Mar 28 2011 Ryoichi INAGAKI - 4.8.0-1 - new upstream release * Sun May 23 2010 Ryoichi INAGAKI - 4.6.5-1 - new upstream release - dropt Patch0 * Mon Apr 12 2010 Ryoichi INAGAKI - 4.6.4-1 - new upstream release - built with libxklavier-5.0 - added Patch0 and 1 from Fedora * Sun Feb 14 2010 Kevin Fenzi - 4.6.4-3 - Add patch to fix DSO linking. Fixes bug #564803 * Sat Jan 23 2010 Christoph Wickert - 4.6.4-2 - Add patch for libxklavier 5.0. Thanks to Caolan McNamara (#558081) * Sun Nov 1 2009 Ryoichi INAGAKI - 4.6.3-1 - new upstream release - rebuilt with libxklavier-4.0 - added Japanese summary * Fri May 22 2009 Ryoichi INAGAKI - 4.6.1-2 - initial build for Vine * Sun Apr 19 2009 Kevin Fenzi - 4.6.1-1 - Update to 4.6.1 * Thu Apr 16 2009 Kevin Fenzi - 4.6.0-6 - Have to add Antialias type to really enable by default. * Wed Apr 15 2009 Kevin Fenzi - 4.6.0-5 - Bump to fix tagging mistake. * Wed Apr 15 2009 Kevin Fenzi - 4.6.0-4 - Make Antialias default (bug #495700) * Thu Mar 19 2009 Kevin Fenzi - 4.6.0-3 - display settings fixes from upstream svn. * Fri Feb 27 2009 Kevin Fenzi - 4.6.0-2 - Rebase patch for artwork * Thu Feb 26 2009 Kevin Fenzi - 4.6.0-1 - Update to 4.6.0 * Thu Feb 26 2009 Fedora Release Engineering - 4.5.99.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Feb 20 2009 Kevin Fenzi - 4.5.99.1-2 - Add patch to fix imsettings (bug #478669) * Mon Jan 26 2009 Kevin Fenzi - 4.5.99.1-1 - Update to 4.5.99.1 * Thu Jan 22 2009 Christoph Wickert - 4.5.93-2 - Add Obsoletes for mcs packages to make sure xfce4-settings gets installed - Don't package desktop files twice - Require xfconf - Use Nodoka theme and Fedora icons - Add docs * Tue Jan 13 2009 Kevin Fenzi - 4.5.93-1 - Update to 4.5.93 * Sat Dec 27 2008 Kevin Fenzi - 4.5.92-2 - Cleaned up desktop-file-install - Added some BuildRequires. * Fri Dec 26 2008 Kevin Fenzi - 4.5.92-1 - Initial version for Fedora.