]> git.pld-linux.org Git - packages/dotnet-gstreamer-sharp.git/blob - dotnet-gstreamer-sharp.spec
- updated to 0.99.0 for gstreamer 1.x; gstreamer0.10 version moved to dotnet-gstreame...
[packages/dotnet-gstreamer-sharp.git] / dotnet-gstreamer-sharp.spec
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
5 Version:        0.99.0
6 Release:        1
7 License:        AGPL v3+
8 Group:          Libraries
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
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
33 This package provides bindings for .NET to GStreamer 1.0 libraries.
34
35 %description -l pl.UTF-8
36 Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera 1.0.
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
64 %setup -q -c
65
66 %build
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__automake}
71 %configure
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstreamersharpglue-1.0.0.la
81
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)
90 %doc LICENSE NEWS README.md
91 %attr(755,root,root) %{_libdir}/libgstreamersharpglue-1.0.0.so
92 %{_prefix}/lib/mono/gac/gstreamer-sharp
93
94 %files devel
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
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libgstreamersharpglue-1.0.0.a
This page took 0.040348 seconds and 4 git commands to generate.