78 lines
2.3 KiB
Plaintext
78 lines
2.3 KiB
Plaintext
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
|
|
|
|
Summary: The Enlightenment window manager
|
|
Name: @PACKAGE@
|
|
Version: @VERSION@
|
|
Release: %{_rel}
|
|
License: BSD
|
|
Group: User Interface/Desktops
|
|
URL: http://www.enlightenment.org/
|
|
Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{name}-%{version}.tar.gz
|
|
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
|
|
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
|
|
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
|
Prefix: %{_prefix}
|
|
#BuildSuggests: xorg-x11-devel, XFree86-devel, libX11-devel
|
|
BuildRequires: evas-devel, edje-devel, edje-bin, ecore-devel, eet-devel
|
|
BuildRequires: embryo-devel, embryo-bin, eeze-devel
|
|
Requires: evas-module_loader_eet evas-module_saver_eet
|
|
Requires: evas-module_loader_png evas-module_saver_png
|
|
Requires: evas-module_loader_jpeg evas-module_saver_jpeg
|
|
Requires: evas-module_engine_software_x11 evas-module_engine_buffer
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Enlightenment is a window manager.
|
|
|
|
%package devel
|
|
Summary: Development headers for Enlightenment.
|
|
Group: User Interface/Desktops
|
|
Requires: %{name} = %{version}
|
|
Requires: evas-devel, edje-devel, ecore-devel, eet-devel, embryo-devel
|
|
|
|
%description devel
|
|
Development headers for Enlightenment.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{configure} --prefix=%{_prefix}
|
|
%{__make} %{?_smp_mflags} %{?mflags}
|
|
|
|
%install
|
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
|
test -x `which doxygen` && sh gendoc || :
|
|
rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.a" -print`
|
|
rm -f `find $RPM_BUILD_ROOT/usr/lib/enlightenment -name "*.la" -print`
|
|
|
|
%clean
|
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING README
|
|
%dir %{_sysconfdir}/enlightenment
|
|
%config(noreplace) %{_sysconfdir}/enlightenment/*
|
|
%config(noreplace) %{_sysconfdir}/xdg/menus/enlightenment.menu
|
|
%{_bindir}/enlightenment
|
|
%{_bindir}/enlightenment_*
|
|
#%{_bindir}/eap_to_desktop
|
|
%{_libdir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/locale/*
|
|
%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/enlightenment
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|