Browse Source

2014-11-17 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* ggz-client-libs, gtkspell: rebuilt
	* sysfsutils: updated
	


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9098 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 9 years ago
parent
commit
7b187fc7f2

+ 6 - 4
g/ggz-client-libs/ggz-client-libs-vl.spec

@@ -1,21 +1,20 @@
-
 #define _enable_ggzwrap --enable-ggzwrap
 
 Summary: Client libraries for GGZ gaming zone
 Name:    ggz-client-libs
 Version: 0.0.14.1
-Release: 2%{_dist_release}
+Release: 3%{?_dist_release}
 
 License: LGPLv2+ and GPLv2+
 Group:   System Environment/Libraries
 URL: http://www.ggzgamingzone.org/
-Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/%{version}/ggz-client-libs-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
+Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/%{version}/ggz-client-libs-%{version}.tar.gz
 Source1: ggz.modules
 # rpm macros, not sure how useful these will be
 Source2: macros.ggz
 
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: expat-devel
 BuildRequires: gettext
 BuildRequires: libggz-devel
@@ -121,6 +120,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Nov 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.0.14.1-3
+- rebuilt on current VineSeed
+
 * Thu Apr  7 2011 IWAI, Masaharu <iwai@alib.jp> 0.0.14.1-2vl6
 - build on current VineSeed
 

+ 15 - 7
g/gtkspell/gtkspell-vl.spec

@@ -1,14 +1,18 @@
 Summary: GtkSpell provides on-the-fly spell checking for GtkTextView widgets.
 Name: gtkspell
 Version: 2.0.16
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: GPL
 Group: System Environment/Libraries
 URL: http://gtkspell.sourceforge.net/
 Source0: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
-BuildRequires: aspell-devel, gtk2-devel, gtk-doc, enchant-devel
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: aspell-devel
+BuildRequires: enchant-devel
 BuildRequires: gettext
+BuildRequires: gtk-doc
+BuildRequires: gtk2-devel
 
 %description
 GtkSpell provides word-processor-style highlighting and replacement of 
@@ -17,9 +21,11 @@ misspelled word pops up a menu of suggested replacements.
 
 %package devel
 Summary: Development files for GtkSpell.
+Summary(ja): GtkSpell の開発用ファイル
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: aspell-devel,gtk2-devel, enchant-devel
+Requires: enchant-devel
+Requires: gtk2-devel
 
 %description devel
 The gtkspell-devel package provides header files and static libraries
@@ -53,13 +59,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(-,root,root,-)
-%{_datadir}/gtk-doc/html/gtkspell
-#{_libdir}/libgtkspell.a
+%{_includedir}/gtkspell-2.0
 %{_libdir}/libgtkspell.so
 %{_libdir}/pkgconfig/gtkspell-2.0.pc
-%{_includedir}/gtkspell-2.0
+%{_datadir}/gtk-doc/html/gtkspell
 
 %changelog
+* Mon Nov 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.16-3
+- rebuilt on current VineSeed
+
 * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.16-2
 - rebuilt with rpm-4.8.1 for pkg-config
 

+ 57 - 22
s/sysfsutils/sysfsutils-vl.spec

@@ -1,37 +1,59 @@
-Summary: sysfsutils, library interface to sysfs.
-Summary(ja): sysfs インタフェースライブラリおよびユーティリティ
+Summary: Utilities for interfacing with sysfs
+Summary(ja): sysfs と接続するためのユーティリティ
 Name: sysfsutils
 Version: 2.1.0
-Release: 3%{?_dist_release}
-License: GPL/LGPL
+Release: 4%{?_dist_release}
+
+License: GPLv2
 Group: Development/Tools
 
 Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
+Patch0: sysfsutils-2.0.0-redhatify.patch
+Patch1: sysfsutils-2.0.0-class-dup.patch
+Patch2: sysfsutils-2.1.0-get_link.patch
+Patch3: sysfsutils-2.1.0-manpages.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
+Requires: libsysfs = %{version}-%{release}
 
 %description
 This package's purpose is to provide a set of utilities for interfacing
 with sysfs.
 
-The library is distributed under LGPL and utilities that come with it are
-under GPL.
 
-%package devel
-Summary: Static library and headers for sysfsutils
-Summary(ja): sysfsutils のスタティックライブラリおよびヘッダファイル
+%package -n libsysfs
+Summary: Shared library for interfacing with sysfs
+Summary(ja): sysfs と接続するための共用ライブラリ
+Group: System Environment/Libraries
+License: LGPLv2+
+
+%description -n libsysfs
+Library used in handling linux kernel sysfs mounts and their various files.
+
+
+%package -n libsysfs-devel
+Summary: Static library and headers for libsysfs
+Summary(ja): libsysfs のスタティックライブラリおよびヘッダファイル
 Group: Development/Libraries
-Requires: sysfsutils = %{version}
+License: LGPLv2+
+Requires: libsysfs = %{version}-%{release}
+Obsoletes: sysfsutils-devel < %{version}-%{release}
+Provides: sysfsutils-devel = %{version}-%{release}
 
-%description devel
-sysfsutils-devel provides the header files and static libraries required
+%description -n libsysfs-devel
+libsysfs-devel provides the header files and static libraries required
 to build programs using the libsysfs API.
 
+
 %prep
 %setup -q
+%patch0 -p1 -b .redhatify
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-%configure --disable-static
+%configure --disable-static --libdir=/%{_lib}
 %__make %{?_smp_mflags}
 
 %install
@@ -40,33 +62,46 @@ rm -fr %{buildroot}
 %__make DESTDIR=$RPM_BUILD_ROOT install
 
 # remove unpackaged files
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
-find $RPM_BUILD_ROOT%{_bindir} -type f -not -name "systool" -exec rm -f \{\} \;
+rm -f $RPM_BUILD_ROOT%{_bindir}/dlist_test $RPM_BUILD_ROOT%{_bindir}/get_bus_devices_list $RPM_BUILD_ROOT%{_bindir}/get_class_dev $RPM_BUILD_ROOT%{_bindir}/get_classdev_parent $RPM_BUILD_ROOT%{_bindir}/get_device $RPM_BUILD_ROOT%{_bindir}/get_driver $RPM_BUILD_ROOT%{_bindir}/testlibsysfs $RPM_BUILD_ROOT%{_bindir}/write_attr
+rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
+%post -n libsysfs -p /sbin/ldconfig
+
+%postun -n libsysfs -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt cmd/GPL lib/LGPL
+%doc COPYING AUTHORS README NEWS CREDITS ChangeLog 
+%doc docs/libsysfs.txt cmd/GPL
 %{_bindir}/systool
-%{_libdir}/libsysfs.so.*
+%{_bindir}/get_module
 %{_mandir}/man1/systool.1*
 
-%files devel
+%files -n libsysfs
+%defattr(-,root,root)
+%doc COPYING AUTHORS README NEWS CREDITS ChangeLog 
+%doc docs/libsysfs.txt lib/LGPL
+/%{_lib}/libsysfs.so.*
+
+%files -n libsysfs-devel
 %defattr(-,root,root)
 %{_includedir}/sysfs/libsysfs.h
 %{_includedir}/sysfs/dlist.h
-%{_libdir}/libsysfs.so
-#{_libdir}/libsysfs.a
+/%{_lib}/libsysfs.so
 
 
 %changelog
+* Mon Nov 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.0-4
+- added Patch0, 1, 2 and 3 from Fedora
+- moved shared libraries into libsysfs subpackage
+- moved libraries from /usr/lib to /lib
+
 * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.1.0-3
 - rebuilt with rpm-4.8.1-3