1 %include /usr/lib/rpm/macros.mono
2 Summary: .NET bindings for GStreamer 1.0
3 Summary(pl.UTF-8): Wiązania GStreamera 1.0 dla .NET
4 Name: dotnet-gstreamer-sharp
9 Source0: http://gstreamer.freedesktop.org/src/gstreamer-sharp/gstreamer-sharp-%{version}.tar.gz
10 # Source0-md5: 467cdfdb75e0ad568c2d7bc5c47e0c25
11 URL: http://gstreamer.org/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.2
15 BuildRequires: glib2-devel >= 1:2.18.1
16 BuildRequires: gstreamer-devel >= 1.0
17 BuildRequires: gstreamer-plugins-base-devel >= 1.0
18 BuildRequires: libtool >= 2:2
19 BuildRequires: mono-csharp >= 2.4
20 BuildRequires: monodoc >= 1.1
21 BuildRequires: pkgconfig
22 BuildRequires: rpmbuild(monoautodeps)
23 Requires: dotnet-gtk-sharp3 >= 2.99.2
24 Requires: glib2 >= 1:2.18.1
25 Requires: gstreamer >= 1.0
26 Requires: gstreamer-plugins-base >= 1.0
28 ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This package provides bindings for .NET to GStreamer 1.0 libraries.
35 %description -l pl.UTF-8
36 Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera 1.0.
39 Summary: Development files for GStreamer-sharp library
40 Summary(pl.UTF-8): Pliki programistyczne biblioteki GStreamer-sharp
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: monodoc >= 1.1
46 Development files for GStreamer-sharp library.
48 %description devel -l pl.UTF-8
49 Pliki programistyczne biblioteki GStreamer-sharp.
52 Summary: Static gstreamer-sharp library
53 Summary(pl.UTF-8): Biblioteka statyczna gstreamer-sharp
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static gstreamer-sharp library.
60 %description static -l pl.UTF-8
61 Biblioteka statyczna gstreamer-sharp.
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstreamersharpglue-1.0.0.la
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
90 %doc LICENSE NEWS README.md
91 %attr(755,root,root) %{_libdir}/libgstreamersharpglue-1.0.0.so
92 %{_prefix}/lib/mono/gac/gstreamer-sharp
95 %defattr(644,root,root,755)
96 %dir %{_prefix}/lib/mono/gstreamer-sharp
97 %{_prefix}/lib/mono/gstreamer-sharp/gstreamer-sharp.dll
98 %{_prefix}/lib/monodoc/sources/gstreamer-sharp-docs.*
99 %{_pkgconfigdir}/gstreamer-sharp-1.0.pc
102 %defattr(644,root,root,755)
103 %{_libdir}/libgstreamersharpglue-1.0.0.a