]>
Commit | Line | Data |
---|---|---|
5668aaff JB |
1 | Summary: .NET bindings for GStreamer 1.0 |
2 | Summary(pl.UTF-8): Wiązania GStreamera 1.0 dla .NET | |
a7faf783 | 3 | Name: dotnet-gstreamer-sharp |
5668aaff | 4 | Version: 0.99.0 |
4152cba1 | 5 | Release: 2 |
5668aaff | 6 | License: AGPL v3+ |
a7faf783 | 7 | Group: Libraries |
5668aaff JB |
8 | Source0: http://gstreamer.freedesktop.org/src/gstreamer-sharp/gstreamer-sharp-%{version}.tar.gz |
9 | # Source0-md5: 467cdfdb75e0ad568c2d7bc5c47e0c25 | |
a7faf783 | 10 | URL: http://gstreamer.org/ |
5668aaff | 11 | BuildRequires: autoconf >= 2.50 |
991d00fc | 12 | BuildRequires: automake |
5668aaff | 13 | BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.2 |
a7faf783 | 14 | BuildRequires: glib2-devel >= 1:2.18.1 |
5668aaff JB |
15 | BuildRequires: gstreamer-devel >= 1.0 |
16 | BuildRequires: gstreamer-plugins-base-devel >= 1.0 | |
17 | BuildRequires: libtool >= 2:2 | |
a7faf783 JB |
18 | BuildRequires: mono-csharp >= 2.4 |
19 | BuildRequires: monodoc >= 1.1 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: rpmbuild(monoautodeps) | |
5668aaff | 22 | Requires: dotnet-gtk-sharp3 >= 2.99.2 |
a7faf783 | 23 | Requires: glib2 >= 1:2.18.1 |
5668aaff JB |
24 | Requires: gstreamer >= 1.0 |
25 | Requires: gstreamer-plugins-base >= 1.0 | |
a7faf783 JB |
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 | |
5668aaff | 32 | This package provides bindings for .NET to GStreamer 1.0 libraries. |
a7faf783 JB |
33 | |
34 | %description -l pl.UTF-8 | |
5668aaff | 35 | Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera 1.0. |
a7faf783 JB |
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 | |
5668aaff | 63 | %setup -q -c |
a7faf783 JB |
64 | |
65 | %build | |
991d00fc MB |
66 | %{__libtoolize} |
67 | %{__aclocal} | |
68 | %{__autoconf} | |
69 | %{__automake} | |
a7faf783 JB |
70 | %configure |
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
5668aaff JB |
79 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstreamersharpglue-1.0.0.la |
80 | ||
a7faf783 JB |
81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
5668aaff JB |
89 | %doc LICENSE NEWS README.md |
90 | %attr(755,root,root) %{_libdir}/libgstreamersharpglue-1.0.0.so | |
a7faf783 JB |
91 | %{_prefix}/lib/mono/gac/gstreamer-sharp |
92 | ||
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
5668aaff JB |
95 | %dir %{_prefix}/lib/mono/gstreamer-sharp |
96 | %{_prefix}/lib/mono/gstreamer-sharp/gstreamer-sharp.dll | |
a7faf783 | 97 | %{_prefix}/lib/monodoc/sources/gstreamer-sharp-docs.* |
5668aaff | 98 | %{_pkgconfigdir}/gstreamer-sharp-1.0.pc |
a7faf783 JB |
99 | |
100 | %files static | |
101 | %defattr(644,root,root,755) | |
5668aaff | 102 | %{_libdir}/libgstreamersharpglue-1.0.0.a |