Browse Source

NEW: Judy, libstroke

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1219 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 years ago
parent
commit
1d4728a27c
2 changed files with 336 additions and 0 deletions
  1. 131 0
      J/Judy/Judy-vl.spec
  2. 205 0
      lib/libs/libstroke/libstroke-vl.spec

+ 131 - 0
J/Judy/Judy-vl.spec

@@ -0,0 +1,131 @@
+Name:           Judy
+Version:        1.0.4
+Release:        7%{?_dist_release}
+Summary:        General purpose dynamic array
+
+Group:          System Environment/Libraries
+# The source code itself says:
+# "GNU Lesser General Public License as published by the
+#  Free Software Foundation; either version 2 of the License,
+#  or (at your option) any later version."
+# This will probably change to LGPLv2 in a future upstream release,
+# but until then, LGPLv2+ is the proper license.  Confirmed
+# with upstream on 2008/11/28.
+License:        LGPLv2+
+URL:            http://sourceforge.net/projects/judy/
+Source0:        http://downloads.sourceforge.net/judy/Judy-%{version}.tar.gz
+Source1:	README.Fedora
+# Make tests use shared instead of static libJudy.
+Patch0:		Judy-1.0.4-test-shared.patch
+# The J1* man pages were incorrectly being symlinked to Judy, rather
+# than Judy1.  This patch corrects that.  Submitted upstream 2008/11/27.
+Patch1:		Judy-1.0.4-fix-Judy1-mans.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+
+#BuildRequires:
+#Requires:       
+
+%description
+Judy is a C library that provides a state-of-the-art core technology
+that implements a sparse dynamic array. Judy arrays are declared
+simply with a null pointer. A Judy array consumes memory only when it
+is populated, yet can grow to take advantage of all available memory
+if desired. Judy's key benefits are scalability, high performance, and
+memory efficiency. A Judy array is extensible and can scale up to a
+very large number of elements, bounded only by machine memory. Since
+Judy is designed as an unbounded array, the size of a Judy array is
+not pre-allocated but grows and shrinks dynamically with the array
+population.
+
+
+%package devel
+Summary:	Development libraries and headers for Judy
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+This package contains the development libraries and header files
+for developing applications that use the Judy library.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .test-shared
+%patch1 -p1 -b .fix-Judy1-mans
+cp -p %{SOURCE1} .
+
+
+%build
+%configure --disable-static
+make 
+#%{?_smp_mflags}
+# fails to compile properly with parallel make:
+# http://sourceforge.net/tracker/index.php?func=detail&aid=2129019&group_id=55753&atid=478138
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+# get rid of static libs and libtool archives
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{a,la}
+# clean out zero length and generated files from doc tree
+rm -rf doc/man
+rm -f doc/Makefile* doc/ext/README_deliver
+[ -s doc/ext/COPYRIGHT ] || rm -f doc/ext/COPYRIGHT
+[ -s doc/ext/LICENSE ] || rm -f doc/ext/LICENSE
+
+
+%check
+cd test
+./Checkit
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README README.Fedora
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc
+%{_libdir}/*.so
+%{_includedir}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.4-7
+- Initial build for Vine Linux
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Dec 13 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-4
+- for Judy1 man page fix, patch Makefile.{am,in} instead of
+  relying on autotools to regenerate the latter.
+- Add README.Fedora with upstream's license explanation.
+
+* Thu Nov 30 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-3
+- fix Judy1 man page symlinks
+- use valid tag License: LGPLv2+ confirmed with upstream
+- use version macro in Source0
+- remove Makefiles from installed doc tree
+
+* Thu Nov 27 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-2
+- patch tests to run with shared library
+- run tests in check section
+
+* Sun Oct 05 2008 Charles R. Anderson <cra@wpi.edu> 1.0.4-1
+- Initial package for Fedora

+ 205 - 0
lib/libs/libstroke/libstroke-vl.spec

@@ -0,0 +1,205 @@
+Name:              libstroke
+Version:           0.5.1
+Release:           24%{?_dist_release}
+
+Summary:           A stroke interface library
+License:           GPLv2
+URL:               http://www.etla.net/%{name}/
+
+Source:            http://www.etla.net/%{name}/%{name}-%{version}.tar.gz
+Group:             System Environment/Libraries
+
+BuildRoot:         %{_tmppath}/%{name}-%{version}-root
+BuildRequires:     gtk+-devel
+BuildRequires:     libtool
+BuildRequires:     pkgconfig
+
+Patch0:            libstroke-aclocal.patch
+Patch1:            libstroke-multilib.patch
+
+
+%description
+LibStroke is a stroke interface library.  Strokes are motions
+of the mouse that can be interpreted by a program as a command.
+
+%package -n %{name}-devel
+Summary:           Development files for the libstroke library
+Group:             Development/Libraries
+Requires:          %{name} = %{version}-%{release}
+Requires:          automake
+
+%description -n %{name}-devel
+Development files for the libstroke library.
+
+
+%package -n libgstroke
+Summary:           Optional libgstroke files
+Group:             System Environment/Libraries
+
+%description -n libgstroke
+GNOME version of LibStroke (libgstroke).
+LibStroke is a stroke interface library.  Strokes are motions
+of the mouse that can be interpreted by a program as a command.
+
+%package -n libgstroke-devel
+Summary:           Development files for the libstroke library
+Group:             Development/Libraries
+Requires:          libgstroke = %{version}-%{release}
+Requires:          %{name} = %{version}-%{release}
+Requires:          automake
+
+%description -n libgstroke-devel
+Development files for the libgstroke library.
+
+
+%package -n javastroke
+Summary:           Optional java files
+Group:             System Environment/Libraries
+Requires:          %{name} = %{version}-%{release}
+
+%description -n javastroke
+Java interface for stroke and example application
+
+%prep
+%setup -q
+
+%patch0 -p1 -b .aclocal
+%patch1 -p1 -b .multilib
+
+#if 0%{?fedora} < 11
+#cp -p %{_datadir}/libtool/config.sub .
+#cp -p %{_datadir}/libtool/config.guess .
+#else
+cp -p %{_datadir}/libtool/config/config.sub .
+cp -p %{_datadir}/libtool/config/config.guess .
+#endif
+
+%build
+%configure \
+    --disable-static \
+    --with-x=yes
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make INSTALL="%{__install} -p" install DESTDIR=%{buildroot}
+
+mkdir -p %{buildroot}%{_datadir}/stroke/java
+cp -p javastroke/*.java  %{buildroot}%{_datadir}/stroke/java
+
+
+rm %{buildroot}%{_libdir}/*.la
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%post -n libgstroke -p /sbin/ldconfig
+
+%postun -n libgstroke -p /sbin/ldconfig
+
+
+%files -n %{name}
+%defattr(-,root,root)
+%doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
+%{_libdir}/libstroke.so.*
+
+%files -n %{name}-devel
+%defattr(-,root,root)
+%doc doc/standard_strokes*
+%{_datadir}/aclocal/libstroke.m4
+%{_libdir}/libstroke.so
+%{_includedir}/stroke.h
+
+%files -n libgstroke
+%defattr(-,root,root)
+%doc README COPYRIGHT ChangeLog NEWS AUTHORS TODO CREDITS
+%{_libdir}/libgstroke.so.*
+
+%files -n libgstroke-devel
+%defattr(-,root,root)
+%doc README.libgstroke
+%{_datadir}/aclocal/libgstroke.m4
+%{_libdir}/libgstroke.so
+%{_includedir}/gstroke.h
+
+%files -n javastroke
+%defattr(-,root,root)
+%doc javastroke/README
+%{_datadir}/stroke/
+
+
+%Changelog
+* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.1-24
+- Initial build for Vine Linux
+
+* Mon Dec 29 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-21
+- fix for EL-5 build; pdgconfig as BR
+
+* Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-20
+- fix for rawhide's libtool 2.2.6
+
+* Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-19
+- rebuild for proper tagging
+
+* Sat Dec 20 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-18
+- fix for x86_64 build fix RHBZ # 465030
+
+* Mon Jun 16 2008 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-17
+- Bugfix 449516 FTBFS libstroke-0.5.1-17.fc9
+
+* Thu Aug 23 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-16
+- mass rebuild for fedora 8 - ppc32
+
+* Tue Jun 26 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-15
+- patch for multilib #241448
+
+* Thu Mar 01 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-14
+- patch for underquoted definitions #226886
+
+* Mon Feb 26 2007 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-13
+- Fixed multilibs issues for rawhide
+
+* Fri Sep 01 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-12
+- Removed automake as BR
+
+* Fri Sep 01 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-11
+- fixed ownership of directories
+
+* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-10
+- Removed duplicates
+
+* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-9
+- Removed "conflicts: libstroke-devel"
+
+* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-8
+- fixed ownership of directories
+
+* Wed Aug 30 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-7
+- rebuilt for FC5 and later with minor fixes
+
+* Tue Aug 29 2006 Chitlesh Goorah <chitlesh@fedoraproject.org> - 0.5.1-6
+- rebuilt for FC5 and later with minor fixes
+
+* Sun Apr 2 2006 Wojciech Kazubski <wk at ire.pw.edu.pl> - 0.5.1-5
+- rebuilt for FC5,
+- specfile cleanups
+
+* Sun Jun 19 2005 Wojciech Kazubski <wk at ire.pw.edu.pl>
+- rebuilt for Fedora Core 4
+
+* Thu May 5 2005 Wojciech Kazubski <wk at ire.pw.edu.pl>
+- re-divided
+
+* Sat Dec 11 2004 Wojciech Kazubski <wk at ire.pw.edu.pl>
+- rebuilt for Fedora Core 3
+
+* Tue Feb 4 2003 Wojciech Kazubski <wk at ire.pw.edu.pl>
+- libstroke-gnome splited.
+
+* Wed Dec 19 2001 Wojciech Kazubski <wk at ire.pw.edu.pl>
+- first RedHat version.