summaryrefslogtreecommitdiff
path: root/enlightenment.spec
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2005-01-05 05:05:30 +0000
committerMichael Jennings <mej@kainx.org>2005-01-05 05:05:30 +0000
commit7b84bca8477e79515759c0c429441421a2b9313e (patch)
tree1673ff6b0e8c81fc514288305f38e27aa8b52ea3 /enlightenment.spec
parentc6b94358fbfce242e73f38c7b1b43a8719e1379e (diff)
Wed Jan 5 00:03:30 2005 Michael Jennings (mej)
Assorted spec file cleanups. Do not override --bindir and --libdir (breaks x86_64). Some of these are still untested, so please be patient. ---------------------------------------------------------------------- SVN revision: 12761
Diffstat (limited to 'enlightenment.spec')
-rw-r--r--enlightenment.spec77
1 files changed, 27 insertions, 50 deletions
diff --git a/enlightenment.spec b/enlightenment.spec
index 20756dddf..4ed30dcd9 100644
--- a/enlightenment.spec
+++ b/enlightenment.spec
@@ -1,71 +1,48 @@
1# Note that this is NOT a relocatable package 1Summary: The Enlightenment window manager
2%define ver 0.17.0_pre10
3%define rel NOT_RELEASE_1
4%define prefix /usr/local
5
6Summary: enlightenment
7Name: enlightenment 2Name: enlightenment
8Version: %ver 3Version: 0.17.0_pre10
9Release: %rel 4Release: NOT_RELEASE_1.%(date '+%Y%m%d')
10Copyright: BSD 5License: BSD
11Group: System Environment/Desktops 6Group: User Interface/Desktops
12Source: ftp://ftp.enlightenment.org/pub/enlightenment/enlightenment-%{ver}.tar.gz
13BuildRoot: /var/tmp/enlightenment-root
14Packager: The Rasterman <raster@rasterman.com>
15URL: http://www.enlightenment.org/ 7URL: http://www.enlightenment.org/
16BuildRequires: evas-devel 8Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{name}-%{version}.tar.gz
17BuildRequires: edje-devel 9Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
18BuildRequires: ecore-devel 10Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
19BuildRequires: embryo-devel 11Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
20BuildRequires: eet-devel 12Prefix: %{_prefix}
21Requires: edje 13#BuildSuggests: xorg-x11-devel
22Requires: evas 14BuildRequires: libjpeg-devel XFree86-devel eet-devel embryo-devel
23Requires: ecore 15BuildRequires: evas-devel edb-devel edje-devel imlib2-devel ecore-devel
24Requires: embryo 16BuildRoot: %{_tmppath}/%{name}-%{version}-root
25Requires: eet
26
27Docdir: %{prefix}/doc
28 17
29%description 18%description
30 19Enlightenment is a window manager.
31Enlightenment is a window manager
32 20
33%prep 21%prep
34rm -rf $RPM_BUILD_ROOT
35
36%setup -q 22%setup -q
37 23
38%build 24%build
39./configure --prefix=%prefix 25%{configure} --prefix=%{_prefix}
40 26%{__make} %{?_smp_mflags} %{?mflags}
41if [ "$SMP" != "" ]; then
42 (make "MAKE=make -k -j $SMP"; exit 0)
43 make
44else
45 make
46fi
47###########################################################################
48 27
49%install 28%install
50make DESTDIR=$RPM_BUILD_ROOT install 29%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
30test -x `which doxygen` && sh gendoc || :
51 31
52%clean 32%clean
53rm -rf $RPM_BUILD_ROOT 33test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
54 34
55%post 35%post
36/sbin/ldconfig
56 37
57%postun 38%postun
39/sbin/ldconfig
58 40
59%files 41%files
60%defattr(-,root,root) 42%defattr(-, root, root)
61%attr(755,root,root) %{prefix}/lib/enlightenment 43%doc AUTHORS COPYING COPYING-PLAIN README
62%attr(755,root,root) %{prefix}/bin/* 44%{_bindir}/*
63%attr(755,root,root) %{prefix}/share/enlightenment 45%{_libdir}/%{name}
64%doc AUTHORS 46%{_datadir}/%{name}
65%doc COPYING
66%doc COPYING-PLAIN
67%doc README
68 47
69%changelog 48%changelog
70* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
71- Created spec file