[link-grammar] - unretire the package - update to recent upstream - added a new build requirement to fix the build

hannes hannes at fedoraproject.org
Sun Aug 7 05:32:25 UTC 2011


commit af5ab9b02c8171f7efcab75a8b421b12e3a0ad2e
Author: johannes lips <johannes at fedorabox.localdomain>
Date:   Sun Aug 7 07:31:19 2011 +0200

    - unretire the package
    - update to recent upstream
    - added a new build requirement to fix the build failure

 .gitignore        |    1 +
 link-grammar.spec |  156 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 158 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a1ae3b7..3383401 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 link-grammar-4.6.7.tar.gz
+/link-grammar-4.7.4.tar.gz
diff --git a/link-grammar.spec b/link-grammar.spec
new file mode 100644
index 0000000..cf17d18
--- /dev/null
+++ b/link-grammar.spec
@@ -0,0 +1,156 @@
+Summary: A Grammar Checking library
+Name: link-grammar
+Version: 4.7.4
+Release: 1%{?dist}
+Group: System Environment/Libraries
+License: BSD
+Source: http://www.abisource.com/downloads/link-grammar/%{version}/link-grammar-%{version}.tar.gz
+URL: http://abisource.com/projects/link-grammar/
+BuildRequires: aspell-devel, java-devel, libgcj-devel, jpackage-utils, libedit-devel, ant
+
+%description
+A library that can perform grammar checking.
+
+%package devel
+Summary: Support files necessary to compile applications with liblink-grammar
+Group: Development/Libraries
+Requires: link-grammar = %{version}-%{release}
+
+%description devel
+Libraries, headers, and support files needed for using liblink-grammar.
+
+%package java
+Summary: Java libraries for liblink-grammar
+Group: Development/Libraries
+Requires: java >= 1:1.6.0
+Requires: jpackage-utils
+Requires: link-grammar = %{version}-%{release}
+
+%description java
+Java libraries for liblink-grammar
+
+%package java-devel
+Summary: Support files necessary to compile Java applications with liblink-grammar
+Group: Development/Libraries
+Requires: link-grammar-java = %{version}-%{release}
+Requires: link-grammar-devel = %{version}-%{release}
+
+%description java-devel
+Libraries for developing Java components using liblink-grammar.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static --enable-pthreads
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+#make
+# currently the build system can not handle smp_flags properly
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS LICENSE README ChangeLog
+%{_bindir}/*
+%{_libdir}/liblink-grammar.so.*
+%{_datadir}/link-grammar
+%{_mandir}/man1/*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/liblink-grammar.so
+%{_libdir}/pkgconfig/link-grammar.pc
+%{_includedir}/link-grammar
+
+%files java
+%defattr(-,root,root,-)
+%{_libdir}/liblink-grammar-java.so.*
+%{_javadir}/linkgrammar*.jar
+
+%files java-devel
+%defattr(-,root,root,-)
+%{_libdir}/liblink-grammar-java.so
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post java -p /sbin/ldconfig
+%postun java -p /sbin/ldconfig
+
+%changelog
+* Tue Aug 02 2011 Johannes Lips <Johannes.Lips at googlemail.com> - 4.7.4-1
+- Update to recent upstream version
+- added libgcj-devel as build requirement
+
+* Fri May 28 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 4.6.7-3
+- fix BuildRequires
+
+* Fri May 28 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 4.6.7-2
+- have the java-devel package Require the -devel package
+
+* Fri May 28 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 4.6.7-1
+- update to 4.6.7
+- drop static libs
+- get rid of rpath
+- fix man page ownership
+- add java subpackages
+- fix defattr invocations
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.3.5-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.3.5-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa at redhat.com> 4.3.5-3
+- fix license tag
+
+* Thu Jul 10 2008 Marc Maurer <uwog at abisource.com> 4.3.5-2
+- Move the man-page from -devel to the main package
+
+* Thu Jul 10 2008 Marc Maurer <uwog at abisource.com> 4.3.5-1
+- New upstream version, fixes bug 434650
+- Update URL
+- Package man-page
+
+* Wed Feb 20 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 4.2.5-2
+- Autorebuild for GCC 4.3
+
+* Mon Nov 12 2007 Marc Maurer <uwog at uwog.net> 4.2.5-1
+- New upstream version, fixes bug 371221.
+
+* Mon Sep 11 2006 Marc Maurer <uwog at abisource.com> 4.2.2-2.fc6
+- Rebuild for FC6
+
+* Wed Apr 12 2006 Marc Maurer <uwog at abisource.com> 4.2.2-1
+- New upstream version
+
+* Mon Apr 10 2006 Marc Maurer <uwog at abisource.com> 4.2.1-2
+- Rebuild
+
+* Mon Apr 10 2006 Marc Maurer <uwog at abisource.com> 4.2.1-1
+- New upstream version
+
+* Wed Feb 15 2006 Marc Maurer <uwog at abisource.com> 4.1.3-4
+- Rebuild for Fedora Extras 5
+- Use %%{?dist} in the release name
+
+* Wed Aug 10 2005 Marc Maurer <uwog at abisource.com> - 4.1.3-3
+- Set the buildroot to the standard Fedora buildroot
+- Make the package own the %%{_datadir}/link-grammar
+  directory (thanks go to Aurelien Bompard for both issues)
+
+* Wed Aug 10 2005 Marc Maurer <uwog at abisource.com> - 4.1.3-2
+- Remove epoch
+- Make rpmlint happy
+
+* Sun Aug 7 2005 Marc Maurer <uwog at abisource.com> - 1:4.1.3-1
+- Initial version
diff --git a/sources b/sources
new file mode 100644
index 0000000..c096dcb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e90e702a953641713a1292db20677bd2  link-grammar-4.7.4.tar.gz


More information about the scm-commits mailing list