]> git.pld-linux.org Git - packages/ede.git/blob - ede.spec
- pass OPTIMFLAGS to the jam
[packages/ede.git] / ede.spec
1 # TODO: .so files in /usr/share
2 Summary:        Equinox Desktop Environment
3 Name:           ede
4 Version:        2.0
5 Release:        0.2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://downloads.sourceforge.net/ede/%{name}-%{version}.tar.gz
9 # Source0-md5:  8b9820c84929d66e6258e223737c27c6
10 Patch0:         %{name}-ksh.patch
11 Patch1:         %{name}-dontbuildpekwm.patch
12 URL:            http://www.equinox-project.org/
13 BuildRequires:  asciidoc
14 BuildRequires:  edelib-devel
15 BuildRequires:  jam
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _xdgconfdir     /etc/xdg
19 %define         _xdgdatadir     %{_datadir}/desktop-directories
20
21 %description
22 EDE is small and fast desktop environment that uses
23 http://www.fltk.org.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28 %patch1 -p1
29
30 %build
31 ./autogen.sh
32 %configure
33 OPTIMFLAGS="%{rpmcflags} %{rpmcxxflags}" jam -q -dx
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 DESTDIR=$RPM_BUILD_ROOT jam -q -dx install
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc AUTHORS README doc/manual
45 %attr(755,root,root) %{_bindir}/*
46 %dir %{_datadir}/ede
47 %{_datadir}/dbus-1/services/org.equinoxproject.Launch.service
48 %{_datadir}/ede/*
49 %{_datadir}/xsessions/ede.desktop
50 %{_desktopdir}/*.desktop
51 %{_iconsdir}/*
52 %{_xdgconfdir}/ede/*.conf
53 %{_xdgconfdir}/menus/ede-applications.menu
54 %{_xdgdatadir}/*.directory
This page took 0.057511 seconds and 3 git commands to generate.