Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3:Update
eina
eina.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eina.spec of Package eina
# # spec file for package eina # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: eina Version: 1.7.5 Release: 0 Summary: Core EFL (Enlightenment Foundation Library) to handle various data types License: LGPL-2.1 Group: Development/Libraries/C and C++ Url: http://enlightenment.org/ Source: %{name}-%{version}.tar.bz2 BuildRequires: doxygen BuildRequires: libtool BuildRequires: pkgconfig %if 0%{?suse_version} BuildRequires: fdupes %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Core EFL (Enlightenment Foundation Library) to handle various data types. Introduced in version DR17-0.16.999.050 %package -n libeina1 Summary: Eina Dynamic Libraries Group: System/Libraries # Use our version instead of the one in Fedora repository Conflicts: libeina %description -n libeina1 Eina is core EFL (Enlightenment Foundation Libraries) library to handle various data types. %package devel Summary: Eina headers, static libraries, documentation and test programs Group: Development/Libraries/C and C++ Requires: libeina1 = %{version} %description devel Headers, static libraries, test programs and documentation for eina %package doc-html Summary: HTML documentation of Eina Group: Documentation/HTML %description doc-html Documentation of Eina library in form of HTML pages. %package doc-man Summary: Man documentation of Eina Group: Documentation/Man %description doc-man Documentation of Eina library in form of man pages. %package examples Summary: Eina usage examples Group: Documentation/Other %description examples Examples of usage of Eina library. %prep %setup -q %build # fake time used for documentation FAKE_DOCDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%a %%b %%d %%Y') FAKE_DOCYEAR=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%Y') FAKE_DOCDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%a %%b %%d %%Y %T') sed -i "s/\$datetime/$FAKE_DOCDATETIME/g;s/\$date/$FAKE_DOCDATE/g;s/\$year/$FAKEDOCYEAR/g" doc/*.html # remove __DATE__ and __TIME__ FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M') FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') sed -i -e "s/__TIME__/\"$FAKE_BUILDTIME\"/g" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/g" src/lib/eina_hamster.c %configure \ --disable-static \ --enable-doc \ --enable-install-examples make %{?_smp_mflags} make doc %install make install DESTDIR="%buildroot" # copy documentation manually echo "Copying HTML documentation" mkdir -p %{buildroot}%{_docdir}/%{name} /bin/cp -vr doc/html %{buildroot}%{_docdir}/%{name} echo "Copying MAN pages" /bin/cp -vr doc/man/ %{buildroot}%{_mandir}/ # fix line endings find %{buildroot}%{_docdir} -name '*.eps' | xargs sed -i 's@\r@\n@g' # remove duplicates %if 0%{?suse_version} %fdupes -s %{buildroot}%{_docdir} %fdupes -s %{buildroot}%{_mandir} %endif find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \; %clean rm -rf %{buildroot} %post -n libeina1 -p /sbin/ldconfig %postun -n libeina1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING AUTHORS NEWS ChangeLog README %exclude %{_docdir}/%{name}/html %files -n libeina1 %defattr(-,root,root) %{_libdir}/libeina.so.* %files devel %defattr(-, root, root) %{_includedir}/eina-1/ %{_libdir}/pkgconfig/eina.pc %{_libdir}/libeina.so %files doc-html %defattr(-, root, root) %{_docdir}/%{name}/html %files doc-man %defattr(-, root, root) %{_mandir}/*/* %files examples %defattr(-, root, root) # eina doesn't have any other file here so add # this dir to eina-examples for now %dir %{_datadir}/%{name} %{_datadir}/%{name}/examples %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor