Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > d2e10aaa93a0a0cb0828604dc3c9eeba > files > 4

xfce4-settings-4.6.5-1.fc13.src.rpm

%global xfceversion 4.6

Name:           xfce4-settings
Version:        4.6.5
Release:        1%{?dist}
Summary:        Settings Manager for Xfce

Group:          User Interface/Desktops
# xfce4-settings-helper is GPLv2 only. 
License:        GPLv2+ and GPLv2
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
# use vendor's artwork
Patch10:        xfce4-settings-4.6.0-fedora.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: gettext
BuildRequires: intltool
BuildRequires: exo-devel >= 0.3.93
BuildRequires: libxfcegui4-devel >= %{xfceversion}
BuildRequires: libxfce4util-devel >= %{xfceversion}
BuildRequires: xfconf-devel >= %{xfceversion}
BuildRequires: libglade2-devel
BuildRequires: libwnck-devel
BuildRequires: desktop-file-utils >= 0.7
BuildRequires: libnotify-devel
BuildRequires: libcanberra-devel
BuildRequires: libxklavier-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

%description
This package includes the settings manager applications for the Xfce desktop. 

%prep
%setup -q
%patch1 -p1 -b .dsofix
%patch10 -p1 -b .vendor

%build
%configure --enable-sound-settings
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce-display-settings.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce-keyboard-settings.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce-mouse-settings.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        --remove-key="Encoding"                                 \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce-settings-manager.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce-ui-settings.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-accessibility-settings.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications/        \
        --delete-original                                       \
        --remove-key="Encoding"                                 \
        ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-settings-editor.desktop

desktop-file-install                                            \
        --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/    \
        --delete-original                                       \
        --add-only-show-in=XFCE                                 \
        --remove-key=Terminal                                   \
        ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/xfce4-settings-helper-autostart.desktop

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog NEWS TODO COPYING
%config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-settings-helper-autostart.desktop
%config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
%{_bindir}/xfce4-accessibility-settings
%{_bindir}/xfce4-appearance-settings
%{_bindir}/xfce4-display-settings
%{_bindir}/xfce4-keyboard-settings
%{_bindir}/xfce4-mouse-settings
%{_bindir}/xfce4-settings-editor
%{_bindir}/xfce4-settings-helper
%{_bindir}/xfce4-settings-manager
%{_bindir}/xfsettingsd
%{_datadir}/applications/xfce*.desktop

%changelog
* Fri May 21 2010 Kevin Fenzi <kevin@tummy.com> - 4.6.5-1
- Update to 4.6.5

* Sun Feb 14 2010 Kevin Fenzi <kevin@tummy.com> - 4.6.4-3
- Add patch to fix DSO linking. Fixes bug #564803

* Sat Jan 23 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.4-2
- Add patch for libxklavier 5.0. Thanks to Caolan McNamara (#558081)
- Use Clearlooks theme by default

* Sat Jan 02 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.4-1
- Update to 4.6.4
- Drop xi2 patch, fixed upstream

* Tue Nov 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.3-2
- Patch xfce4-mouse-settings for newer libXi (#525501)

* Tue Sep 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.3-1
- Update to 4.6.3
- Drop patches that were upstreamed

* Sat Sep 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-5
- Add patch for restoring display resolution on login (bug #504908)

* Wed Sep 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.1-4
- Fix xfconf channel for keyboard repeat rate setting
- Avoid timing out xfce4-session on startup (bugzilla.xfce.org #5040)
- Make sure xfce4-settings-helper only gets started in Xfce
- Fix directory ownership issue

* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Fri Jul 03 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-2
- Update for new libxklavier

* Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1
- Update to 4.6.1

* Thu Apr 16 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-6
- Have to add Antialias type to really enable by default. 

* Wed Apr 15 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-5
- Bump to fix tagging mistake. 

* Wed Apr 15 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-4
- Make Antialias default (bug #495700)

* Thu Mar 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-3
- display settings fixes from upstream svn. 

* Fri Feb 27 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-2
- Rebase patch for artwork

* Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1
- Update to 4.6.0

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Fri Feb 20 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-2
- Add patch to fix imsettings (bug #478669)

* Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1
- Update to 4.5.99.1

* Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 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 <kevin@tummy.com> - 4.5.93-1
- Update to 4.5.93

* Sat Dec 27 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-2
- Cleaned up desktop-file-install
- Added some BuildRequires. 

* Fri Dec 26 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1
- Initial version for Fedora.