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

Revision 521, 2.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: a simple network library built upon GLib
2Name: gnet2
3Version: 2.0.7
4Release: 1%{?_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* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.7-1vl5
72- applied new versioning policy
73- removed *.la
74
75* Mon Aug  6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.7-0vl2
76- changed Group to System Environmet/Libraries
77- added BuildRequires: glib2-devel
78
79* Thu Apr  6 2006 IWAI, Masaharu <iwai@alib.jp> 2.0.7-0vl1
80- new upstream release
81
82* Sun May  2 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.5-0vl1
83- new upstream release
84- add %%{_libdir}/gnet-2.0{,/include} directory in devel package's %%files
85
86* Sat Jan 31 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl2
87- add Requires: gnet2-%%{version} in gnet2-devel package
88    thanks to Shaolin: [VineSeed-Plus:02077]
89
90* Wed Jan 21 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl1
91- Initial build.
92
Note: See TracBrowser for help on using the repository browser.