]>
Commit | Line | Data |
---|---|---|
a7faf783 | 1 | %include /usr/lib/rpm/macros.mono |
5668aaff JB |
2 | Summary: .NET bindings for GStreamer 1.0 |
3 | Summary(pl.UTF-8): Wiązania GStreamera 1.0 dla .NET | |
a7faf783 | 4 | Name: dotnet-gstreamer-sharp |
5668aaff JB |
5 | Version: 0.99.0 |
6 | Release: 1 | |
7 | License: AGPL v3+ | |
a7faf783 | 8 | Group: Libraries |
5668aaff JB |
9 | Source0: http://gstreamer.freedesktop.org/src/gstreamer-sharp/gstreamer-sharp-%{version}.tar.gz |
10 | # Source0-md5: 467cdfdb75e0ad568c2d7bc5c47e0c25 | |
a7faf783 | 11 | URL: http://gstreamer.org/ |
5668aaff | 12 | BuildRequires: autoconf >= 2.50 |
991d00fc | 13 | BuildRequires: automake |
5668aaff | 14 | BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.2 |
a7faf783 | 15 | BuildRequires: glib2-devel >= 1:2.18.1 |
5668aaff JB |
16 | BuildRequires: gstreamer-devel >= 1.0 |
17 | BuildRequires: gstreamer-plugins-base-devel >= 1.0 | |
18 | BuildRequires: libtool >= 2:2 | |
a7faf783 JB |
19 | BuildRequires: mono-csharp >= 2.4 |
20 | BuildRequires: monodoc >= 1.1 | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: rpmbuild(monoautodeps) | |
5668aaff | 23 | Requires: dotnet-gtk-sharp3 >= 2.99.2 |
a7faf783 | 24 | Requires: glib2 >= 1:2.18.1 |
5668aaff JB |
25 | Requires: gstreamer >= 1.0 |
26 | Requires: gstreamer-plugins-base >= 1.0 | |
a7faf783 JB |
27 | Requires: mono >= 2.4 |
28 | ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64 | |
29 | ExcludeArch: i386 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
5668aaff | 33 | This package provides bindings for .NET to GStreamer 1.0 libraries. |
a7faf783 JB |
34 | |
35 | %description -l pl.UTF-8 | |
5668aaff | 36 | Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera 1.0. |
a7faf783 JB |
37 | |
38 | %package devel | |
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 | |
44 | ||
45 | %description devel | |
46 | Development files for GStreamer-sharp library. | |
47 | ||
48 | %description devel -l pl.UTF-8 | |
49 | Pliki programistyczne biblioteki GStreamer-sharp. | |
50 | ||
51 | %package static | |
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} | |
56 | ||
57 | %description static | |
58 | Static gstreamer-sharp library. | |
59 | ||
60 | %description static -l pl.UTF-8 | |
61 | Biblioteka statyczna gstreamer-sharp. | |
62 | ||
63 | %prep | |
5668aaff | 64 | %setup -q -c |
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 | ||
5668aaff JB |
80 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstreamersharpglue-1.0.0.la |
81 | ||
a7faf783 JB |
82 | %clean |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
5668aaff JB |
90 | %doc LICENSE NEWS README.md |
91 | %attr(755,root,root) %{_libdir}/libgstreamersharpglue-1.0.0.so | |
a7faf783 JB |
92 | %{_prefix}/lib/mono/gac/gstreamer-sharp |
93 | ||
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
5668aaff JB |
96 | %dir %{_prefix}/lib/mono/gstreamer-sharp |
97 | %{_prefix}/lib/mono/gstreamer-sharp/gstreamer-sharp.dll | |
a7faf783 | 98 | %{_prefix}/lib/monodoc/sources/gstreamer-sharp-docs.* |
5668aaff | 99 | %{_pkgconfigdir}/gstreamer-sharp-1.0.pc |
a7faf783 JB |
100 | |
101 | %files static | |
102 | %defattr(644,root,root,755) | |
5668aaff | 103 | %{_libdir}/libgstreamersharpglue-1.0.0.a |