rpms/fmt-ptrn/F-8 fmt-ptrn.spec,1.1,1.2
W. Michael Petullo (mikep)
fedora-extras-commits at redhat.com
Mon May 26 01:47:30 UTC 2008
Author: mikep
Update of /cvs/extras/rpms/fmt-ptrn/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10674
Modified Files:
fmt-ptrn.spec
Log Message:
Fix %doc placement (BZ #448267)
Index: fmt-ptrn.spec
===================================================================
RCS file: /cvs/extras/rpms/fmt-ptrn/F-8/fmt-ptrn.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fmt-ptrn.spec 23 Dec 2007 19:28:13 -0000 1.1
+++ fmt-ptrn.spec 26 May 2008 01:46:42 -0000 1.2
@@ -1,15 +1,16 @@
-Summary: A simple template system
Name: fmt-ptrn
-Version: 1.3.13
-Release: 1%{?dist}
+Version: 1.3.17
+Release: 2%{?dist}
License: GPLv2+
-Group: Development/Tools
Source: http://www.flyn.org/projects/%name/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.flyn.org
-BuildRequires: glib2-devel, zlib-devel, java-1.4.2-gcj-compat-devel, libgcj-devel, junit
+Summary: A simple template system
+Group: Development/Tools
+Requires: zlib
+BuildRequires: glib2-devel, zlib-devel, java-1.5.0-gcj-devel, libgcj-devel, junit
-%description
+%description
New is a template system, especially useful in conjunction with a
simple text editor such as vi. The user maintains templates which
may contain format strings. At run time, nf replaces the format
@@ -24,9 +25,9 @@
// Copyright (C) 1999 %%(FULLNAME) %%(EMAIL)
// All rights reserved.
-
nf will create:
+
// FILE: foo.cpp
// AUTHOR: W. Michael Petullo
// DATE: 11 September 1999
@@ -37,22 +38,46 @@
The program understands plaintext or gziped template files.
-Building fmt-ptrn also creates a shared library, libnewtemplate, which
-allows the programmer access to nf's functionality.
+The fmt-ptrn system also provides a shared library which allows a
+programmer access to nf's functionality. The system was developed to
+be light and fast. Its only external dependencies are the C library,
+glib2 and zlib.
+
+
+
+%files
+%defattr(-, root, root, -)
+%{_bindir}/*
+%{_libdir}/libnewfmt-ptrn.so.1
+%{_libdir}/libnewfmt-ptrn.so.%{PACKAGE_VERSION}
+%{_libdir}/libnewtemplate.so.1
+%{_libdir}/libnewtemplate.so.%{PACKAGE_VERSION}
+%{_datadir}/fmt-ptrn
+%{_mandir}/*/*
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README FAQ
+
%package devel
Summary: Files needed to develop applications using fmt-ptrn's libraries
Group: Development/Libraries
-Requires: fmt-ptrn = %{version}-%{release}
-Requires: glib2-devel, zlib-devel
+Requires: fmt-ptrn = %{version}-%{release}, glib2-devel, zlib-devel
%description devel
-New is a template system, especially useful in conjunction with a
-simple text editor such as vi. The user maintains templates which may
-contain format strings. At run time, nf replaces the format strings in
-a template with appropriate values to create a new file. This package
-provides the libraries, include files, and other resources needed for
-developing applications using fmt-ptrn's API.
+New is a template system, especially useful in conjunction with a
+simple text editor such as vi. The user maintains templates which
+may contain format strings. At run time, nf replaces the format
+strings in a template with appropriate values to create a new file.
+This package provides the libraries, include files, and other
+resources needed for developing applications using fmt-ptrn's API.
+
+
+
+%files devel
+%defattr(-, root, root, -)
+%{_libdir}/pkgconfig/fmt-ptrn.pc
+%{_includedir}/fmt-ptrn
+%{_libdir}/libnewfmt-ptrn.so
+%{_libdir}/libnewtemplate.so
%package java
Summary: Files needed to develop applications using fmt-ptrn's Java classes
@@ -60,16 +85,20 @@
Requires: fmt-ptrn = %{version}-%{release}
%description java
-New is a template system, especially useful in conjunction with a
-simple text editor such as vi. The user maintains templates which may
-contain format strings. At run time, nf replaces the format strings in
-a template with appropriate values to create a new file. This package
-provides the resources needed for developing applications using fmt-ptrn's
-Java classes.
+New is a template system, especially useful in conjunction with a
+simple text editor such as vi. The user maintains templates which
+may contain format strings. At run time, nf replaces the format
+strings in a template with appropriate values to create a new file.
+This package provides the resources needed for developing applications
+using fmt-ptrn's Java classes.
-%post java -p /sbin/ldconfig
-%postun java -p /sbin/ldconfig
+
+%files java
+%defattr(-, root, root, -)
+%{_libdir}/libnewfmt-ptrnjni.so*
+%{_libdir}/libnewfmt-ptrnjava.so*
+%{_datadir}/java/*
%prep
@@ -78,9 +107,8 @@
%build
-%configure --disable-static
-# FIXME: disable SMP flags, build fails on Java code for some reason.
-make # %{?_smp_mflags}
+ %configure --disable-static
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@@ -89,75 +117,88 @@
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrnjni.la
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrnjava.la
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewtemplate.la
-
# Delete the following 2 lines for building Java:
#rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrnjni.*
#rm -f ${RPM_BUILD_ROOT}%{_datadir}/java/libnewfmt-ptrnjava.jar
+
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+java -p /sbin/ldconfig
-%files
-%defattr(-,root,root,-)
-%{_bindir}/*
-%{_libdir}/libnewfmt-ptrn.so.*
-%{_libdir}/libnewtemplate.so.*
-%{_datadir}/fmt-ptrn
-%{_mandir}/*/*
-%doc AUTHORS COPYING ChangeLog README
+%postun
+java -p /sbin/ldconfig
-%files devel
-%defattr(-, root, root)
-%{_libdir}/pkgconfig/fmt-ptrn.pc
-%{_includedir}/fmt-ptrn
-%{_libdir}/libnewfmt-ptrn.so
-%{_libdir}/libnewtemplate.so
-%files java
-%defattr(-, root, root)
-%{_libdir}/libnewfmt-ptrnjni.so*
-%{_libdir}/libnewfmt-ptrnjava.so*
-%{_datadir}/java/*
%changelog
-* Sat Dec 22 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.12-1
+* Sun May 25 2008 W. Michael Petullo <mike[@]flyn.org> - 1.3.17-2
+ - Fixed placement of %%doc in RPM specification.
+
+* Wed Apr 02 2008 W. Michael Petullo <mike[@]flyn.org> - 1.3.17-1
+ - Updated to fmt-ptrn 1.3.17.
+
+* Tue Apr 01 2008 W. Michael Petullo <mike[@]flyn.org> - 1.3.16-1
+ - Updated to fmt-ptrn 1.3.16, should fix ppc64 build.
+
+* Tue Apr 01 2008 W. Michael Petullo <mike[@]flyn.org> - 1.3.15-1
+ - Updated to fmt-ptrn 1.3.15.
+
+* Tue Feb 12 2008 W. Michael Petullo <mike[@]flyn.org> - 1.3.14-1
+ - Updated to new 1.3.14.
+
+* Mon Feb 11 2008 W. Michael Petullo <mike[@]flyn.org> - 1.3.13-2
+ - Update to use java-1.5.0-gcj-devel.
+
+* Sat Dec 22 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.13-1
- Updated to new 1.3.13.
+
- License GPLv2+.
+
- Update make install command.
* Thu Dec 13 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.12-1
- Updated to new 1.3.12.
+
- Change package name to fmt-ptrn.
* Mon Oct 02 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.11-2
- Don't build static libraries.
* Tue Aug 21 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.11-1
- - Updated to new 1.3.11 (update new.pc).
+ - Updated to fmt-ptrn 1.3.11.
* Sun Aug 19 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.10-2
- Don't install INSTALL.
+
- Another %% fix.
+
- Run ldconfig for java package.
* Sat Aug 18 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.10-1
- Updated to new 1.3.10.
+
- Change license to GPLv2.
+
- Use %% in ChangeLog.
+
- Don't use %%makeinstall.
+
- deffattr(-,root,root,-).
+
- Don't install FmtPtrnTest.
+
- Don't use SMP build flags for now.
-
+
* Tue Aug 14 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.9-2
- Fix build (junit.o should not be distributed.)
* Sun Jul 29 2007 W. Michael Petullo <mike[@]flyn.org> - 1.3.9-1
- Updated to new 1.3.9.
+
- Build the Java package.
* Sun Sep 10 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.8-2
@@ -165,6 +206,7 @@
* Sun Sep 10 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.8-1
- Updated to new 1.3.8.
+
- Create new Java package, comment out for now.
* Thu Sep 07 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.7-4
@@ -182,14 +224,24 @@
* Wed Feb 01 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.6-1
- Updated to new 1.3.6.
-* Sat Dec 24 2005 W. Michael Petullo <mike[@]flyn.org> - 1.3.5-3
+* Sat Dec 24 2005 <W. Michael Petullo> - 1.3.5-3
- Add %%defattr for %%files devel.
* Tue Dec 13 2005 W. Michael Petullo <mike[@]flyn.org> - 1.3.5-2
- Broke out -devel package.
+
- Simplifies %%files block.
+
- Don't use %%doc %%{_mandir}.
+
- No empty NEWS or FAQ.
* Sun Dec 11 2005 W. Michael Petullo <mike[@]flyn.org> - 1.3.5-1
- Updated to new 1.3.5.
+
+* Sun Dec 11 2005 W. Michael Petullo <mike[@]flyn.org> - 1.3.5-1
+ - Updated to new 1.3.5.
+
+
+
+
More information about the scm-commits
mailing list