Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:12.3
eio
eio.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eio.spec of Package eio
# # spec file for package eio # # 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: eio Version: 1.7.5 Release: 0 Summary: Extension of ecore for parallel io operations License: LGPL-2.1 Group: System/Libraries Url: http://enlightenment.org/ Source: %{name}-%{version}.tar.bz2 BuildRequires: doxygen BuildRequires: ecore-devel >= %version BuildRequires: eina-devel >= %version BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: gzip BuildRequires: iputils BuildRequires: libtool BuildRequires: m4 BuildRequires: pkgconfig BuildRequires: zlib %if 0%{?suse_version} BuildRequires: fdupes %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Extension of ecore for parallel I/O operations. Part of Enlightenment Foundation Libraries. %package -n libeio1 Summary: Extension of ecore for parallel io operations Group: System/Libraries Conflicts: libeio %description -n libeio1 Extension of ecore for parallel I/O operations. Part of Enlightenment Foundation Libraries. %package devel Summary: Eio devel package Group: Development/Libraries/C and C++ Requires: ecore-devel >= %version Requires: eina-devel >= %version Requires: libeio1 = %{version} BuildRequires: glibc-devel %description devel Development files for eio package. %package doc-html Summary: HTML documentation of Eio Group: Documentation/HTML %description doc-html Documentation of Eio 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 %configure --disable-static --disable-silent-rules --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 permissions find %{buildroot}%{_docdir} -type f | xargs chmod 0644 find %{buildroot}%{_docdir} -type d | xargs chmod 0755 # remove duplicates %if 0%{?suse_version} %fdupes -s %{buildroot}%{_docdir} %fdupes -s %{buildroot}%{_mandir} %endif find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \; %post -n libeio1 -p /sbin/ldconfig %postun -n libeio1 -p /sbin/ldconfig %files -n libeio1 %defattr(-,root,root) %{_libdir}/libeio*so.1* %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/* %{_includedir}/* %{_libdir}/libeio.so %files doc-html %defattr(-, root, root) %{_docdir}/%{name} %files doc-man %defattr(-, root, root) %{_mandir}/*/* %files examples %defattr(-, root, root) # eio doesn't have any other file here so add # this dir to eio-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