Browse Source

upload: avogadro, eet, kdeaccessibility
NEW: libdmtx, libeina


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2784 ec354946-7b23-47d6-9f5a-488ba84defc7

inagaki 13 years ago
parent
commit
e6ac73f100

+ 10 - 1
a/avogadro/avogadro-vl.spec

@@ -6,7 +6,7 @@
 Name:           avogadro
 Summary:        An advanced molecular editor for chemical purposes
 Version:        1.0.1
-Release:        6%{?_dist_release}
+Release:        7%{?_dist_release}
 
 Group:          Applications/Editors
 License:        GPLv2
@@ -26,6 +26,7 @@ BuildRequires:  qt4-devel >= 4.5.1
 BuildRequires:  eigen2-devel >= 2.0.3
 BuildRequires:  openbabel-devel >= 2.2.2
 BuildRequires:  libboost-devel >= 1.35
+BuildRequires:  libboost-python >= 1.35
 BuildRequires:  glew-devel >= 1.5.0
 BuildRequires:  desktop-file-utils
 BuildRequires:  docbook-utils
@@ -44,6 +45,7 @@ a powerful plugin architecture.
 
 %package libs
 Summary: Shared libraries for Avogadro
+Summary(ja): Avogadro の共用ライブラリ
 Group: System Environment/Libraries
 Requires: sip
 
@@ -54,9 +56,12 @@ molecular editor Avogadro.
 
 %package devel
 Summary: Development files for Avogadro
+Summary(ja): Avogadro の開発用ファイル
 Group: Development/Libraries
 Requires: %{name}-libs = %{version}-%{release} 
 Requires: qt4-devel = %{_qt4_version}
+Requires: eigen2-devel >= 2.0.3
+Requires: glew-devel >= 1.5.0
 
 %description devel
 This package contains files to develop applications using 
@@ -138,6 +143,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/avogadro.desktop
 
 
 %changelog
+* Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-7
+- added BR: libboost-python
+- added R: glew-devel, eigen2-devel to devel package
+
 * Wed Feb 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-6
 - rebuilt with qt4-4.7.1
 - added Patch0 and 1 from Fedora

+ 25 - 7
e/eet/eet-vl.spec

@@ -1,20 +1,22 @@
 Name:           eet
 Summary:        Library for speedy data storage, retrieval, and compression
-Version:        1.1.0
-Release:        6%{?_dist_release}
+Version:        1.4.0
+Release:        1%{?_dist_release}
 
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://web.enlightenment.org/p.php?p=about/efl/eet
 
-Source0:        http://download.enlightenment.org/snapshots/2008-09-25/%{name}-%{version}.tar.bz2
+Source0:        http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  chrpath
+BuildRequires:  doxygen
+BuildRequires:  libeina-devel
 BuildRequires:  libjpeg-turbo-devel
-BuildRequires:  zlib-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
+BuildRequires:  zlib-devel
 
 %description
 Eet is a tiny library designed to write an arbitary set of chunks of
@@ -46,17 +48,29 @@ developing applications that use %{name}.
 %configure --disable-static
 make %{?_smp_mflags}
 
+pushd doc
+make doc %{?_smp_mflags}
+popd
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
 chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
 find $RPM_BUILD_ROOT -name '*.la' -delete
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libeet.so.%{version}
+
 # remove unfinished manpages
 find doc/man/man3 -size -100c -delete
