So I've gotten to the point where if something doesn't compile with rpm -tb <file> I'm not likely to mess with it. 1. Several of the unstable packages evolution depends on (including evolution itself) don't have spec files 2. Evolution looked too damn cool to not mess with. Guess I had to write some spec files. Anyway - they work for me - I've got the preview of evolution installed as RPMs and running - your mileage may vary. Figured I'd share. -- Dan Berger [dberger ix netcom com] http://home.ix.netcom.com/~dberger "If you can't explain it to an 8-year-old, you don't understand it" --Albert Einstein
# Note this is NOT a relocatable thing :) %define name evolution %define ver 0.1 %define RELEASE 0 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr %define sysconfdir /etc Name: %name Summary: the emacs of mail clients Version: %ver Release: %rel Copyright: GPL Group: Application/Internet Source: %{name}-%{ver}.tar.gz URL: http://www.gnome.org/ BuildRoot: /var/tmp/%{name}-%{ver}-root Docdir: %{prefix}/doc %description Evolution is the helixcode mail client/scheduler/make-your-life-better application. %package devel Summary: Libraries and include files for evolution Group: Development/Libraries Requires: %name = %{PACKAGE_VERSION} Obsoletes: %{name}-devel %description devel This package provides the necessary development libraries and include files to allow you to develop programs for/in evolution. %changelog %prep %setup %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif LC_ALL="" LINGUAS="" LANG="" export LC_ALL LINGUAS LANG CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \ --sysconfdir=%{sysconfdir} if [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) make else make fi %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install for FILE in "$RPM_BUILD_ROOT/bin/*"; do file "$FILE" | grep -q not\ stripped && strip $FILE done %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then echo "%{prefix}/lib" >> /etc/ld.so.conf fi /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc ABOUT-NLS AUTHORS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS README %{prefix}/bin/evolution %{prefix}/bin/evolution-addressbook %{prefix}/bin/evolution-calendar %{prefix}/bin/evolution-mail %{prefix}/bin/killev %{prefix}/bin/test-mail %{prefix}/bin/wombat %dir %{prefix}/share/evolution %{prefix}/share/evolution/*.xml %dir %{prefix}/share/evolution/default_user %{prefix}/share/evolution/default_user/*.xml %dir %{prefix}/share/evolution/default_user/local %dir %{prefix}/share/evolution/default_user/local/Calendar %{prefix}/share/evolution/default_user/local/Calendar/* %dir %{prefix}/share/evolution/default_user/local/Contacts %{prefix}/share/evolution/default_user/local/Contacts/* %dir %{prefix}/share/evolution/default_user/local/Directories %dir %{prefix}/share/evolution/default_user/local/Directories/subfolders %dir %{prefix}/share/evolution/default_user/local/Directories/subfolders/Bigfoot %{prefix}/share/evolution/default_user/local/Directories/subfolders/Bigfoot/* %dir %{prefix}/share/evolution/default_user/local/Directories/subfolders/Netcenter %{prefix}/share/evolution/default_user/local/Directories/subfolders/Netcenter/* %dir %{prefix}/share/evolution/default_user/local/Drafts %{prefix}/share/evolution/default_user/local/Drafts/* %dir %{prefix}/share/evolution/default_user/local/Inbox %{prefix}/share/evolution/default_user/local/Inbox/* %dir %{prefix}/share/evolution/default_user/local/Outbox %{prefix}/share/evolution/default_user/local/Outbox/* %dir %{prefix}/share/evolution/default_user/local/Trash %{prefix}/share/evolution/default_user/local/Trash/* %dir %{prefix}/share/evolution/ecps %{prefix}/share/evolution/ecps/*.ecps %dir %{prefix}/share/evolution/glade %{prefix}/share/evolution/glade/*.glade # already installed and empty #%dir %{prefix}/share/gnome/help/cal #%dir %{prefix}/share/gnome/help/cal/C %dir %{prefix}/share/gnome/help/evolution %dir %{prefix}/share/gnome/help/evolution/C %dir %{prefix}/share/gnome/help/evolution/C/fig %{prefix}/share/gnome/help/evolution/C/fig/* # already installed and populated #%dir %{prefix}/share/gnome/help/gnomecal #%dir %{prefix}/share/gnome/help/gnomecal/C #%{prefix}/share/gnome/help/gnomecal/C/* #%dir %{prefix}/share/gnome/help/gnomecal/C/images #%{prefix}/share/gnome/help/gnomecal/C/images/* %dir %{prefix}/share/images/evolution %{prefix}/share/images/evolution/*.png %dir %{prefix}/share/oaf %{prefix}/share/oaf/*.oafinfo %{prefix}/lib/*.so* %dir %{prefix}/lib/evolution %dir %{prefix}/lib/evolution/camel-providers %dir %{prefix}/lib/evolution/camel-providers/0.1 %{prefix}/lib/evolution/camel-providers/0.1/*.so* %{prefix}/lib/evolution/camel-providers/0.1/*.urls %files devel %defattr(-, root, root) %{prefix}/share/idl/*.idl %{prefix}/share/evolution/glade/* %{prefix}/lib/*.a %{prefix}/lib/*.so %{prefix}/lib/*.la %{prefix}/lib/evolution/camel-providers/0.1/*.a %{prefix}/lib/evolution/camel-providers/0.1/*.la %{prefix}/lib/evolution/camel-providers/0.1/*.so %{prefix}/include/*.h %dir %{prefix}/include/camel %{prefix}/include/camel/*.h %{prefix}/include/camel/*.def %dir %{prefix}/include/composer %{prefix}/include/composer/*.h %dir %{prefix}/include/ename %{prefix}/include/ename/*.h %dir %{prefix}/include/evolution %dir %{prefix}/include/evolution/cal-client %{prefix}/include/evolution/cal-client/*.h %dir %{prefix}/include/evolution/cal-util %{prefix}/include/evolution/cal-util/*.h %dir %{prefix}/include/evolution/ebook %{prefix}/include/evolution/ebook/*.h
# Note this is NOT a relocatable thing :) %define name gnome-vfs %define ver 0.1 %define RELEASE 0 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr %define sysconfdir /etc Name: %name Summary: gnome virtual filesystem library Version: %ver Release: %rel Copyright: GPL Group: System Environment/Libraries Source: %{name}-%{ver}.tar.gz URL: http://www.gnome.org/ BuildRoot: /var/tmp/%{name}-%{ver}-root Docdir: %{prefix}/doc %description gnome virtual file system support %package devel Summary: Libraries and include files for gnome-vfs Group: Development/Libraries Requires: %name = %{PACKAGE_VERSION} Obsoletes: %{name}-devel %description devel This package provides the necessary development libraries and include files to allow you to develop programs using gnome-vfs. %changelog %prep %setup %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif LC_ALL="" LINGUAS="" LANG="" export LC_ALL LINGUAS LANG CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \ --sysconfdir=%{sysconfdir} if [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) make else make fi %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install for FILE in "$RPM_BUILD_ROOT/bin/*"; do file "$FILE" | grep -q not\ stripped && strip $FILE done %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then echo "%{prefix}/lib" >> /etc/ld.so.conf fi /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO %dir %{prefix}/lib/vfs/modules %dir %{prefix}/lib/vfs/extfs %dir /etc/vfs/modules /etc/vfs/modules/default-modules.conf %{prefix}/bin/gnome-vfs-slave %{prefix}/lib/lib*.so* %{prefix}/lib/vfs/modules/*.so %{prefix}/lib/vfs/extfs/a %{prefix}/lib/vfs/extfs/ar %{prefix}/lib/vfs/extfs/arj %{prefix}/lib/vfs/extfs/cpio %{prefix}/lib/vfs/extfs/deb %{prefix}/lib/vfs/extfs/hp48 %{prefix}/lib/vfs/extfs/lha %{prefix}/lib/vfs/extfs/mailfs %{prefix}/lib/vfs/extfs/patchfs %{prefix}/lib/vfs/extfs/rar %{prefix}/lib/vfs/extfs/rpm %{prefix}/lib/vfs/extfs/rpms %{prefix}/lib/vfs/extfs/trpm %{prefix}/lib/vfs/extfs/zip %{prefix}/lib/vfs/extfs/zoo %{prefix}/lib/vfs/extfs/README %files devel %defattr(-, root, root) %dir %{prefix}/include/libgnomevfs %{prefix}/include/libgnomevfs/* %{prefix}/lib/*.a %{prefix}/lib/*.so %{prefix}/lib/*.la %{prefix}/lib/vfs/modules/*.a %{prefix}/lib/vfs/modules/*.so %{prefix}/lib/vfs/modules/*.la %{prefix}/lib/*Conf.sh
# Note this is NOT a relocatable thing :) %define name libunicode %define ver 0.4 %define RELEASE 0 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr %define sysconfdir /etc Name: %name Summary: unicode library Version: %ver Release: %rel Copyright: GPL Group: System Environment/Libraries Source: %{name}-%{ver}.tar.gz URL: http://www.gnome.org/ BuildRoot: /var/tmp/%{name}-%{ver}-root Docdir: %{prefix}/doc %description libunicode handles unicode encoded data structures %package devel Summary: Libraries and include files for libunicode Group: Development/Libraries Requires: %name = %{PACKAGE_VERSION} Obsoletes: %{name}-devel %description devel This package provides the necessary development libraries and include files to allow you to develop programs using libunicode. %changelog %prep %setup %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif LC_ALL="" LINGUAS="" LANG="" export LC_ALL LINGUAS LANG CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \ --sysconfdir=%{sysconfdir} if [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) make else make fi %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install for FILE in "$RPM_BUILD_ROOT/bin/*"; do file "$FILE" | grep -q not\ stripped && strip $FILE done %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then echo "%{prefix}/lib" >> /etc/ld.so.conf fi /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO %{prefix}/lib/lib*.so* %{prefix}/bin/unicode-config %files devel %defattr(-, root, root) %{prefix}/include/* %{prefix}/lib/*.a %{prefix}/lib/*.so %{prefix}/lib/*.la
# Note this is NOT a relocatable thing :) %define name oaf %define ver 0.3.0 %define RELEASE 0 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr %define sysconfdir /etc Name: %name Summary: Bonobo activation library Version: %ver Release: %rel Copyright: GPL Group: System Environment/Libraries Source: %{name}-%{ver}.tar.gz URL: http://www.gnome.org/ BuildRoot: /var/tmp/%{name}-%{ver}-root Docdir: %{prefix}/doc %description Goad is the component library that lives under Bonobo - the GNOME compound document library. %package devel Summary: Libraries and include files for the goad component system Group: Development/Libraries Requires: %name = %{PACKAGE_VERSION} Obsoletes: %{name}-devel %description devel This package provides the necessary development libraries and include files to allow you to develop programs using the goad component activation library. %changelog %prep %setup %build %ifarch alpha MYARCH_FLAGS="--host=alpha-redhat-linux" %endif LC_ALL="" LINGUAS="" LANG="" export LC_ALL LINGUAS LANG CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{prefix} \ --sysconfdir=%{sysconfdir} if [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) make else make fi %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install for FILE in "$RPM_BUILD_ROOT/bin/*"; do file "$FILE" | grep -q not\ stripped && strip $FILE done %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then echo "%{prefix}/lib" >> /etc/ld.so.conf fi /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO %{prefix}/lib/lib*.so.* %{prefix}/bin/oafd %{prefix}/bin/oaf-client %{prefix}/bin/oaf-run-query %{prefix}/bin/oaf-config %dir %{prefix}/share/oaf %{prefix}/share/oaf/*.oafinfo %files devel %defattr(-, root, root) %dir %{prefix}/include/liboaf %{prefix}/lib/*.a %{prefix}/lib/*.so %{prefix}/lib/*.la %{prefix}/lib/*Conf.sh %{prefix}/include/liboaf/* %{prefix}/share/idl/*.idl
Attachment:
pgpWleORR4AsO.pgp
Description: PGP signature