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