]> git.pld-linux.org Git - SPECS.git/blob - dotnet-gstreamer-sharp.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / dotnet-gstreamer-sharp.spec
1 Summary:        .NET bindings for GStreamer 1.0
2 Summary(pl.UTF-8):      Wiązania GStreamera 1.0 dla .NET
3 Name:           dotnet-gstreamer-sharp
4 Version:        0.99.0
5 Release:        1
6 License:        AGPL v3+
7 Group:          Libraries
8 Source0:        http://gstreamer.freedesktop.org/src/gstreamer-sharp/gstreamer-sharp-%{version}.tar.gz
9 # Source0-md5:  467cdfdb75e0ad568c2d7bc5c47e0c25
10 URL:            http://gstreamer.org/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  dotnet-gtk-sharp3-devel >= 2.99.2
14 BuildRequires:  glib2-devel >= 1:2.18.1
15 BuildRequires:  gstreamer-devel >= 1.0
16 BuildRequires:  gstreamer-plugins-base-devel >= 1.0
17 BuildRequires:  libtool >= 2:2
18 BuildRequires:  mono-csharp >= 2.4
19 BuildRequires:  monodoc >= 1.1
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(monoautodeps)
22 Requires:       dotnet-gtk-sharp3 >= 2.99.2
23 Requires:       glib2 >= 1:2.18.1
24 Requires:       gstreamer >= 1.0
25 Requires:       gstreamer-plugins-base >= 1.0
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 1.0 libraries.
33
34 %description -l pl.UTF-8
35 Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera 1.0.
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 -c
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__automake}
70 %configure
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstreamersharpglue-1.0.0.la
80
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)
89 %doc LICENSE NEWS README.md
90 %attr(755,root,root) %{_libdir}/libgstreamersharpglue-1.0.0.so
91 %{_prefix}/lib/mono/gac/gstreamer-sharp
92
93 %files devel
94 %defattr(644,root,root,755)
95 %dir %{_prefix}/lib/mono/gstreamer-sharp
96 %{_prefix}/lib/mono/gstreamer-sharp/gstreamer-sharp.dll
97 %{_prefix}/lib/monodoc/sources/gstreamer-sharp-docs.*
98 %{_pkgconfigdir}/gstreamer-sharp-1.0.pc
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libgstreamersharpglue-1.0.0.a
This page took 0.199977 seconds and 3 git commands to generate.