[900] | 1 | %define version 0.44.1 |
---|
[521] | 2 | |
---|
| 3 | Summary: MAL (Mobil Application Link) library |
---|
| 4 | Name: libmal |
---|
| 5 | Version: %{version} |
---|
[1961] | 6 | Release: 2%{?_dist_release} |
---|
| 7 | |
---|
| 8 | Group: System Environment/Libraries |
---|
[521] | 9 | License: MPL |
---|
[900] | 10 | URL: http://www.jlogday.com/code/libmal/ |
---|
| 11 | |
---|
[1961] | 12 | Source: http://http://www.jlogday.com/code/libmal/libmal-%{version}.tar.gz |
---|
| 13 | |
---|
[900] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[1961] | 15 | BuildRequires: pilot-link-devel |
---|
[521] | 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 |
---|
[900] | 33 | %configure --disable-static FORCE_PILOT_LIBS=%{_libdir} |
---|
[521] | 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 |
---|
[1961] | 62 | * Thu Sep 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-2 |
---|
| 63 | - added BR: pilot-link-devel |
---|
| 64 | |
---|
[900] | 65 | * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-1 |
---|
| 66 | - new upstream release |
---|
| 67 | - built with new toolchain |
---|
| 68 | - added --disable-static to %%configure |
---|
| 69 | |
---|
[521] | 70 | * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-1vl5 |
---|
| 71 | - applied new versioning policy |
---|
| 72 | - added FORCE_PILOT_LIBS to %%configure |
---|
| 73 | - removed *.la |
---|
| 74 | |
---|
| 75 | * Sat Dec 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1 |
---|
| 76 | - new upstream release |
---|
| 77 | - rebuilt with new pilot-link |
---|
| 78 | - added %post and %postun section |
---|
| 79 | - changed Group to System Environment/Libraries |
---|
| 80 | |
---|
| 81 | * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.31-0vl1 |
---|
| 82 | - build for VineSeed |
---|
| 83 | |
---|
| 84 | * Tue Jan 21 2003 Jason Day <jasonday@worldnet.att.net> |
---|
| 85 | - Initial version |
---|
| 86 | |
---|