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