source: projects/specs/trunk/g/gnet2/gnet2-vl.spec @ 1989

Revision 1989, 2.3 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1Summary: a simple network library built upon GLib
2Name: gnet2
3Version: 2.0.7
4Release: 2%{?_dist_release}
5URL: http://www.gnetlibrary.org/
6Source0: http://www.gnetlibrary.org/src/gnet-%{version}.tar.gz
7License: LGPL
8Group: System Environment/Libraries
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10
11BuildRequires: glib2-devel
12
13%description
14GNet is a simple network library.  It is written in C,
15object-oriented, and built upon GLib.  It is intended to be easy to
16use and port.  GNet comes with documentation and examples.  It is
17licensed under the GNU Library General Public Licence.
18
19%package devel
20Summary: the Gnet library
21Group: Development/Libraries
22Requires: gnet2 = %{version}-%{release}
23Requires: glib2-devel
24
25%description devel
26the Gnet library
27
28%prep
29%setup -q -n gnet-%{version}
30
31%build
32%configure --with-html-dir=%{_datadir}/gtk-doc/html
33make
34
35%install
36rm -rf %{buildroot}
37%makeinstall HTML_DIR=%{buildroot}%{_datadir}/gtk-doc/html
38
39## remove unuse files
40pushd examples
41  %{__rm} -f *.o
42popd
43rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
44
45
46%clean
47rm -rf %{buildroot}
48
49%post -p /sbin/ldconfig
50
51%postun -p /sbin/ldconfig
52
53%files
54%defattr(-,root,root)
55%doc AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO examples
56%{_libdir}/libgnet-*.so.*
57
58%files devel
59%defattr(-,root,root)
60%{_datadir}/gtk-doc/html/gnet
61%{_datadir}/aclocal/gnet-2.0.m4
62%{_libdir}/pkgconfig/gnet-2.0.pc
63%{_libdir}/gnet-2.0/include/*.h
64%{_libdir}/libgnet-*a
65%{_libdir}/libgnet-*.so
66%{_includedir}/gnet-2.0
67%dir %{_libdir}/gnet-2.0
68%dir %{_libdir}/gnet-2.0/include
69
70%changelog
71* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.7-2
72- rebuilt with rpm-4.8.1 for pkg-config
73
74* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.7-1vl5
75- applied new versioning policy
76- removed *.la
77
78* Mon Aug  6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.7-0vl2
79- changed Group to System Environmet/Libraries
80- added BuildRequires: glib2-devel
81
82* Thu Apr  6 2006 IWAI, Masaharu <iwai@alib.jp> 2.0.7-0vl1
83- new upstream release
84
85* Sun May  2 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.5-0vl1
86- new upstream release
87- add %%{_libdir}/gnet-2.0{,/include} directory in devel package's %%files
88
89* Sat Jan 31 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl2
90- add Requires: gnet2-%%{version} in gnet2-devel package
91    thanks to Shaolin: [VineSeed-Plus:02077]
92
93* Wed Jan 21 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl1
94- Initial build.
95
Note: See TracBrowser for help on using the repository browser.