[1865] | 1 | Name: libmowgli |
---|
[521] | 2 | Summary: An algorithm framework |
---|
| 3 | Summary(ja): アルゴリズムフレームワーク |
---|
| 4 | Version: 0.7.0 |
---|
[1865] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: ISC |
---|
| 9 | URL: http://atheme.org/projects/mowgli.shtml |
---|
| 10 | |
---|
| 11 | Source0: http://distfiles.atheme.org/libmowgli-%{version}.tgz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | mowgli is a development framework for C (like GLib), which provides high |
---|
| 17 | performance and highly flexible algorithms. It can be used as a suppliment to |
---|
| 18 | GLib (to add additional functions (dictionaries, hashes), or replace some of |
---|
| 19 | the slow GLib list manipulation functions), or stand alone. It also provides a |
---|
| 20 | powerful hook system and convenient logging for your code, as well as a high |
---|
| 21 | performance block allocator. |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Development files for libmowgli |
---|
| 25 | Summary(ja): libmowgli の開発用ファイル |
---|
| 26 | Group: Development/Libraries |
---|
[1865] | 27 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 28 | |
---|
| 29 | %description devel |
---|
| 30 | mowgli is a development framework for C (like GLib), which provides high |
---|
| 31 | performance and highly flexible algorithms. It can be used as a suppliment to |
---|
| 32 | GLib (to add additional functions (dictionaries, hashes), or replace some of |
---|
| 33 | the slow GLib list manipulation functions), or stand alone. It also provides a |
---|
| 34 | powerful hook system and convenient logging for your code, as well as a high |
---|
| 35 | performance block allocator. |
---|
| 36 | |
---|
| 37 | This package contains the files necessary for writing programs that use |
---|
| 38 | libmowgli. |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q |
---|
| 42 | # Make the build system more verbose |
---|
| 43 | perl -pi -e 's/^\.SILENT:.*$//' buildsys.mk.in |
---|
| 44 | |
---|
| 45 | # The build generates a wrong SONAME, fix it. |
---|
| 46 | perl -pi -e "s/-soname=.*'/-soname=\\\$\{LIB\}.\\\$\{LIB_MAJOR\}'/" configure |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | %configure \ |
---|
| 50 | --disable-dependency-tracking |
---|
| 51 | |
---|
| 52 | make %{?_smp_mflags} |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | %post -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | %postun -p /sbin/ldconfig |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-,root,root,-) |
---|
| 68 | %doc AUTHORS COPYING README |
---|
| 69 | %{_libdir}/*.so.* |
---|
| 70 | |
---|
| 71 | %files devel |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %doc src/examples |
---|
| 74 | %{_libdir}/*.so |
---|
| 75 | %{_includedir}/libmowgli |
---|
| 76 | %{_libdir}/pkgconfig/libmowgli.pc |
---|
| 77 | |
---|
| 78 | %changelog |
---|
[1865] | 79 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.0-2 |
---|
| 80 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 81 | |
---|
[521] | 82 | * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.0-1 |
---|
| 83 | - new upstream release |
---|
| 84 | - changed Group to System Environment/Libraires |
---|
| 85 | |
---|
| 86 | * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.0-1 |
---|
| 87 | - initial build for Vine Linux |
---|
| 88 | |
---|
| 89 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.0-2 |
---|
| 90 | - Autorebuild for GCC 4.3 |
---|
| 91 | |
---|
| 92 | * Sat Nov 10 2007 Ralf Ertzinger <ralf@skytale.net> 0.5.0-1 |
---|
| 93 | - Initial build for FE |
---|