-rm -f doc/man/man3/todo.3 # remove todo
+
+for l in todo %{name}.dox
+do
+    rm -f doc/man/man3/$l.3
+done 
+
+chmod -x doc/html/*
+
 install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
-install -p -m 644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
+install -Dpm0644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING COPYING-PLAIN README
+%doc AUTHORS ChangeLog COPYING README
 %{_bindir}/%{name}
 %{_libdir}/*.so.*
 
@@ -82,6 +96,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1
+- new upstream release
+- added BR: libeina-devel
+
 * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6
 - rebuild with openssl-1.0.0c
 - add BuildRequires: openssl-devel

+ 17 - 7
k/kdeaccessibility/kdeaccessibility-vl.spec

@@ -2,7 +2,7 @@ Name: kdeaccessibility
 Summary: KDE Accessibility
 Summary(ja): KDE アクセシビリティパッケージ
 Version: 4.6.0
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 
 Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdeaccessibility-%{version}.tar.bz2
 
@@ -18,11 +18,16 @@ BuildRequires: speech-dispatcher-devel
 BuildRequires: flite-devel
 BuildRequires: kdelibs4-devel >= %{version}
 BuildRequires: plasma-devel >= %{version}
+BuildRequires: soprano-devel
 BuildRequires: libXtst-devel
+BuildRequires: libXpm-devel
 Requires: %{name}-libs = %{version}-%{release}
 
 %if %{name} != "kdeaccessibility"
 Conflicts: kdeaccessibility < 4
+%else
+Obsoletes: kdeaccessibility4 < %{version}-%{release}
+Provides: kdeaccessibility4 = %{version}-%{release}
 %endif
 
 %description
@@ -37,6 +42,8 @@ Summary: Runtime libraries for %{name}
 Summary(ja): %{name} のランタイムライブラリ
 Group:   System Environment/Libraries
 Requires: kdelibs4 >= %{version}
+Obsoletes: kdeaccessibility4-libs < %{version}-%{release}
+Provides: kdeaccessibility4-libs = %{version}-%{release}
 
 %description libs
 %{summary}.
@@ -100,15 +107,15 @@ rm -rf $RPM_BUILD_ROOT
 %post
 touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
 
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
 %postun
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &> /dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
 fi
 
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
-
 %post libs -p /sbin/ldconfig
 
 %postun libs -p /sbin/ldconfig
@@ -116,15 +123,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 %post -n mono-icon-theme
 touch --no-create %{_datadir}/icons/mono &> /dev/null || :
 
+%posttrans -n mono-icon-theme
+gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
+
 %postun -n mono-icon-theme
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/mono &> /dev/null
     gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
 fi
 
-%posttrans -n mono-icon-theme
-gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
-
 
 %files
 %defattr(-,root,root)
@@ -160,6 +167,9 @@ gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
 %{_datadir}/icons/mono/
 
 %changelog
+* Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-2
+- added BR: soprano-devel, libXpm-devel
+
 * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-1
 - new upstream release
 - split monochrome icons to subpackage

+ 223 - 0
lib/libd/libdmtx/libdmtx-vl.spec

@@ -0,0 +1,223 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
+
+%global ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')
+
+Name:           libdmtx
+Summary:        Library for working with Data Matrix 2D bar-codes
+Version:        0.7.2
+Release:        5%{?_dist_release}
+
+Group:          System Environment/Libraries
+License:        LGPLv2+
+URL:            http://www.libdmtx.org/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  ImageMagick-devel
+# required for tests
+BuildRequires:  SDL_image-devel
+BuildRequires:  libGLU-devel
+BuildRequires:  libpng-devel
+# language bindings
+BuildRequires:  php5-devel
+BuildRequires:  python-devel
+BuildRequires:  ruby
+BuildRequires:  ruby-devel
+#BuildRequires:  java-1.6.0-devel
+
+
+%description
+libdmtx is open source software for reading and writing Data Matrix 2D
+bar-codes on Linux, Unix, OS X, Windows, and mobile devices. At its core
+libdmtx is a shared library, allowing C/C++ programs to use its capabilities
+without restrictions or overhead.
+
+The included utility programs, dmtxread and dmtxwrite, provide the official
+interface to libdmtx from the command line, and also serve as a good reference
+for programmers who wish to write their own programs that interact with
+libdmtx. All of the software in the libdmtx package is distributed under
+the LGPLv2 and can be used freely under these terms.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%package        utils
+Summary:        Utilities for %{name}
+Group:          Applications/System
+Requires:       %{name} = %{version}-%{release}
+
+%description    utils
+The %{name}-utils package contains utilities that use %{name}.
+
+# language bindings
+%package -n     php-libdmtx
+Summary:        PHP bindings for %{name}
+Group:          System Environment/Libraries
+License:        GPLv2+
+Requires:       %{name} = %{version}-%{release}
+Requires:       php5
+
+%description -n php-libdmtx
+The php-%{name} package contains bindings for using %{name} from PHP.
+
+%package -n     python-libdmtx
+Summary:        Python bindings for %{name}
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description -n python-libdmtx
+The python-%{name} package contains bindings for using %{name} from Python.
+
+%package -n     ruby-libdmtx
+Summary:        Ruby bindings for %{name}
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}-%{release}
+Provides:       ruby(%{name}) = %{version}
+
+%description -n ruby-libdmtx
+The ruby-%{name} package contains bindings for using %{name} from Ruby.
+
+
+%prep
+%setup -q
+
+# fix permissions
+chmod a-x wrapper/{php,python}/README
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+# temporary installation required by the language wrappers
+make install DESTDIR=/tmp
+
+# language wrappers must be built separately
+pushd wrapper
+pushd php
+phpize
+%configure --disable-static
+
+# Don't use rpath!
+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 EXTRA_CFLAGS="-I/tmp%{_includedir}" DMTX_SHARED_LIBADD="-L/tmp%{_libdir} -ldmtx"
+popd
+
+pushd python
+# fix paths
+sed -i.orig -e "s|/usr/local/include|/tmp%{_includedir}|" -e "s|/usr/local/lib|/tmp%{_libdir}|" setup.py
+python setup.py build
+chmod 0755 build/lib.*/*.so
+popd
+
+pushd ruby
+ruby extconf.rb
+make CPPFLAGS="-I/tmp%{_includedir}" LIBPATH="-L/tmp%{_libdir} -ldmtx"
+popd
+
+#pushd java
+#make LIBDMTX_LA="/tmp%{_libdir}/libdmtx.so"
+#popd
+popd
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+pushd wrapper
+pushd php
+make install INSTALL_ROOT=$RPM_BUILD_ROOT
+popd
+
+pushd python
+python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+popd
+
+pushd ruby
+make install RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_arch}
+popd
+
+#pushd java
+#popd
+popd
+
+
+%check
+make check
+pushd test
+for t in simple unit
+do
+    ./${t}_test/${t}_test
+done
+popd
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LESSER ChangeLog KNOWNBUG NEWS README README.linux TODO
+%{_libdir}/%{name}.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc
+%{_includedir}/*
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_mandir}/man3/%{name}.3*
+
+%files utils
+%defattr(-,root,root,-)
+%{_bindir}/dmtx*
+%{_mandir}/man1/dmtx*.1*
+
+%files -n php-libdmtx
+%defattr(-,root,root,-)
+%doc COPYING wrapper/php/README
+%{_libdir}/php5/*.so
+
+%files -n python-libdmtx
+%defattr(-,root,root,-)
+%doc wrapper/python/README
+%{python_sitearch}/*
+
+%files -n ruby-libdmtx
+%defattr(-,root,root,-)
+%doc wrapper/ruby/README
+%{ruby_arch}/*.so
+
+
+%changelog
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Nov 17 2010 Dan Horák <dan[at]danny.cz> 0.7.2-3
+- updated license for the php subpackage
+- run few tests
+
+* Sat May 29 2010 Dan Horák <dan[at]danny.cz> 0.7.2-2
+- added language bindigs
+
+* Wed Feb  3 2010 Dan Horák <dan[at]danny.cz> 0.7.2-1
+- initial Fedora version

+ 137 - 0
lib/libe/libeina/libeina-vl.spec

@@ -0,0 +1,137 @@
+%global _missing_doc_files_terminate_build 0
+
+Summary:	Data Type Library
+Name:		libeina
+Version:	1.0.0
+Release:	3%{?_dist_release}
+
+License:	LGPLv2+
+Group:		System Environment/Libraries
+URL:		http://www.enlightenment.org/
+
+Source:		http://download.enlightenment.org/releases/eina-%{version}.tar.gz
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:	chrpath
+BuildRequires:	pkgconfig
+BuildRequires:	doxygen
+BuildRequires:	check-devel
+
+%description
+Eina is a multi-platform library that provides optimized data types 
+and useful tools for projects.
+
+%package	devel
+Summary:	Eina headers, documentation and test programs
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
+
+%description	devel
+Headers, test programs and documentation for %{name}.
+
+%prep
+%setup -q -n eina-%{version}
+# Avoid lib64 rpaths
+%if "%{_libdir}" != "/usr/lib"
+sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
+%endif
+
+%build
+%configure --disable-static
+## Tested export for tests
+## export LD_LIBRARY_PATH=$( pwd )/src/lib/.libs/libeina.so
+
+make %{?_smp_mflags}
+make doc %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+# remove unfinished manpages
+find doc/man/man3 -size -100c -delete
+
+for l in todo %{name}.dox
+do
+ rm -f doc/man/man3/$l.3
+done 
+
+mkdir -p %{buildroot}%{_mandir}/man3
+install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3
+# remove libtool archive along with stripping
+find %{buildroot}/ -type f  -iname '*.la' -exec rm {} \;
+find %{buildroot}/ -type f  -iname '*.a' -exec rm {} \;
+
+## Can be enabled when upstream fixed the tests
+## needs --enable-tests with %%configure
+## %check
+## make check
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+# No ChangeLog included. Zero byte.
+%doc AUTHORS COPYING
+%{_libdir}/*.so.*
+#%{_libdir}/eina
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_mandir}/man3/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*
+
+%changelog
+* Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-3
+- Initial build for Vine Linux
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Jan 31 2011 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-1
+- final 1.0.0 release
+
+* Wed Dec 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta3
+- beta 3 release
+
+* Tue Nov 16 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta2
+- beta 2 release
+
+* Fri Nov 05 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta1
+- beta 1 release
+
+* Fri Jul 02 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49898-1
+- libeina 0.9.9.49898 snapshot release
+
+* Fri Jun 11 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49539-1
+- libeina 0.9.9.49539 snapshot release
+
+* Tue Feb 23 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-6
+- Disabled tests again until they are fixed
+
+* Mon Feb 22 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-5
+- Added missing BR doxygen check
+
+* Sun Feb 21 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-4
+- added Requires for -devel
+- corrected license
+- enabled tests
+
+* Fri Feb 19 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-3
+- name changed from eina-0 to libeina
+- spec fixes
+
+* Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-2
+- added missing man pages
+
+* Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-1
+- Initial Fedora release
+