File: xfce-utils.spec

package info (click to toggle)
xfce4-utils 4.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,396 kB
  • sloc: sh: 11,502; ansic: 2,028; xml: 1,472; perl: 693; makefile: 374
file content (52 lines) | stat: -rw-r--r-- 1,395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Summary: 	Utilities for the Xfce Desktop Environment
Name: 		xfce-utils
Version: 	4.8.3
Release: 	1
License:	GPL
URL: 		http://www.xfce.org/
Source0: 	%{name}-%{version}.tar.gz
Group: 		User Interface/Desktops
BuildRoot: 	%{_tmppath}/%{name}-root
Requires:	libxfcegui4 >= @LIBXFCEGUI4_REQUIRED_VERSION@
Requires:	libxfce4mcs >= @LIBXFCE4MCS_CLIENT_REQUIRED_VERSION@
Requires:	xfce-mcs-manager
BuildRequires: 	libxfcegui4-devel >= @LIBXFCEGUI4_REQUIRED_VERSION@
BuildRequires:	libxfce4mcs-devel >= @LIBXFCE4MCS_CLIENT_REQUIRED_VERSION@
BuildRequires:	xfce-mcs-manager-devel

%description
xfce-utils contains utilities for the Xfce Desktop Environment

%prep
%setup -q

%build
%configure --enable-final --enable-gdm --with-gdm-prefix=/etc/X11
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}

%clean
rm -rf $RPM_BUILD_ROOT

%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)
%doc README TODO ChangeLog NEWS INSTALL COPYING AUTHORS
%{_bindir}/*
%{_libdir}/*
%{_datadir}/*
%config(noreplace) %{_sysconfdir}/*