]>
Commit | Line | Data |
---|---|---|
a7faf783 JB |
1 | %include /usr/lib/rpm/macros.mono |
2 | Summary: .NET bindings for GStreamer | |
3 | Summary(pl.UTF-8): Wiązania GStreamera dla .NET | |
4 | Name: dotnet-gstreamer-sharp | |
5 | Version: 0.9.2 | |
991d00fc | 6 | Release: 2 |
a7faf783 JB |
7 | License: LGPL v2+ |
8 | Group: Libraries | |
9 | Source0: http://gstreamer.freedesktop.org/src/gstreamer-sharp/gstreamer-sharp-%{version}.tar.bz2 | |
10 | # Source0-md5: 767bdba4dd753ba766352360c7053c14 | |
991d00fc | 11 | Patch0: %{name}-destdir.patch |
a7faf783 | 12 | URL: http://gstreamer.org/ |
991d00fc MB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
a7faf783 JB |
15 | BuildRequires: glib2-devel >= 1:2.18.1 |
16 | BuildRequires: gstreamer-devel >= 0.10.25 | |
17 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.25 | |
991d00fc | 18 | BuildRequires: libtool |
a7faf783 JB |
19 | BuildRequires: mono-csharp >= 2.4 |
20 | BuildRequires: monodoc >= 1.1 | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: rpmbuild(monoautodeps) | |
23 | Requires: glib2 >= 1:2.18.1 | |
24 | Requires: gstreamer >= 0.10.25 | |
25 | Requires: gstreamer-plugins-base >= 0.10.25 | |
26 | Requires: mono >= 2.4 | |
27 | ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64 | |
28 | ExcludeArch: i386 | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | This package provides bindings for .NET to GStreamer libraries. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera. | |
36 | ||
37 | %package devel | |
38 | Summary: Development files for GStreamer-sharp library | |
39 | Summary(pl.UTF-8): Pliki programistyczne biblioteki GStreamer-sharp | |
40 | Group: Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | Requires: monodoc >= 1.1 | |
43 | ||
44 | %description devel | |
45 | Development files for GStreamer-sharp library. | |
46 | ||
47 | %description devel -l pl.UTF-8 | |
48 | Pliki programistyczne biblioteki GStreamer-sharp. | |
49 | ||
50 | %package static | |
51 | Summary: Static gstreamer-sharp library | |
52 | Summary(pl.UTF-8): Biblioteka statyczna gstreamer-sharp | |
53 | Group: Development/Libraries | |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | Static gstreamer-sharp library. | |
58 | ||
59 | %description static -l pl.UTF-8 | |
60 | Biblioteka statyczna gstreamer-sharp. | |
61 | ||
62 | %prep | |
63 | %setup -q -n gstreamer-sharp-%{version} | |
991d00fc | 64 | %patch0 -p1 |
a7faf783 JB |
65 | |
66 | %build | |
991d00fc MB |
67 | %{__libtoolize} |
68 | %{__aclocal} | |
69 | %{__autoconf} | |
70 | %{__automake} | |
a7faf783 JB |
71 | %configure |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %post -p /sbin/ldconfig | |
84 | %postun -p /sbin/ldconfig | |
85 | ||
86 | %files | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS ChangeLog NEWS README RELEASE TODO | |
89 | %attr(755,root,root) %{_libdir}/libgstreamersharpglue-0.10.so | |
90 | # needed for DllImport on basename | |
91 | %{_libdir}/libgstreamersharpglue-0.10.la | |
92 | %{_prefix}/lib/mono/gac/gstreamer-sharp | |
93 | ||
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
96 | %dir %{_prefix}/lib/mono/gstreamer-sharp-0.10 | |
97 | %{_prefix}/lib/mono/gstreamer-sharp-0.10/gstreamer-sharp.dll | |
98 | %{_prefix}/lib/monodoc/sources/gstreamer-sharp-docs.* | |
99 | %{_datadir}/gapi/gstreamer-api.xml | |
100 | %{_pkgconfigdir}/gstreamer-sharp-0.10.pc | |
101 | ||
102 | %files static | |
103 | %defattr(644,root,root,755) | |
104 | %{_libdir}/libgstreamersharpglue-0.10.a |