]> git.pld-linux.org Git - packages/agsync.git/blob - agsync.spec
8a7a1cf31cf3ffee9c3722f6a0f51e9c13f9a12a
[packages/agsync.git] / agsync.spec
1 %define         _rc     pre
2 %define         _rel    0.1
3 Summary:        Synchronization mediator for AvantGo and Pocket PC
4 Name:           agsync
5 Version:        0.2
6 Release:        0.%{_rc}.%{_rel}
7 License:        MPL v1.1
8 Group:          Applications
9 URL:            http://duskwood.lownewulf.com/avantgo.html
10 Source0:        http://duskwood.lownewulf.com/%{name}-%{version}-%{_rc}.tgz
11 # Source0-md5:  74de1b1452a718c85364fab5ce3c0c2a
12 BUildRequires:  synce-librapi2-devel
13 Patch0:         %{name}-debian.patch
14 BUildRequires:  synce-libsynce-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This package contains the AvantGo - Pocket PC synchronization mediator
19 command line application.
20
21 %package devel
22 Summary:        Development files for AvantGo and Pocket PC synchronization
23 Group:          Development/Libraries
24 Requires:       %{name} = %{version}-%{release}
25
26 %description devel
27 This package contains the library to develop applications which
28 provides AvantGo synchronization fro Pocket PC to be mediated by the
29 connected PC
30
31 %package static
32 Summary:        Static AvantGo library
33 Group:          Development/Libraries
34 Requires:       %{name}-devel = %{version}-%{release}
35
36 %description static
37 Static AvantGo library library.
38
39 %prep
40 %setup -q -n %{name}-%{version}-%{_rc}
41 %patch0 -p1
42 chmod +x configure
43
44 %build
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_mandir}/man1
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53 cp -a agsync.1 $RPM_BUILD_ROOT%{_mandir}/man1
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %files
62 %defattr(644,root,root,755)
63 %doc README
64 %attr(755,root,root) %{_bindir}/agsync
65 %{_mandir}/man1/agsync.1*
66 %attr(755,root,root) %{_libdir}/libmal-funcs.so.*.*.*
67
68 %files devel
69 %defattr(644,root,root,755)
70 %{_libdir}/libmal-funcs.la
71 %{_libdir}/libmal-funcs.so
72 %{_includedir}/AG*.h
73 %{_includedir}/md5.h
74
75 %files static
76 %defattr(644,root,root,755)
77 %{_libdir}/libmal-funcs.a
This page took 0.100984 seconds and 2 git commands to generate.