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