SPECS: Gorm.spec - 1.2.2 - Set up for new dir layout

aredridel aredridel at pld-linux.org
Sun Nov 18 03:52:30 CET 2007


Author: aredridel                    Date: Sun Nov 18 02:52:30 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.2.2
- Set up for new dir layout

---- Files affected:
SPECS:
   Gorm.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/Gorm.spec
diff -u SPECS/Gorm.spec:1.25 SPECS/Gorm.spec:1.26
--- SPECS/Gorm.spec:1.25	Mon Feb 12 22:21:30 2007
+++ SPECS/Gorm.spec	Sun Nov 18 03:52:25 2007
@@ -2,22 +2,20 @@
 Summary:	Graphic Object Relationship modeler
 Summary(pl.UTF-8):	Graficzny modeler zależności obiektów
 Name:		Gorm
-Version:	1.1.0
+Version:	1.2.2
 Release:	1
 License:	GPL
 Group:		X11/Development/Tools
 Source0:	ftp://ftp.gnustep.org/pub/gnustep/dev-apps/gorm-%{version}.tar.gz
-# Source0-md5:	4eef5a043c6c07ca7269add9ee286b38
+# Source0-md5:	4ea0658d5fa4fc1e38baa0846d05b1ac
 Patch0:		%{name}-link.patch
-URL:		http://www.gnustep.org/experience/Gorm.html
+URL:		http:/www.gnustep.org/experience/Gorm.html
 BuildRequires:	gnustep-base-devel >= 1.13.0
 BuildRequires:	gnustep-gui-devel >= 0.11.0
 Requires:	gnustep-base >= 1.13.0
 Requires:	gnustep-gui >= 0.11.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix         /usr/%{_lib}/GNUstep
-
 %description
 Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
 GNUstep Object Relationship Modeler). It is a clone of the NeXTstep
@@ -47,7 +45,7 @@
 %patch0 -p1
 
 %build
-export GNUSTEP_MAKEFILES=%{_prefix}/System/Library/Makefiles
+export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
 export GNUSTEP_FLATTENED=yes
 %{__make} \
 	OPTFLAG="%{rpmcflags}" \
@@ -55,11 +53,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-export GNUSTEP_MAKEFILES=%{_prefix}/System/Library/Makefiles
+export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
 export GNUSTEP_FLATTENED=yes
 
 %{__make} install \
-	GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,29 +68,27 @@
 %files
 %defattr(644,root,root,755)
 %doc ANNOUNCE ChangeLog NEWS README TODO
-
-%dir %{_prefix}/System/Applications/Gorm.app
-%attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/Gorm
-%dir %{_prefix}/System/Applications/Gorm.app/Resources
-%{_prefix}/System/Applications/Gorm.app/Resources/*.desktop
-%{_prefix}/System/Applications/Gorm.app/Resources/*.plist
-%{_prefix}/System/Applications/Gorm.app/Resources/*.tiff
-%dir %{_prefix}/System/Applications/Gorm.app/Resources/*.palette
-%dir %{_prefix}/System/Applications/Gorm.app/Resources/English.lproj
-%{_prefix}/System/Applications/Gorm.app/Resources/English.lproj/*.gorm
-%{_prefix}/System/Applications/Gorm.app/Resources/*.palette/Resources
-%attr(755,root,root) %{_prefix}/System/Applications/Gorm.app/Resources/*.palette/[0-4]*
-%{_prefix}/System/Applications/Gorm.app/library_paths.openapp
-
-%{_prefix}/System/Library/Libraries/libGorm*.so.*
+%attr(755,root,root) %{_bindir}/Gorm
+%dir %{_libdir}/GNUstep/Applications/Gorm.app
+%attr(755,root,root) %{_libdir}/GNUstep/Applications/Gorm.app/Gorm
+%dir %{_libdir}/GNUstep/Applications/Gorm.app/Resources
+%{_libdir}/GNUstep/Applications/Gorm.app/Resources/*.desktop
+%{_libdir}/GNUstep/Applications/Gorm.app/Resources/*.plist
+%{_libdir}/GNUstep/Applications/Gorm.app/Resources/*.tiff
+%dir %{_libdir}/GNUstep/Applications/Gorm.app/Resources/*.palette
+%dir %{_libdir}/GNUstep/Applications/Gorm.app/Resources/English.lproj
+%{_libdir}/GNUstep/Applications/Gorm.app/Resources/English.lproj/*.gorm
+%{_libdir}/GNUstep/Applications/Gorm.app/Resources/*.palette/Resources
+%attr(755,root,root) %{_libdir}/GNUstep/Applications/Gorm.app/Resources/*.palette/[0-4]*
+%attr(755,root,root) %{_libdir}/libGorm*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%{_prefix}/System/Library/Headers/GormCore
-%{_prefix}/System/Library/Headers/GormObjCHeaderParser
-%{_prefix}/System/Library/Headers/GormPrefs
-%{_prefix}/System/Library/Headers/InterfaceBuilder
-%{_prefix}/System/Library/Libraries/libGorm*.so
+%{_includedir}/GormCore
+%{_includedir}/GormObjCHeaderParser
+%{_includedir}/GormPrefs
+%{_includedir}/InterfaceBuilder
+%{_libdir}/libGorm*.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -100,6 +96,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2007-11-18 02:52:25  aredridel
+- 1.2.2
+- Set up for new dir layout
+
 Revision 1.25  2007-02-12 21:21:30  glen
 - tabs in preamle
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/Gorm.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list