Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
ethumb
ethumb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ethumb.spec of Package ethumb
# # spec file for package ethumb # # Copyright (c) 2010 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: ethumb Version: 1.7.5 Release: 1 License: LGPL-2.1 Summary: Thumbnail generation library for EFL Url: http://enlightenment.org/ Group: Development/Libraries/C and C++ Source: %{name}-%{version}.tar.bz2 BuildRequires: doxygen %if 0%{?suse_version} BuildRequires: fdupes %endif BuildRequires: e_dbus-devel >= %version BuildRequires: ecore-devel >= %version BuildRequires: edje-devel >= %version BuildRequires: eina-devel >= %version BuildRequires: emotion-devel >= %version BuildRequires: evas-devel >= %version BuildRequires: libexif-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Ethumb is a thumbnail generation library. Part of Enlightenment Foundation Libraries. %package devel Summary: Ethumb development package Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: e_dbus-devel >= %version Requires: ecore-devel >= %version Requires: edje-devel >= %version Requires: eina-devel >= %version Requires: emotion-devel >= %version Requires: evas-devel >= %version Requires: libethumb1 = %{version} Requires: libethumb_client1 = %{version} Requires: libexif-devel %description devel Development files for Ethumb package. %package -n libethumb1 Summary: Shared library of ethumb Group: System/Libraries %description -n libethumb1 Main shared library of package ethumb. %package -n libethumb_client1 Summary: Shared library of ethumb client Group: System/Libraries %description -n libethumb_client1 Shared library used by ethumb client. %package doc-html Summary: HTML documentation of Ethumb Group: Documentation/HTML %description doc-html Documentation of Ethumb library in form of HTML pages. %package doc-man Summary: Man documentation of Ethumb Group: Documentation/Man %description doc-man Documentation of Ethumb library in form of man pages. %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 make %{?_smp_mflags} make doc %install make install DESTDIR="%buildroot" # copy documentation manually echo "Copying HTML documentation" mkdir -p %{buildroot}%{_docdir}/%{name}/html /bin/cp -vr doc/html/* %{buildroot}%{_docdir}/%{name}/html/ echo "Copying MAN pages" /bin/cp -vr doc/man/ %{buildroot}%{_mandir}/ # remove duplicates %if 0%{?suse_version} %fdupes -s %{buildroot}%{_docdir} %fdupes -s %{buildroot}%{_mandir} %endif cp COPYING README %{buildroot}%{_docdir}/%{name}/ find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \; %clean %{?buildroot:rm -rf %{buildroot}} %post -n libethumb1 -p /sbin/ldconfig %postun -n libethumb1 -p /sbin/ldconfig %post -n libethumb_client1 -p /sbin/ldconfig %postun -n libethumb_client1 -p /sbin/ldconfig %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/*.so %files -n libethumb1 %defattr(-,root,root) %{_libdir}/libethumb.so.* %files -n libethumb_client1 %defattr(-,root,root) %{_libdir}/libethumb_client.so.* %files %defattr(-,root,root) %doc %{_docdir}/%{name} %exclude %{_docdir}/%{name}/html %{_bindir}/* %{_libdir}/ethumb/ %{_datadir}/ethumb %{_libexecdir}/ethumbd_slave %{_datadir}/dbus-1/services/org.enlightenment.Ethumb.service %files doc-html %defattr(-, root, root) %doc %{_docdir}/%{name}/html/ %files doc-man %defattr(-, root, root) %{_mandir}/*/* %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