]> git.pld-linux.org Git - packages/agsync.git/blob - agsync.spec
- update BRs
[packages/agsync.git] / agsync.spec
1 %define         _rc     pre
2 %define         _rel    3
3 Summary:        Synchronization mediator for AvantGo and Pocket PC
4 Summary(pl.UTF-8):      Mediator synchronizacji dla AvantGo i Pocket PC
5 Name:           agsync
6 Version:        0.2
7 Release:        0.%{_rc}.%{_rel}
8 License:        MPL v1.1
9 Group:          Applications/Communications
10 Source0:        http://duskwood.lownewulf.com/%{name}-%{version}-%{_rc}.tgz
11 Patch0:         %{name}-debian.patch
12 # Source0-md5:  74de1b1452a718c85364fab5ce3c0c2a
13 URL:            http://duskwood.lownewulf.com/avantgo.html
14 BuildRequires:  synce-core-lib-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 %description -l pl.UTF-8
22 Ten pakiet zawiera aplikację działającego z linii poleceń mediatora
23 synchronizacji AvantGo - Pocket PC.
24
25 %package devel
26 Summary:        Development files for AvantGo and Pocket PC synchronization
27 Summary(pl.UTF-8):      Pliki programistyczne do synchronizacji AvantGo i Pocket PC
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 This package contains the header files to develop applications which
33 provides AvantGo synchronization from Pocket PC to be mediated by the
34 connected PC.
35
36 %description devel -l pl.UTF-8
37 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
38 obsługującej synchronizację AvantGo z Pocket PC mediowaną przez
39 podłączony PC.
40
41 %package static
42 Summary:        Static AvantGo library
43 Summary(pl.UTF-8):      Statyczna biblioteka AvantGo
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static AvantGo library library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka AvantGo.
52
53 %prep
54 %setup -q -n %{name}-%{version}-%{_rc}
55 %patch0 -p1
56 chmod +x configure
57
58 %build
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_mandir}/man1
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 cp -a agsync.1 $RPM_BUILD_ROOT%{_mandir}/man1
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc README
80 %attr(755,root,root) %{_bindir}/agsync
81 %attr(755,root,root) %{_libdir}/libmal-funcs.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libmal-funcs.so.0
83 %{_mandir}/man1/agsync.1*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libmal-funcs.so
88 %{_libdir}/libmal-funcs.la
89 %{_includedir}/AG*.h
90 %{_includedir}/md5.h
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libmal-funcs.a
This page took 0.081239 seconds and 3 git commands to generate.