xfce4-session/xfce4-session.spec

184 lines
5.3 KiB
RPMSpec

%define majver %(echo %version|cut -d. -f1-2)
Name: xfce4-session
Version: 4.14.1
Release: 1mamba
Summary: Xfce Session manager
Group: Graphical Desktop/Applications/Other
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.xfce.org/
Source: http://archive.xfce.org/src/xfce/xfce4-session/%{majver}/xfce4-session-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libatk-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpolkit-devel
BuildRequires: libselinux-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libuuid-devel
BuildRequires: libwnck2-devel
BuildRequires: libxcb-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
BuildRequires: libz-devel
BuildRequires: xfconf-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#BuildRequires: libxfcegui4-devel >= %{majver}
BuildRequires: libxfce4ui-devel >= %{majver}
%description
xfce4-session is the session manager for the Xfce desktop environment.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Header files for the Xfce Session Manager.
%package engines
Summary: Additional engines for xfce4-session
Group: Graphical Desktop/Applications/Other
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description engines
Additional splash screen engines for the Xfce Session Manager.
%prep
%setup -q
%build
%configure \
--enable-final \
--enable-gnome \
--enable-libgnome-keyring
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/*
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/polkit-1/actions/org.xfce.session.policy
%{_datadir}/xsessions/xfce.desktop
#%{_libdir}/lib*.so.*
#%{_libdir}/xfce4/session/splash-engines/libmice.*
%{_libdir}/xfce4/session/xfsm-shutdown-helper
%{_mandir}/man1/*
%doc AUTHORS COPYING
#%files devel
#%defattr(-,root,root)
#%{_includedir}/xfce4/xfce4-session-*/libxfsm/*.h
#%{_libdir}/lib*.so
#%{_libdir}/*a
#%{_libdir}/pkgconfig/*.pc
##%{_docdir}/xfce4-session/html
#%doc ChangeLog NEWS README TODO BUGS
#%files engines
#%defattr(-,root,root)
#%{_datadir}/themes/Default/balou/*
#%{_libdir}/xfce4/session/splash-engines/libbalou.*
#%{_libdir}/xfce4/session/splash-engines/libsimple.*
#%{_libdir}/xfce4/session/balou-export-theme
#%{_libdir}/xfce4/session/balou-install-theme
##%{_libexecdir}/balou-*
%changelog
* Sat Jan 11 2020 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Tue Nov 05 2019 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
- automatic version update by autodist
* Fri Mar 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.1-1mamba
- update to 4.12.1
* Fri May 10 2013 Automatic Build System <autodist@mambasoft.it> 4.10.1-1mamba
- update to 4.10.1
* Sat Oct 20 2012 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
- update to 4.10.0
* Sun Feb 20 2011 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
- update to 4.8.0
* Tue Jun 01 2010 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
- automatic update to 4.6.2 by autodist
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 4.6.1-2mamba
- automatic rebuild by autodist
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
- automatic update to 4.6.1 by autodist
* Wed Mar 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
- update to 4.6.0
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-1mamba
- update to 4.4.3
* Sat Apr 14 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 4.4.1-1mamba
- update to 4.4.1
* Thu Mar 22 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 4.4.0-1qilnx
- update to 4.4.0
* Mon Sep 25 2006 Tiziano Pratellesi <info@mycare.it> 4.3.99.1-1qilnx
- update to 4.3.99.1
* Thu Sep 21 2006 Tiziano Pratellesi <info@mycare.it> 4.3.90.2-1qilnx
- update to 4.3.90.2
* Tue Sep 19 2006 Tiziano Pratellesi <info@mycare.it> 4.2.3-1qilnx
- package created by autospec