xfce4-session/xfce4-session.spec

139 lines
3.9 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version|cut -d. -f1-2)
Name: xfce4-session
Version: 4.10.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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: libxfcegui4 >= %{majver}
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: xfce4-session
%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
%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
%defattr(-,root,root)
%{_sysconfdir}/xdg/*
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/xsessions/xfce.desktop
%{_datadir}/locale/*
%{_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
* 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