source: projects/specs/branches/6/g/gnet2/gnet2-vl.spec @ 2338

Revision 2338, 2.5 KB checked in by iwaim, 13 years ago (diff)

gnet2 2.0.8-1

Line 
1Summary: a simple network library built upon GLib
2Name: gnet2
3Version: 2.0.8
4Release: 1%{?_dist_release}
5URL: http://live.gnome.org/GNetLibrary
6Source0: http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/gnet-%{version}.tar.bz2
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}/*.a
44rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
45
46
47%clean
48rm -rf %{buildroot}
49
50%post -p /sbin/ldconfig
51
52%postun -p /sbin/ldconfig
53
54%files
55%defattr(-,root,root)
56%doc AUTHORS BUGS COPYING ChangeLog HACKING NEWS README TODO examples
57%{_libdir}/libgnet-*.so.*
58
59%files devel
60%defattr(-,root,root)
61%{_datadir}/gtk-doc/html/gnet
62%{_datadir}/aclocal/gnet-2.0.m4
63%{_libdir}/pkgconfig/gnet-2.0.pc
64%{_libdir}/gnet-2.0/include/*.h
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 Dec 12 2010 IWAI, Masaharu <iwai@alib.jp> 2.0.8-1
72- new upstream release
73- update URL: upstream moved
74- update Source0 URL: upstream moved
75- removed *.a from devel sub package
76
77* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.7-2
78- rebuilt with rpm-4.8.1 for pkg-config
79
80* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.0.7-1vl5
81- applied new versioning policy
82- removed *.la
83
84* Mon Aug  6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.7-0vl2
85- changed Group to System Environmet/Libraries
86- added BuildRequires: glib2-devel
87
88* Thu Apr  6 2006 IWAI, Masaharu <iwai@alib.jp> 2.0.7-0vl1
89- new upstream release
90
91* Sun May  2 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.5-0vl1
92- new upstream release
93- add %%{_libdir}/gnet-2.0{,/include} directory in devel package's %%files
94
95* Sat Jan 31 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl2
96- add Requires: gnet2-%%{version} in gnet2-devel package
97    thanks to Shaolin: [VineSeed-Plus:02077]
98
99* Wed Jan 21 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.4-0vl1
100- Initial build.
101
Note: See TracBrowser for help on using the repository browser.