source: projects/specs/trunk/lib/libm/libmal/libmal-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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