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