From 73f8f69ef51e07de468aa2bc1260748d881e701c Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Sun, 28 Dec 2008 15:40:52 +0000 Subject: [PATCH] - small cleanup - update to 0.99.04a - NFY Changed files: wings.spec -> 1.2 --- wings.spec | 76 +++++------------------------------------------------- 1 file changed, 6 insertions(+), 70 deletions(-) diff --git a/wings.spec b/wings.spec index 8db19e1..37021aa 100644 --- a/wings.spec +++ b/wings.spec @@ -1,29 +1,16 @@ # Summary: 3D subdivision modeller Name: wings -Version: 0.99.02 +Version: 0.99.04a Release: 1 License: BSD Group: Applications -Source0: http://dl.sourceforge.net/wings/wings-0.99.02.tar.bz2 -# Source0-md5: 518079f71a5f0f863e0a775e072ceab9 +Source0: http://downloads.sourceforge.net/wings/wings-%{version}.tar.bz2 +# Source0-md5: 148f28cd97c8d3d2426b34b53c385cb5 URL: http://www.wings3d.com/ BuildRequires: OpenGL-devel BuildRequires: erlang -#BuildRequires: automake -#BuildRequires: intltool -#BuildRequires: libtool -#Requires(postun): - -#Requires(pre,post): - -#Requires(preun): - -#Requires: - -#Provides: - -#Provides: group(foo) -#Provides: user(foo) -#Obsoletes: - -#Conflicts: - -#BuildArch: noarch -#ExclusiveArch: %{ix86} +BuildRequires: esdl BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -39,11 +26,8 @@ There is no support in Wings for doing animations. %setup -q %build -%{__make} - -#%{__make} \ -# CFLAGS="%{rpmcflags}" \ -# LDFLAGS="%{rpmldflags}" +%{__make} -j1 \ + ESDL_PATH=%{_libdir}/erlang/lib/esdl %install rm -rf $RPM_BUILD_ROOT @@ -57,54 +41,6 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%pre - -%post - -%preun - -%postun - -%if %{with ldconfig} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig -%endif - -%if %{with initscript} -%post init -/sbin/chkconfig --add %{name} -%service %{name} restart - -%preun init -if [ "$1" = "0" ]; then - %service -q %{name} stop - /sbin/chkconfig --del %{name} -fi -%endif - %files %defattr(644,root,root,755) %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO - -%if 0 -# if _sysconfdir != /etc: -#%%dir %{_sysconfdir} -%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* -%attr(755,root,root) %{_bindir}/* -%{_datadir}/%{name} -%endif - -# initscript and its config -%if %{with initscript} -%attr(754,root,root) /etc/rc.d/init.d/%{name} -%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} -%endif - -#%{_examplesdir}/%{name}-%{version} - -%if %{with subpackage} -%files subpackage -%defattr(644,root,root,755) -#%doc extras/*.gz -#%{_datadir}/%{name}-ext -%endif -- 2.44.0