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