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
53
54
55
|
Summary: Utility library for the Xfce desktop environment
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
Release: 1
License: LGPL
URL: http://www.xfce.org/
Source0: %{name}-%{version}.tar.gz
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-root
Requires: glib2 >= @GOBJECT_REQUIRED_VERSION@
BuildRequires: glib2-devel >= @GOBJECT_REQUIRED_VERSION@
BuildRequires: gtk-doc
%description
Basic utility non-GUI functions for the Xfce desktop environment.
%package devel
Summary: developpment tools for libxfce4util library
Group: Development/Libraries
Requires: libxfce4util
%description devel
Static libraries and header files for the libxfce4util library.
%prep
%setup -q
%build
%configure --enable-final --enable-gtk-doc
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%{_sbindir}/*
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/xfce4/libxfce4util
%{_datadir}/gtk-doc
|