Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dmitry_serpokryl:Enlightenment-cvs-core-metapackage
elementary
elementary.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File elementary.spec of Package elementary
# # spec file for package elementary-DR17 (svn Version _20100516_r48925) # # Copyright (c) 2009 Enlightenment Project. # 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: elementary Version: svn_20100516_r48925 Release: 1 License: BSD URL: http://enlightenment.org/ #Provides: elementary BuildRoot: /tmp/%{name}-%{version}-build Source: elementary_20100516_r48925.tar.bz2 Source1: elementary_test.desktop Source2: elementary_config.desktop Packager: sda00 <sda00@himki.net> Group: System/Libraries Summary: Elementary - a basic widget set based on EFL for mobile touch-screen devices #%if %suse_version > 1100 #BuildRequires: -post-build-checks -brp-check-suse #%endif %if 0%{?suse_version} > 1030 || 0%{?sles_version} == 11 # core BuildRequires: gcc-c++ gcc iputils subversion m4 autoconf automake libtool glibc-devel glibc glib2-devel glib2 zlib-devel zlib libjpeg-devel libjpeg doxygen fontconfig-devel fontconfig # X env BuildRequires: xorg-x11-devel BuildRequires: pam-devel # functional extensions BuildRequires: SDL-devel Mesa-devel gettext-devel gettext imlib2-devel imlib2 pkg-config libpng libpng-devel libxml2-devel libxml2 libxslt-devel libxslt giflib-devel giflib pango pango-devel freetype2-devel freetype2 libtiff-devel librsvg-devel librsvg ncurses-devel ncurses cairo-devel cairo fribidi-devel fribidi libopenssl-devel libcurl-devel curl BuildRequires: libgnutls-devel gnutls libnotify-devel libnotify hal-devel hal dbus-1-devel update-desktop-files %endif %if 0%{?suse_version} == 1030 # core BuildRequires: gcc-c++ gcc iputils subversion m4 autoconf automake libtool glibc-devel glibc zlib-devel zlib libjpeg-devel libjpeg doxygen gzip # X env BuildRequires: xorg-x11-devel BuildRequires: pam-devel # functional extensions BuildRequires: gettext-devel gettext imlib2-devel imlib2 pkg-config zlib-devel zlib libjpeg-devel libjpeg libpng-devel libpng fribidi-devel fribidi giflib-devel giflib pango pango-devel freetype2-devel freetype2 libtiff-devel tiff libxml2-devel libxml2 libxslt-devel libxslt libopenssl-devel libcurl-devel curl BuildRequires: libgnutls-devel gnutls libnotify-devel libnotify hal-devel hal dbus-1-devel BuildRequires: SDL-devel Mesa-devel gettext-devel MesaGLw-devel update-desktop-files %endif %if 0%{?fedora_version} || 0%{?rhel_version} == 5 BuildRequires: libjpeg-devel zlib-devel pkgconfig gnutls-devel openssl-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: freetype-devel pth-devel libX11-devel libXext-devel BuildRequires: libXrender-devel fontconfig-devel libjpeg-devel libpng-devel BuildRequires: librsvg2-devel libtiff-devel giflib-devel libXpm-devel libXpm BuildRequires: mesa-libGL-devel mesa-libGLU-devel BuildRequires: libxcb-devel libxcb SDL-devel libXau-devel libXau BuildRequires: libcurl-devel curl libcurl inotify-tools-devel libnotify libnotify-devel BuildRequires: libXinerama-devel libXrandr-devel libXScrnSaver-devel libXcursor-devel BuildRequires: libXrender-devel libXdamage-devel libXfixes-devel libXrandr-devel libXrandr BuildRequires: libXcomposite-devel libXcomposite BuildRequires: hal-devel hal dbus dbus-devel #BuildRequires: fribidi-devel fribidi %endif %if 0%{?mandriva_version} == 2008 %ifarch x86_64 BuildRequires: lib64jpeg62-devel zlib1-devel pkgconfig lib64gnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: lib64xcb1-devel lib64xcb1 lib64SDL1.2-devel lib64mesagl1-devel lib64mesaglu1-devel lib64mesaglut3-devel lib64mesaglw1-devel BuildRequires: lib64xpm-devel lib64xpm4 lib64xorg-x11-devel lib64x11_6-devel x11-server-devel x11-xtrans-devel x11-proto-devel BuildRequires: lib64png-devel lib64png3 lib64ungif4-devel lib64ungif4 lib64tiff3-devel lib64tiff3 lib64xrender1-devel lib64xrender1 BuildRequires: lib64fontconfig-devel fontconfig lib64xrender1-devel lib64xrender1 lib64xcomposite1 lib64xcomposite1-devel BuildRequires: lib64xau6-devel lib64xau6 lib64fribidi-devel fribidi lib64fribidi0 lib64cairo2-devel lib64cairo2 lib64xcursor-devel lib64xcursor1 BuildRequires: lib64openssl0.9.8-devel lib64openssl0.9.8 lib64xmlsec1-openssl-devel lib64xdamage-devel lib64xdamage1 BuildRequires: lib64curl-devel curl lib64curl4 lib64xscrnsaver1-devel lib64xscrnsaver1 BuildRequires: lib64xinerama1-devel lib64xinerama1 lib64xrandr2-devel lib64xrandr2 lib64xfixes3-devel lib64xfixes3 BuildRequires: hal lib64hal1 lib64hal-devel BuildRequires: lib64dbus-1-devel #BuildRequires: dbus-1-devel lib64notify1 lib64notify1-devel libnotify dbus lib64dbus-1_3-devel lib64dbus-1_3 dbus-x11 %else BuildRequires: libjpeg62-devel zlib-devel pkgconfig libgnutls-devel subversion automake doxygen m4 autoconf gzip bzip2 tar BuildRequires: libxcb1-devel libxcb1 libSDL1.2-devel libmesagl1-devel libmesaglu1-devel libmesaglut3-devel libmesaglw1-devel BuildRequires: libxpm4 libxpm-devel libxorg-x11-devel libx11_6-devel x11-server-devel x11-proto-devel x11-xtrans-devel BuildRequires: libpng-devel libpng3 libungif4 libungif4-devel libtiff3-devel libtiff3 libxrender1 libxrender1-devel BuildRequires: libfontconfig-devel fontconfig libxrender1 libxrender1-devel libxcomposite1 libxcomposite1-devel BuildRequires: libxau6-devel libxau6 fribidi libfribidi0 libfribidi-devel libcairo2 libcairo2-devel libxcursor1 libxcursor-devel BuildRequires: libopenssl0.9.8 libopenssl0.9.8-devel libxmlsec1-openssl-devel libxdamage-devel libxdamage1 BuildRequires: curl libcurl4 libcurl-devel libxscrnsaver1-devel libxscrnsaver1 BuildRequires: libxinerama1 libxinerama1-devel libxrandr2 libxrandr2-devel libxfixes3 libxfixes3-devel BuildRequires: hal libhal1 libhal-devel BuildRequires: libdbus-1-devel #BuildRequires: dbus-1-devel libnotify libnotify1 libnotify1-devel dbus dbus-x11 libdbus-1_3 libdbus-1_3-devel %endif %endif %if 0%{?mandriva_version} == 2009 || 0%{?mandriva_version} == 200910 %ifarch x86_64 BuildRequires: lib64jpeg62-devel zlib1-devel zlib1 pkgconfig subversion automake doxygen m4 autoconf gzip bzip2 tar zlib-devel jpeg-devel lib64openssl0.9.8-devel lib64openssl0.9.8 BuildRequires: lib64xcb-devel lib64xcb1 lib64SDL-devel lib64mesagl1-devel lib64mesaglu1-devel lib64mesaglut3-devel lib64mesaglw1-devel BuildRequires: lib64xpm-devel lib64xpm4 lib64xorg-x11-devel lib64x11_6-devel x11-server-devel x11-xtrans-devel x11-proto-devel BuildRequires: lib64png-devel lib64png3 lib64ungif4-devel lib64ungif4 lib64tiff3-devel lib64tiff3 lib64xrender1-devel lib64xrender1 BuildRequires: lib64fontconfig-devel fontconfig lib64rsvg2-devel lib64rsvg2_2 lib64svg1-devel lib64svg-cairo1-devel lib64xcomposite1 lib64xcomposite1-devel BuildRequires: lib64xau6 lib64xau6-devel fribidi lib64fribidi0 lib64fribidi-devel lib64xmlsec1-openssl-devel lib64xscrnsaver1-devel lib64xscrnsaver1 BuildRequires: curl lib64curl4 lib64curl-devel lib64notify1 lib64notify1-devel libnotify lib64xrender1-devel lib64xrender1 lib64xdamage1 lib64xdamage-devel BuildRequires: lib64xinerama1-devel lib64xinerama1 lib64xrandr2-devel lib64xrandr2 lib64xfixes3 lib64xfixes3-devel lib64xcursor-devel lib64xcursor1 BuildRequires: hal lib64hal1 lib64hal-devel dbus dbus-x11 lib64dbus-1_3 lib64dbus-1-devel %else BuildRequires: libjpeg62-devel zlib-devel pkgconfig subversion automake doxygen m4 autoconf gzip bzip2 tar zlib-devel jpeg-devel libopenssl0.9.8-devel libopenssl0.9.8 BuildRequires: libxcb-devel libxcb1 libSDL-devel libmesagl1-devel libmesaglw1-devel libmesaglu1-devel libmesaglut3-devel BuildRequires: libxpm4 libxpm-devel libxorg-x11-devel libx11_6-devel x11-server-devel x11-xtrans-devel x11-proto-devel BuildRequires: libpng-devel libpng3 libungif4 libungif4-devel libtiff3-devel libtiff3 libxrender1 libxrender1-devel libxdamage1 libxdamage-devel BuildRequires: libfontconfig-devel fontconfig librsvg librsvg2-devel librsvg2_2 libsvg-cairo1-devel libsvg1-devel libxcursor1 libxcursor-devel BuildRequires: libxau6-devel libxau6 fribidi libfribidi0 libfribidi-devel libxrender1 libxrender1-devel libxcomposite1 libxcomposite1-devel BuildRequires: curl libcurl4 libcurl-devel libnotify libnotify1 libnotify1-devel libxscrnsaver1 libxscrnsaver1-devel BuildRequires: libxinerama1 libxinerama1-devel libxrandr2 libxrandr2-devel libxfixes3 libxfixes3-devel BuildRequires: hal libhal1 libhal-devel dbus dbus-x11 libdbus-1_3 libdbus-1-devel %endif %endif # Global E required components (E dependencies) BuildRequires: libeet1 libeet1-devel libevas0 libevas0-devel libecore0 libecore0-devel libedje0 libedje0-devel libembryo0 libembryo0-devel libedbus0 libedbus0-devel libefreet0 libefreet0-devel libeina0 libeina0-devel Requires: libefreet0 %description Elementary - a basic widget set that is easy to use based on EFL for mobile touch-screen devices Author: The Rasterman (Carsten Haitzler) <raster@rasterman.com> Prepared by SOAD project. The full list of E-dev crew is here: http://enlightenment.org/p.php?p=contact&l=en 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. %package devel Summary: Elementary headers, static libraries and test programs Group: Development/Libraries Requires: %{name} = %{version} libefreet0-devel libeina0-devel libevas0-devel libeet1-devel libecore0-devel libedje0-devel libembryo0-devel libedbus0-devel %description devel Headers, static libraries, test programs for Elementary. %package doc Summary: Elementary documentation and man pages Group: Documentation/Other %description doc Various Elementary documentation and man pages ########################################## ## 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 checkout http://svn.enlightenment.org/svn/e/trunk/TMP/st/elementary cd elementary ./autogen.sh else tar xfmjv $RPM_SOURCE_DIR/elementary_20100516_r48925.tar.bz2 cd elementary ./autogen.sh fi %if 0%{?suse_version} > 1100 || 0%{?sles_version} == 11 %configure --disable-static %else %configure --disable-static %endif make %{?_smp_mflags} if [ -e ./gendoc ] ; then chmod +x ./gendoc ./gendoc #else #make doc fi %makeinstall if [ "`grep GenericName $RPM_BUILD_ROOT%{_datadir}/applications/elementary_test.desktop | grep -v grep `" == "" ] ; then echo 'GenericName=Elementary Test' >> $RPM_BUILD_ROOT%{_datadir}/applications/elementary_test.desktop fi mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps cp $RPM_BUILD_ROOT%{_datadir}/icons/* $RPM_BUILD_ROOT%{_datadir}/pixmaps/ cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/ cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/ %if 0%{?suse_version} %suse_update_desktop_file -r elementary_test Utility Accessibility %suse_update_desktop_file -r elementary_config Utility Accessibility %endif # 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 {} \; %clean rm -rf "$RPM_BUILD_ROOT" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/elementary %{_libdir}/*.so.* %{_datadir}/applications/* %{_datadir}/icons/* %{_datadir}/pixmaps/* %{_libdir}/edje %{_libdir}/elementary %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/* %changelog * Mon Apr 20 2009 version E-DR17-999-050 <sda00@himki.net> - first "rev1" is packaged according to the Release Schedule - http://trac.enlightenment.org/e/wiki/ReleaseSchedule * Fri Apr 17 2009 version E-DR17-999-050 <sda00@himki.net> - added online rebuild capability of .src.rpm or .spec files - prepare to the first official "rev1" snapshot 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