efl/spec/efl.spec.in

68 lines
1.8 KiB
Plaintext
Raw Normal View History

2012-09-23 06:39:53 -07:00
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
%define _missing_doc_files_terminate_build 0
Summary: Enlightenment Foundation Libraries
Name: efl
2012-09-23 06:39:53 -07:00
Version: @VERSION@
Release: %{_rel}
License: LGPLv2.1 GPLv2.1 BSD
2012-09-23 06:39:53 -07:00
Group: System Environment/Libraries
Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:The Enlightenment Project <enlightenment-devel@lists.sourceforge.net>}
2012-09-23 06:39:53 -07:00
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
URL: http://www.enlightenment.org/
BuildRequires: libjpeg-devel zlib-devel
2012-09-23 06:39:53 -07:00
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
EFL is a copllection of libraries ranging from data structure handling
through to communications, rendering and widgets.
2012-09-23 06:39:53 -07:00
%package devel
Summary: EFL headers, static libraries, documentation and test programs
2012-09-23 06:39:53 -07:00
Group: System Environment/Libraries
Requires: %{name} = %{version}
%description devel
Headers, static libraries, test programs and documentation for EFL
2012-09-23 06:39:53 -07:00
%prep
%setup -q
%build
%{configure} --prefix=%{_prefix}
### use this if you have build problems
#./configure --prefix=%{_prefix}
2012-09-23 06:39:53 -07:00
%{__make} %{?_smp_mflags} %{?mflags}
%install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
%clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS README NEWS COPYING licenses/COPYING.BSD licenses/COPYING.LGPL licenses/COPYING.GPL
2012-09-23 06:39:53 -07:00
%{_bindir}/*
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/pkgconfig/*
2012-09-23 06:39:53 -07:00
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/*.la
%{_datadir}/eina
%{_datadir}/eet
2012-09-23 06:39:53 -07:00
%changelog