Package libgnet: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | %def_disable static Name: libgnet Version: 2.0.7 Release: alt1 Summary: Libgnet, a network library License: LGPL Group: System/Libraries URL: http://www.gnetlibrary.org/ Source: http://www.gnetlibrary.org/src/gnet-%version.tar.gz BuildRequires: gcc-c++ glib2-devel %description Gnet is a simple network library. It is writen in C, object-oriented, and built upon glib. It is intended to be small, fast, easy-to-use, and easy to port. The interface is similar to the interface for Java's network library. Major features are: + tcp 'client' sockets; + tcp 'server' sockets; + non-blocking tcp sockets; + udp; + ip multicast; + internet address abstraction. %package devel Summary: Header files for the Gnet library Group: Development/C Requires: %name = %version-%release, glib-devel %description devel Gnet is a simple network library. It is writen in C, object-oriented, and built upon glib. This package allows you to develop applications that use the Gnet library. %if_enabled static %package devel-static Summary: Static Gnet library Group: Development/C Requires: %name-devel = %version-%release, glib-devel-static %description devel-static Gnet is a simple network library. It is writen in C, object-oriented, and built upon glib. This package allows you to develop statically linked applications that use the Gnet library. %endif %prep %setup -q -n gnet-%version %build %configure \ %{subst_enable static} \ --with-html-dir=%_docdir %make_build %install %make_install DESTDIR=%buildroot install %make -C examples clean %__rm -f examples/Makefile* %__rm -Rf examples/.deps/ %__rm -Rf %buildroot%_docdir %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %_libdir/*.so.* %files devel %_libdir/*.so %_libdir/gnet-2.0/ %_libdir/pkgconfig/*.pc %_includedir/* %_datadir/aclocal/* %doc AUTHORS ChangeLog HACKING NEWS README TODO doc/html examples %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Mon Nov 20 2006 Alexey Shabalin <shaba@altlinux.ru> 2.0.7-alt1 - 2.0.7 - disable default build static libs * Thu Mar 18 2004 Anton Farygin <rider@altlinux.ru> 2.0.5-alt1 - 2.0.5 * Wed Oct 23 2002 AEN <aen@altlinux.ru> 1.1.7-alt2 - pkgconfig file added to devel * Sat Oct 05 2002 Rider <rider@altlinux.ru> 1.1.7-alt1 - 1.1.7 * Sun Aug 25 2002 Rider <rider@altlinux.ru> 1.1.5-alt1 - 1.1.5 * Tue May 29 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.1.0-alt1 - 1.1.0 - Moved static library to devel-static subpackage. * Sat Jan 13 2001 Dmitry V. Levin <ldv@fandra.org> 1.0.4-ipl2mdk - RE adaptions. * Thu Nov 16 2000 Vincent Saugey <vince@mandrakesoft.com> 1.0.4-2mdk - add provides to dev package * Mon Oct 30 2000 Vincent Saugey <vince@mandrakesoft.com> 1.0.4-1mdk - Up to 1.0.4 - Put auconf macro and gnetconfig binarie in devel package - make compliant with new mandrake lib policy - add dependencie on dev package - Patch configure for gnet.h found gnetconfig.h in /usr/lib * Mon Oct 2 2000 Vincent Saugey <vince@mandrakesoft.com> 1.0.3-4mdk - Change devel doc to devel package * Fri Sep 1 2000 Vincent Saugey <vince@mandrakesoft.com> 1.0.3-3mdk - change name - Rebuild for next release * Tue Aug 31 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.0.3-2mdk - macros - BM * Tue Jul 4 2000 Vincent Saugey <vince@mandrakesoft.com> 1.0.3-1mdk - First mdk release - Mandrake adaptation - Clean spec file * Mon Feb 28 2000 David Helder <dhelder@umich.edu> - Updated for version 1.0 * Sat Jan 15 2000 Xavier Nicolovici <nicolovi@club-internet.fr> - Moved lib*.so and lib*a to the devel package - Creation of a gnet.spec.in for autoconf process * Wed Jan 14 2000 Xavier Nicolovici <nicolovi@club-internet.fr> - HTML documentation has been move to /usr/doc/gnet-{version}/html * Thu Jan 13 2000 Xavier Nicolovici <nicolovi@club-internet.fr> - First try at an RPM |