Enlightenment CVS committal

Author  : mej
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        entrance.spec 


Log Message:
Tue Jul 20 14:29:47 2004                        Michael Jennings (mej)

It took me about 3 years (:-P) but I finally got this thing passing
"make distcheck" and building proper RPM's.
My solution isn't the most elegant, but since "make distcheck" changes
$(prefix) instead of $(DISTDIR) (which sucks goat), I didn't see much
in the way of alternatives.

----------------------------------------------------------------------

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/entrance.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- entrance.spec       23 May 2004 14:14:24 -0000      1.2
+++ entrance.spec       20 Jul 2004 18:32:34 -0000      1.3
@@ -1,37 +1,29 @@
 Summary: enlightened display manager
 Name: entrance
 Version: 0.9.0
-Release: 1
+Release: 1.%(date '+%Y%m%d')
 Copyright: BSD
 Group: System Environment/Libraries
-Source: ftp://ftp.enlightenment.org/pub/evoak/%{name}-%{version}.tar.gz
-Packager: Azundris <[EMAIL PROTECTED]>
+Source: ftp://ftp.enlightenment.org/pub/entrance/%{name}-%{version}.tar.gz
+Packager: Michael Jennings <[EMAIL PROTECTED]>
 URL: http://www.enlightenment.org/
-BuildRequires: libjpeg-devel zlib-devel
-Requires: libjpeg zlib ecore evas eet imlib2
+#BuildSuggests: libjpeg-devel zlib-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 %description
-entrance is beauteous and highly themable X display manager / login daemon thingie.
+Entrance is the Enlightenment Display Manager. And like Enlightenment,
+it takes beauty and customization to levels that KDM and GDM can only
+dream about...and without the bloat.
 
 %prep
 %setup -q
 
 %build
-%{configure}
-
-if [ "$SMP" != "" ]; then
-  (%{__make} "MAKE=make -k -j $SMP"; exit 0)
-  %{__make}
-else
-  %{__make}
-fi
+%{configure} --prefix=%{_prefix}
+%{__make} %{?_smp_mflags} %{?mflags}
 
 %install
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
 
 %post
 /sbin/ldconfig || :
@@ -39,26 +31,24 @@
 %postun
 /sbin/ldconfig || :
 
-%files
-%defattr(-, root, root)
-%doc AUTHORS COPYING README
+%clean
+test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
+
+%files                                           
+%defattr(-, root, root)                          
+%doc AUTHORS COPYING* README
 %{_sysconfdir}/entrance_config.db
-%{_sysconfdir}/init.d
 %{_sysconfdir}/init.d/entrance
-%{_sysconfdir}/pam.d
 %{_sysconfdir}/pam.d/entrance
 %{_bindir}/entrance
 %{_bindir}/entrance_edit
 %{_bindir}/entrance_login
 %{_bindir}/entrance_wrapper
-%{_prefix}/sbin/entranced
+%{_sbindir}/entranced
 %{_datadir}/entrance/fonts/*.ttf
 %{_datadir}/entrance/images/*.png
 %{_datadir}/entrance/images/sessions/*
 %{_datadir}/entrance/themes/*.eet
 %{_datadir}/entrance/users/*.eet
 
-
 %changelog
-* Sun May 23 2004 Azundris <[EMAIL PROTECTED]>
-- Created spec file




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to