-
Notifications
You must be signed in to change notification settings - Fork 0
/
Thunar.spec
91 lines (73 loc) · 2.92 KB
/
Thunar.spec
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Summary: Xfce - lightweight desktop environment
Name: Thunar
Version: 0.3.2beta2
Release: 2
Copyright: GPL
Group: Applications/Xfce
Source: %{name}-%{version}.tar.bz2
Patch: thunar-preproc.patch
Distribution: RU-Solaris
Vendor: NBCS-OSS
Packager: Leo Zhadanovsky <leozh@nbcs.rutgers.edu>
BuildRoot: /var/tmp/%{name}-%{version}-root
Requires: libxml2, libdbh, librsvg, startup-notification, gtk2, pkgconfig, xfce4-dev-tools, libxfce4util, libxfcegui4, libxfce4mcs, xfce-mcs-manager, libexo, libexif, pcre
BuildRequires: libxml2-devel, libdbh-devel, librsvg-devel, startup-notification, gtk2-devel, libxfce4util-devel, libxfcegui4-devel, libxfce4mcs-devel, xfce-mcs-manager-devel, libexo-devel, libexif-devel, pcre
%description
Xfce is a lightweight desktop environment for unix-like operating
systems. It aims to be fast and lightweight, while still being visually
appealing and easy to use.
Xfce 4.2 embodies the traditional UNIX philosophy of modularity and
re-usability. It consists of a number of components that together
provide the full functionality of the desktop environment. They are
packaged separately and you can pick and choose from the available
packages to create the best personal working environment.
Another priority of Xfce 4 is adhereance to standards, specifically
those defined at freedesktop.org.
Xfce 4 can be installed on several UNIX platforms. It is known to
compile on Linux, NetBSD, FreeBSD, Solaris, Cygwin and MacOS X, on x86,
PPC, Sparc, Alpha...
%package devel
Summary: Libraries, includes to develop applications with %{name}.
Group: Applications/Libraries
Requires: %{name} = %{version}
%description devel
The %{name}-devel package contains the header files and static libraries
for building applications which use %{name}.
%prep
%setup -q -n %{name}-%{version}
%patch -p1
%build
#CPPFLAGS="-I/usr/local/include"
#LDFLAGS="-L/usr/local/lib -R/usr/local/lib -lintl"
#LD_LIBRARY_PATH="/usr/local/lib"
#LD_RUN_PATH="/usr/local/lib"
#CC="gcc"
#export CPPFLAGS LDFLAGS LD_LIBRARY_PATH LD_RUN_PATH CC
PATH="/opt/SUNWspro/bin:${PATH}" \
CC="cc" CXX="CC" CPPFLAGS="-g -xs -I/usr/local/include -I/usr/local/pcre/include" \
LD="/usr/ccs/bin/ld" \
LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/opt/SUNWspro/lib -R/opt/SUNWspro/lib -L/usr/local/pcre/lib -R/usr/local/pcre/lib -lintl" \
export PATH CC CXX CPPFLAGS LD LDFLAGS
./configure --prefix=/usr/local --enable-pcre
#for i in `find . -name Makefile`; do mv $i $i.wrong; sed 's/-mt//g' $i.wrong > $i; rm $i.wrong; done
make
%install
rm -rf $RPM_BUID_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,bin,bin)
/usr/local/bin/*
/usr/local/lib/*.so*
/usr/local/lib/thunarx-1/*.so*
/usr/local/share/*
/usr/local/etc/*
/usr/local/libexec/*
%files devel
%defattr(-,root,root)
/usr/local/include/*
/usr/local/lib/pkgconfig/*
%changelog
* Thu May 25 2006 Leo Zhadanovsky <leozh@nbcs.rutgers.edu> - 0.3.0beta1-1
- Initial Rutgers release