]>
Commit | Line | Data |
---|---|---|
0e7e03df | 1 | # |
0e7e03df | 2 | %include /usr/lib/rpm/macros.mono |
3 | # | |
4 | Summary: A fully managed implementation of libgnome-keyring | |
5 | Summary(pl.UTF-8): W pełni zarządzana implementacja libgnome-keyring | |
6 | Name: dotnet-gnome-keyring-sharp | |
7 | Version: 96902 | |
a84688d3 | 8 | Release: 3 |
d99dbece | 9 | License: X11/MIT |
0e7e03df | 10 | Group: Libraries |
11 | Source0: gnome-keyring-sharp-r%{version}.tar.bz2 | |
12 | # Source0-md5: 99d688281bf6cefbb343107bab646e18 | |
13 | #URL: http://gtk-sharp.sourceforge.net/ | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: dotnet-ndesk-dbus-sharp-devel >= 0.6.0 | |
17 | BuildRequires: mono-csharp >= 1.1.16.1 | |
a84688d3 | 18 | BuildRequires: monodoc >= 2.6 |
0e7e03df | 19 | BuildRequires: pkgconfig |
20 | BuildRequires: rpmbuild(monoautodeps) | |
21 | Requires: mono >= 1.1.16.1 | |
22 | ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64 | |
23 | ExcludeArch: i386 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | This package provides a fully managed implementation of | |
28 | libgnome-keyring. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Pakiet ten dostarcza w pełni zarządzaną implementację biblioteki | |
32 | libgnome-keyring. | |
33 | ||
34 | %package devel | |
35 | Summary: Development part of gnome-keyring-sharp | |
36 | Summary(pl.UTF-8): Część gnome-keyring-sharp dla programistów | |
37 | Group: Development/Libraries | |
38 | Requires: %{name} = %{version}-%{release} | |
a84688d3 | 39 | Requires: monodoc >= 2.6 |
0e7e03df | 40 | Requires: which |
41 | Obsoletes: dotnet-gtk-sharp2-gnome-devel | |
42 | Obsoletes: gtk-sharp2-devel | |
43 | ||
44 | %description devel | |
45 | Developement files and documentation for developing applications using | |
46 | gnome-keyring-sharp. | |
47 | ||
48 | %description devel -l pl.UTF-8 | |
49 | Pliki programistyczne i dokumentacja dla gnome-keyring-sharp. | |
50 | ||
51 | %prep | |
52 | %setup -q -n gnome-keyring-sharp | |
53 | ||
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} | |
57 | %{__automake} | |
58 | %{__autoconf} | |
59 | %configure | |
60 | %{__make} -j1 | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT \ | |
a84688d3 | 67 | docsdir=%{_prefix}/lib/monodoc/sources |
0e7e03df | 68 | |
fedb345b | 69 | ln -s %{_pkgconfigdir}/gnome-keyring-sharp-1.0.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/gnome-keyring-sharp.pc |
0e7e03df | 70 | |
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc AUTHORS ChangeLog | |
77 | %{_prefix}/lib/mono/gac/* | |
78 | %exclude %{_prefix}/lib/mono/gac/Gnome.Keyring/*/*.mdb | |
79 | ||
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
82 | %{_prefix}/lib/mono/gac/Gnome.Keyring/*/*.mdb | |
83 | %{_prefix}/lib/mono/gnome-keyring-sharp-1.0 | |
84 | %{_pkgconfigdir}/*.pc | |
a84688d3 | 85 | %{_prefix}/lib/monodoc/sources/Gnome.Keyring.* |