]>
Commit | Line | Data |
---|---|---|
18d8f108 | 1 | %include /usr/lib/rpm/macros.mono |
2 | %define snap 20051130 | |
7f0fdc18 | 3 | Summary: Gsf# - libgsf .NET Binding |
9648b545 | 4 | Summary(pl.UTF-8): Gsf# - wiązanie .NET dla libgsf |
7f0fdc18 | 5 | Name: dotnet-gsf-sharp |
64a9ec8d | 6 | Version: 0.8.1 |
83fd8bf6 | 7 | Release: 3 |
7f0fdc18 MK |
8 | Epoch: 0 |
9 | License: LGPL | |
10 | Group: Libraries | |
64a9ec8d | 11 | Source0: http://primates.ximian.com/~joe/gsf-sharp-%{version}.tar.gz |
12 | # Source0-md5: 92bb68612bdcd8ca3c475b3fee097968 | |
e1d818c7 | 13 | Patch0: %{name}-pkgconfig.patch |
64a9ec8d | 14 | Patch1: %{name}-sharp20.patch |
2acd9e05 | 15 | URL: http://www.gnome.org/ |
7f0fdc18 MK |
16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
64a9ec8d | 18 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0 |
19 | BuildRequires: libgsf-devel >= 1.14.1 | |
18d8f108 | 20 | BuildRequires: libtool |
11004c26 | 21 | BuildRequires: mono-csharp >= 1.1.13.8 |
22 | BuildRequires: monodoc >= 1.1.13 | |
7f0fdc18 | 23 | BuildRequires: pkgconfig |
11004c26 | 24 | Requires: mono >= 1.1.13.8 |
1a5226af | 25 | ExcludeArch: i386 |
7f0fdc18 MK |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
2acd9e05 | 29 | Gsf# - libgsf .NET Binding. |
7f0fdc18 | 30 | |
f866f2a8 JR |
31 | %description -l pl.UTF-8 |
32 | Gsf# - wiązanie .NET dla libgsf. | |
7f0fdc18 MK |
33 | |
34 | %package devel | |
35 | Summary: Gsf# development files | |
9648b545 | 36 | Summary(pl.UTF-8): Pliki programistyczne Gsf# |
7f0fdc18 MK |
37 | Group: Development/Libraries |
38 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
64a9ec8d | 39 | Requires: dotnet-gtk-sharp2-devel >= 2.10.0 |
7f0fdc18 MK |
40 | |
41 | %description devel | |
2acd9e05 | 42 | Gsf# development files. |
7f0fdc18 | 43 | |
f866f2a8 | 44 | %description devel -l pl.UTF-8 |
7f0fdc18 MK |
45 | Pliki programistyczne Gsf#. |
46 | ||
18d8f108 | 47 | %package static |
48 | Summary: Gsf# static library | |
9648b545 | 49 | Summary(pl.UTF-8): Biblioteka statyczna Gsf# |
18d8f108 | 50 | Group: Development/Libraries |
51 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
52 | ||
53 | %description static | |
54 | Gsf# static library. | |
55 | ||
f866f2a8 | 56 | %description static -l pl.UTF-8 |
18d8f108 | 57 | Biblioteka statyczna Gsf#. |
58 | ||
7f0fdc18 MK |
59 | %prep |
60 | %setup -q -n gsf-sharp-%{version} | |
f192f182 | 61 | %patch0 -p1 |
4640aa51 | 62 | %patch1 -p1 |
7f0fdc18 MK |
63 | |
64 | %build | |
18d8f108 | 65 | %{__libtoolize} |
7f0fdc18 MK |
66 | %{__aclocal} |
67 | %{__autoconf} | |
68 | %{__automake} | |
69 | %configure | |
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
18d8f108 | 81 | %post -p /sbin/ldconfig |
82 | %postun -p /sbin/ldconfig | |
83 | ||
7f0fdc18 MK |
84 | %files |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS ChangeLog NEWS README | |
18d8f108 | 87 | %attr(755,root,root) %{_libdir}/lib*.so |
e1d818c7 | 88 | %{_prefix}/lib/mono/gac/gsf-sharp |
7f0fdc18 MK |
89 | |
90 | %files devel | |
91 | %defattr(644,root,root,755) | |
18d8f108 | 92 | %{_libdir}/*.la |
11f85634 | 93 | %{_prefix}/lib/mono/gtk-sharp-2.0/gsf-sharp.dll |
18d8f108 | 94 | %{_datadir}/gapi-2.0/gsf-api.xml |
2acd9e05 | 95 | %{_pkgconfigdir}/* |
18d8f108 | 96 | |
97 | %files static | |
98 | %defattr(644,root,root,755) | |
99 | %{_libdir}/*.a |