1 | %define version 0.44.1 |
---|
2 | |
---|
3 | Summary: MAL (Mobil Application Link) library |
---|
4 | Name: libmal |
---|
5 | Version: %{version} |
---|
6 | Release: 3%{?_dist_release} |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: MPL |
---|
10 | URL: http://www.jlogday.com/code/libmal/ |
---|
11 | |
---|
12 | Source: http://http://www.jlogday.com/code/libmal/libmal-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: pilot-link-devel |
---|
16 | |
---|
17 | %description |
---|
18 | libmal is really just a convenience library of the functions in Tom Whittaker's |
---|
19 | malsync distribution, along with a few wrapper functions. |
---|
20 | |
---|
21 | %package devel |
---|
22 | Summary: Development files for libmal |
---|
23 | Group: Development/Libraries |
---|
24 | Requires: %{name} = %{version}-%{release} |
---|
25 | |
---|
26 | %description devel |
---|
27 | Development files for libmal |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | %build |
---|
33 | %configure --disable-static FORCE_PILOT_LIBS=%{_libdir} |
---|
34 | make |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
39 | |
---|
40 | ## remove unuse files |
---|
41 | rm -rf %{buildroot}%{_libdir}/*.la |
---|
42 | |
---|
43 | %clean |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | |
---|
46 | %post -p /sbin/ldconfig |
---|
47 | |
---|
48 | %postun -p /sbin/ldconfig |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root) |
---|
52 | %doc README ChangeLog MPL-1_0.txt TODO |
---|
53 | %{_bindir}/* |
---|
54 | %{_libdir}/*.so.* |
---|
55 | |
---|
56 | %files devel |
---|
57 | %defattr(-,root,root) |
---|
58 | %{_includedir}/libmal/* |
---|
59 | %{_libdir}/*.so |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Mon May 21 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-3 |
---|
63 | - rebuild with rpm-4.8.1-3 |
---|
64 | |
---|
65 | * Thu Sep 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-2 |
---|
66 | - added BR: pilot-link-devel |
---|
67 | |
---|
68 | * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-1 |
---|
69 | - new upstream release |
---|
70 | - built with new toolchain |
---|
71 | - added --disable-static to %%configure |
---|
72 | |
---|
73 | * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-1vl5 |
---|
74 | - applied new versioning policy |
---|
75 | - added FORCE_PILOT_LIBS to %%configure |
---|
76 | - removed *.la |
---|
77 | |
---|
78 | * Sat Dec 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1 |
---|
79 | - new upstream release |
---|
80 | - rebuilt with new pilot-link |
---|
81 | - added %post and %postun section |
---|
82 | - changed Group to System Environment/Libraries |
---|
83 | |
---|
84 | * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.31-0vl1 |
---|
85 | - build for VineSeed |
---|
86 | |
---|
87 | * Tue Jan 21 2003 Jason Day <jasonday@worldnet.att.net> |
---|
88 | - Initial version |
---|
89 | |
---|