- correct url, groups

- improve summaries/descriptions
- remove unsupported locales
- do not install documentation in /usr/share/doc
- moved xfce4-tips-autostart.desktop into the branding supackage in
  order to allow disabling startup tips as part of the branding
- remove all libtool files

OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=40
This commit is contained in:
Guido Berhoerster 2010-12-27 15:49:14 +00:00 committed by Git OBS Bridge
parent 71f7106b04
commit 4ba9f1035e
2 changed files with 30 additions and 11 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Dec 27 15:17:25 UTC 2010 - gber@opensuse.org
- correct url, groups
- improve summaries/descriptions
- remove unsupported locales
- do not install documentation in /usr/share/doc
- moved xfce4-tips-autostart.desktop into the branding supackage in
order to allow disabling startup tips as part of the branding
- remove all libtool files
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 5 22:06:58 UTC 2010 - prusnak@opensuse.org Sun Dec 5 22:06:58 UTC 2010 - prusnak@opensuse.org

View File

@ -15,14 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: xfce4-session Name: xfce4-session
Version: 4.7.2 Version: 4.7.2
Release: 1 Release: 1
License: GPLv2+ License: GPLv2+
Summary: Xfce Session manager Summary: Xfce Session manager
Url: http://www.xfce.org/ Url: http://www.xfce.org/projects/xfce4-session/
Group: System/GUI/XFCE Group: System/GUI/XFCE
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch0: xfce4-session-4.7.1-fix-missing-include.patch Patch0: xfce4-session-4.7.1-fix-missing-include.patch
@ -38,6 +36,7 @@ BuildRequires: update-desktop-files
BuildRequires: xorg-x11 BuildRequires: xorg-x11
Requires: %{name}-branding >= %{version} Requires: %{name}-branding >= %{version}
Requires: xfce-utils Requires: xfce-utils
Requires: xfconf
Recommends: fortune Recommends: fortune
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -46,8 +45,8 @@ xfce4-session is the session manager for the Xfce desktop environment.
%package devel %package devel
License: GPLv2+ License: GPLv2+
Summary: Xfce Session manager Summary: Development files for xfce4-session
Group: System/GUI/XFCE Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: pkgconfig(dbus-glib-1) Requires: pkgconfig(dbus-glib-1)
Requires: pkgconfig(libwnck-1.0) Requires: pkgconfig(libwnck-1.0)
@ -59,9 +58,11 @@ Requires: pkgconfig(libxfconf-0)
%description devel %description devel
xfce4-session is the session manager for the Xfce desktop environment. xfce4-session is the session manager for the Xfce desktop environment.
This package contains development files needed to develop custom splash themes.
%package branding-upstream %package branding-upstream
License: GPLv2+ License: GPLv2+
Summary: Xfce Session manager Summary: Xfce Session manager upstream branding
Group: System/GUI/XFCE Group: System/GUI/XFCE
Supplements: packageand(%{name}:branding-upstream) Supplements: packageand(%{name}:branding-upstream)
Provides: %{name}-branding = %{version} Provides: %{name}-branding = %{version}
@ -73,20 +74,28 @@ BuildArch: noarch
%description branding-upstream %description branding-upstream
xfce4-session is the session manager for the Xfce desktop environment. xfce4-session is the session manager for the Xfce desktop environment.
This package contains the upstream branding.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%build %build
%configure \ %configure \
--docdir=%{_defaultdocdir}/%{name} \
--disable-static \ --disable-static \
--enable-session-screenshots --enable-session-screenshots
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%make_install %make_install
%suse_update_desktop_file xfce-session-settings
%suse_update_desktop_file xfce4-session-logout
install -p -m 644 AUTHORS BUGS COPYING ChangeLog NEWS README TODO \
%{buildroot}/%{_defaultdocdir}/%{name}
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
%find_lang %{name} %find_lang %{name}
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/xfce4/splash/engines/*.la rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/xfce4/session/splash-engines/*.la
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -99,7 +108,7 @@ rm -rf %{buildroot}
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO %doc %{_defaultdocdir}/%{name}
%{_bindir}/xfce4-session %{_bindir}/xfce4-session
%{_bindir}/xfce4-session-logout %{_bindir}/xfce4-session-logout
%{_bindir}/xfce4-session-settings %{_bindir}/xfce4-session-settings
@ -111,8 +120,6 @@ rm -rf %{buildroot}
%{_datadir}/applications/* %{_datadir}/applications/*
%{_datadir}/icons/*/* %{_datadir}/icons/*/*
%{_datadir}/xfce4/ %{_datadir}/xfce4/
%{_datadir}/doc/xfce4-session
%{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -125,6 +132,7 @@ rm -rf %{buildroot}
%dir %{_sysconfdir}/xdg/xfce4 %dir %{_sysconfdir}/xdg/xfce4
%dir %{_sysconfdir}/xdg/xfce4/xfconf %dir %{_sysconfdir}/xdg/xfce4/xfconf
%dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml %config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
%config %{_sysconfdir}/xdg/autostart/xfce4-tips-autostart.desktop
%changelog %changelog