rpms/fmt-ptrn/devel fmt-ptrn.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
W. Michael Petullo (mikep)
fedora-extras-commits at redhat.com
Sun Dec 23 19:23:31 UTC 2007
Author: mikep
Update of /cvs/extras/rpms/fmt-ptrn/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20952/devel
Modified Files:
.cvsignore sources
Added Files:
fmt-ptrn.spec
Log Message:
Initial release.
--- NEW FILE fmt-ptrn.spec ---
Summary: A simple template system
Name: fmt-ptrn
Version: 1.3.13
Release: 1%{?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
%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
strings in a template with appropriate values to create a new file.
For example, given the following template:
// FILE: %%(FILE)
// AUTHOR: %%(FULLNAME)
// DATE: %%(DATE)
// Copyright (C) 1999 %%(FULLNAME) %%(EMAIL)
// All rights reserved.
nf will create:
// FILE: foo.cpp
// AUTHOR: W. Michael Petullo
// DATE: 11 September 1999
// Copyright (C) 1999 W. Michael Petullo new at flyn.org
// All rights reserved.
on my computer.
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.
%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
%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.
%package java
Summary: Files needed to develop applications using fmt-ptrn's Java classes
Group: Development/Libraries
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.
%post java -p /sbin/ldconfig
%postun java -p /sbin/ldconfig
%prep
%setup -q
%build
%configure --disable-static
# FIXME: disable SMP flags, build fails on Java code for some reason.
make # %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrn.la
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
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/libnewfmt-ptrn.so.*
%{_libdir}/libnewtemplate.so.*
%{_datadir}/fmt-ptrn
%{_mandir}/*/*
%doc AUTHORS COPYING ChangeLog README
%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
- 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).
* 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
- BuildRequires Java tools.
* 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
- Use _libdir macro for rm -rf of .a and .la (fix 64-bit build.)
* Thu Sep 07 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.7-3
- Rebuild for Fedora Extras 6.
* Fri Feb 17 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.7-2
- Rebuild for Fedora Extras 5.
* Thu Feb 02 2006 W. Michael Petullo <mike[@]flyn.org> - 1.3.7-1
- Updated to new 1.3.7.
* 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
- 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.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fmt-ptrn/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 23 Dec 2007 18:12:08 -0000 1.1
+++ .cvsignore 23 Dec 2007 19:22:57 -0000 1.2
@@ -0,0 +1 @@
+fmt-ptrn-1.3.13.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fmt-ptrn/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 23 Dec 2007 18:12:08 -0000 1.1
+++ sources 23 Dec 2007 19:22:57 -0000 1.2
@@ -0,0 +1 @@
+a6928201749a0a93c776094fefef900b fmt-ptrn-1.3.13.tar.gz
More information about the fedora-extras-commits
mailing list