Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dmitry_serpokryl:E
ehb
ehb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ehb.spec of Package ehb
# # spec file for package ehb-DR17 (svn Version _20100516_r48925) # # Copyright (c) 2008 SOAD Project, Russia. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bug fixes or comments to the Maintainer: sda00@himki.net # # norootforbuild Name: ehb Version: svn_20100516_r48925 Release: 1 License: BSD URL: http://enlightenment.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ehb_20100516_r48925.tar.bz2 Source1: ehb.desktop Packager: sda00 <sda00@himki.net> Group: System/Libraries Summary: Enlightened Hardware Browser aka “EHB” %if 0%{?suse_version} > 1030 || 0%{?sles_version} == 11 # core BuildRequires: gcc-c++ gcc iputils subversion m4 autoconf automake libtool glibc-devel zlib-devel libjpeg-devel doxygen gzip # functional extensions BuildRequires: gettext-devel imlib2-devel pkg-config libpng-devel BuildRequires: xorg-x11-devel libusb-devel libpciaccess0-devel update-desktop-files pciutils-devel dbus-1-devel BuildRequires: libgnutls-devel lua-devel libcurl-devel curl BuildRequires: glib2-devel %endif %if 0%{?suse_version} == 1030 # core BuildRequires: gcc-c++ gcc iputils subversion m4 autoconf automake libtool glibc-devel zlib-devel libjpeg-devel doxygen gzip # functional extensions BuildRequires: gettext-devel imlib2-devel pkg-config libpng-devel BuildRequires: xorg-x11-devel libusb-devel libpciaccess0-devel update-desktop-files pciutils-devel dbus-1-devel BuildRequires: libgnutls-devel lua-devel libcurl-devel curl BuildRequires: glib2-devel %endif %if 0%{?fedora} BuildRequires: libjpeg-devel zlib-devel pkgconfig gnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: libX11-devel libusb-devel libpciaccess-devel pciutils-devel dbus-devel BuildRequires: gnutls-devel lua-devel libcurl-devel curl %endif %if 0%{?mandriva_version} == 200910 || 0%{?mandriva_version} == 2009 || 0%{?mandriva_version} == 2008 %ifarch x86_64 BuildRequires: lib64jpeg62-devel zlib1-devel zlib1 pkgconfig lib64gnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: lib64xorg-x11-devel lib64usb-devel lib64pciaccess-devel pciutils-devel lib64dbus-1-devel lib64gnutls-devel lib64lua-devel BuildRequires: lib64curl-devel curl lib64curl4 gettext-devel gettext-base %else BuildRequires: libjpeg62-devel zlib-devel pkgconfig libgnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: libxorg-x11-devel libusb-devel libpciaccess-devel pciutils-devel libdbus-1-devel libgnutls-devel liblua-devel BuildRequires: curl libcurl4 libcurl-devel gettext-devel gettext-base %endif %endif %if 0%{?mandriva_version} == 201000 %ifarch x86_64 BuildRequires: lib64jpeg-devel zlib1-devel zlib1 pkgconfig lib64gnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: lib64xorg-x11-devel lib64usb-devel lib64pciaccess-devel pciutils-devel lib64dbus-1-devel lib64gnutls-devel lib64lua-devel BuildRequires: lib64curl-devel curl lib64curl4 gettext-devel gettext-base %else BuildRequires: libjpeg-devel zlib-devel pkgconfig libgnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: libxorg-x11-devel libusb-devel libpciaccess-devel pciutils-devel libdbus-1-devel libgnutls-devel liblua-devel BuildRequires: curl libcurl4 libcurl-devel gettext-devel gettext-base %endif %endif BuildRequires: libeet1-devel libevas0-devel libecore0-devel libembryo0-devel libedje0-devel libeina0-devel elementary-devel elementary libedbus0-devel libefreet0-devel libethumb1-devel E17-devel %description Enlightened Hardware Browser aka “EHB” get all devices detected in you system and display them to a nice way. It can be useful to get informations about your hardware or to see if a newly added device is correctly installed. Author: Alexandre Dussart(main) <alexandre.dussart@laposte.net> _______________________________________________________________ You can always update your package to the current state just by rebuilding the .spec file: > rpmbuild -bb *.spec or by rebuilding the .src.rpm file itself: > rpmbuild --rebuild *.src.rpm The new compiled .rpm will be available in /usr/src/packages/RPM/_your_PC_type/ Prepared by SOAD project. ########################################## ## insert here "debug-package" macro for a local builds ########################################## %prep rm -rf "$RPM_BUILD_ROOT" #%setup -q %if 0%{?suse_version} || 0%{?sles_version} %{?suse_update_config:%{suse_update_config -f}} %endif %build %install if [ "`ping enlightenment.org -c 10 2>&1 | grep icmp_seq`" != "" ] ; then svn co svn://svn.tuxfamily.org/svnroot/hylius/ehb cd ehb chmod +x ./autogen.sh ./autogen.sh else tar xfmjv $RPM_SOURCE_DIR/ehb_20100516_r48925.tar.bz2 cd ehb chmod +x ./autogen.sh ./autogen.sh fi #%if 0%{?suse_version} || 0%{?sles_version} #export ELEMENTARY_CFLAGS="-I/usr/include/elementary -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/efreet" #export ELEMENTARY_LIBS="-lelementary -lefreet -lefreet_mime -lefreet_trash -lehal -ledje -lecore_evas -lecore_file -ledbus -ldbus-1 -lecore_imf_evas -llua -lm -lembryo -lecore_job -leet -lecore_imf -lecore_con -lgnutls -lcurl -lecore_sdl -lecore_x -lecore_input -lecore_txt -levas -lecore -leina" #export ECORE_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eina-0 -I/usr/include/eina-0/eina" #export ECORE_LIBS="-lecore" #%endif %configure %if 0%{?suse_version} || 0%{?sles_version} make %{?_smp_mflags} CFLAGS="-I/usr/include/dbus-1.0 -I%{_libdir}/dbus-1.0/include -I/usr/include/efreet -I/usr/include $CFLAGS" %else make %{?_smp_mflags} %endif %makeinstall # optional removal of libtool archive along with stripping #find $RPM_BUILD_ROOT/ -type f -iname '*.la' -exec rm {} \; #find $RPM_BUILD_ROOT/ -type f -iname '*.a' -exec rm {} \; if [ -e %{buildroot}%{_datadir}/icons/ehb.png ] ; then mkdir -p %{buildroot}%{_datadir}/pixmaps mv %{buildroot}%{_datadir}/icons/ehb.png %{buildroot}%{_datadir}/pixmaps/ rm -rf %{buildroot}%{_datadir}/icons fi %if 0%{?suse_version} cp %{SOURCE1} %{buildroot}%{_datadir}/applications/ %suse_update_desktop_file -r ehb System Monitor %endif %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/applications/* %{_datadir}/pixmaps/* %{_datadir}/ehb %changelog * Thu Oct 1 2009 version 0.1 <sda00@himki.net> - first build
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