rpms/ftnchek/EL-6 ftnchek.spec,1.12,1.13

Orion Poplawski orion at fedoraproject.org
Thu Jul 1 17:42:52 UTC 2010


Author: orion

Update of /cvs/pkgs/rpms/ftnchek/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25829

Modified Files:
	ftnchek.spec 
Log Message:
* Mon Nov  9 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 3.3.1-11
- Update spec file and packaging to comply with Emacs add-on packaging guidelines



Index: ftnchek.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ftnchek/EL-6/ftnchek.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- ftnchek.spec	24 Jul 2009 23:16:27 -0000	1.12
+++ ftnchek.spec	1 Jul 2010 17:42:52 -0000	1.13
@@ -1,6 +1,6 @@
 Name:           ftnchek
 Version:        3.3.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Static analyzer for Fortran 77 programs
 
 Group:          Development/Tools
@@ -30,16 +30,27 @@ compiler. Prior to using ftnchek, the us
 compiles correctly.
 
 
-%package        emacs
+%package -n	emacs-ftnchek
 Summary:        Emacs support for ftnchek
 Group:          Development/Tools
+Obsoletes:	ftnchek-emacs <= 3.3.1
+Provides:	ftncheck-emacs
 Requires:       %{name} = %{version}-%{release}
-Requires:       %{_datadir}/emacs/site-lisp
+Requires:       emacs(bin) >= %{_emacs_version}
 
-%description    emacs
-%{summary}.
+%description -n emacs-ftnchek
+This package provides files enabling ftnchek support within GNU Emacs.
 
 
+%package -n	emacs-ftnchek-el
+Summary:        Elisp source files for Emacs support for ftnchek
+Group:          Development/Tools
+Requires:       emacs-%{name}  = %{version}-%{release}
+
+%description -n emacs-ftnchek-el
+This package provides Elisp source files enabling ftnchek support within GNU
+Emacs. You don't need to install this package to support ftnchek under emacs. 
+
 %prep
 %setup -q
 %patch0 -p1 -b .datadir
@@ -57,9 +68,9 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ftnchek
 %makeinstall STRIP=/bin/true datadir=$RPM_BUILD_ROOT%{_datadir}/ftnchek \
-             lispdir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
+             lispdir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ftnchek
 
 
 %clean
@@ -75,12 +86,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/dcl2inc.1*
 %{_mandir}/man1/ftnchek.1*
 
-%files emacs
-%{_datadir}/emacs/site-lisp/ftnchek.el
-%{_datadir}/emacs/site-lisp/ftnchek.elc
+%files -n emacs-ftnchek
+%{_emacs_sitelispdir}/ftnchek/ftnchek.elc
+
+%files -n emacs-ftnchek-el
+%{_emacs_sitelispdir}/ftnchek/ftnchek.el
 
 
 %changelog
+* Mon Nov  9 2009 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 3.3.1-11
+- Update spec file and packaging to comply with Emacs add-on packaging guidelines
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.3.1-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list