123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- Summary: a simple network library built upon GLib
- Name: gnet2
- Version: 2.0.8
- Release: 1%{?_dist_release}
- URL: http://live.gnome.org/GNetLibrary
- Source0: http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/gnet-%{version}.tar.bz2
- License: LGPL
- Group: System Environment/Libraries
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: glib2-devel
- %description
- GNet is a simple network library. It is written in C,
- object-oriented, and built upon GLib. It is intended to be easy to
- use and port. GNet comes with documentation and examples. It is
- licensed under the GNU Library General Public Licence.
- %package devel
- Summary: the Gnet library
- Group: Development/Libraries
- Requires: gnet2 = %{version}-%{release}
- Requires: glib2-devel
- %description devel
- the Gnet library
- %prep
- %setup -q -n gnet-%{version}
- %build
- %configure --with-html-dir=%{_datadir}/gtk-doc/html
- make
- %install
- rm -rf %{buildroot}
- %makeinstall HTML_DIR=%{buildroot}%{_datadir}/gtk-doc/html
- ## remove unuse files
- pushd examples
- %{__rm} -f *.o
- popd
- rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
- rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
- %clean
- rm -rf %{buildroot}
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root)
- %doc AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO examples
- %{_libdir}/libgnet-*.so.*
- %files devel
- %defattr(-,root,root)
- %{_datadir}/gtk-doc/html/gnet
- %{_datadir}/aclocal/gnet-2.0.m4
- %{_libdir}/pkgconfig/gnet-2.0.pc
- %{_libdir}/gnet-2.0/include/*.h
- %{_libdir}/libgnet-*.so
- %{_includedir}/gnet-2.0
- %dir %{_libdir}/gnet-2.0
- %dir %{_libdir}/gnet-2.0/include
- %changelog
- * Sun Dec 12 2010 IWAI, Masaharu <iwai@alib.jp> 2.0.8-1
- - new upstream release
- - update URL: upstream moved
- - update Source0 URL: upstream moved
- - removed *.a from devel sub package
- * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.7-2
- - rebuilt with rpm-4.8.1 for pkg-config
- * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.7-1vl5
- - applied new versioning policy
- - removed *.la
- * Mon Aug 6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.7-0vl2
- - changed Group to System Environmet/Libraries
- - added BuildRequires: glib2-devel
- * Thu Apr 6 2006 IWAI, Masaharu <iwai@alib.jp> 2.0.7-0vl1
- - new upstream release
- * Sun May 2 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.5-0vl1
- - new upstream release
- - add %%{_libdir}/gnet-2.0{,/include} directory in devel package's %%files
- * Sat Jan 31 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl2
- - add Requires: gnet2-%%{version} in gnet2-devel package
- thanks to Shaolin: [VineSeed-Plus:02077]
- * Wed Jan 21 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl1
- - Initial build.
|