]> git.pld-linux.org Git - packages/dotnet-gstreamer-sharp.git/blame - dotnet-gstreamer-sharp.spec
- fixed destdir on x86_64
[packages/dotnet-gstreamer-sharp.git] / dotnet-gstreamer-sharp.spec
CommitLineData
a7faf783
JB
1%include /usr/lib/rpm/macros.mono
2Summary: .NET bindings for GStreamer
3Summary(pl.UTF-8): Wiązania GStreamera dla .NET
4Name: dotnet-gstreamer-sharp
5Version: 0.9.2
991d00fc 6Release: 2
a7faf783
JB
7License: LGPL v2+
8Group: Libraries
9Source0: http://gstreamer.freedesktop.org/src/gstreamer-sharp/gstreamer-sharp-%{version}.tar.bz2
10# Source0-md5: 767bdba4dd753ba766352360c7053c14
991d00fc 11Patch0: %{name}-destdir.patch
a7faf783 12URL: http://gstreamer.org/
991d00fc
MB
13BuildRequires: autoconf
14BuildRequires: automake
a7faf783
JB
15BuildRequires: glib2-devel >= 1:2.18.1
16BuildRequires: gstreamer-devel >= 0.10.25
17BuildRequires: gstreamer-plugins-base-devel >= 0.10.25
991d00fc 18BuildRequires: libtool
a7faf783
JB
19BuildRequires: mono-csharp >= 2.4
20BuildRequires: monodoc >= 1.1
21BuildRequires: pkgconfig
22BuildRequires: rpmbuild(monoautodeps)
23Requires: glib2 >= 1:2.18.1
24Requires: gstreamer >= 0.10.25
25Requires: gstreamer-plugins-base >= 0.10.25
26Requires: mono >= 2.4
27ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64
28ExcludeArch: i386
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32This package provides bindings for .NET to GStreamer libraries.
33
34%description -l pl.UTF-8
35Pakiet ten dostarcza wiązania dla .NET do bibliotek GStreamera.
36
37%package devel
38Summary: Development files for GStreamer-sharp library
39Summary(pl.UTF-8): Pliki programistyczne biblioteki GStreamer-sharp
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42Requires: monodoc >= 1.1
43
44%description devel
45Development files for GStreamer-sharp library.
46
47%description devel -l pl.UTF-8
48Pliki programistyczne biblioteki GStreamer-sharp.
49
50%package static
51Summary: Static gstreamer-sharp library
52Summary(pl.UTF-8): Biblioteka statyczna gstreamer-sharp
53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
57Static gstreamer-sharp library.
58
59%description static -l pl.UTF-8
60Biblioteka statyczna gstreamer-sharp.
61
62%prep
63%setup -q -n gstreamer-sharp-%{version}
991d00fc 64%patch0 -p1
a7faf783
JB
65
66%build
991d00fc
MB
67%{__libtoolize}
68%{__aclocal}
69%{__autoconf}
70%{__automake}
a7faf783
JB
71%configure
72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post -p /sbin/ldconfig
84%postun -p /sbin/ldconfig
85
86%files
87%defattr(644,root,root,755)
88%doc AUTHORS ChangeLog NEWS README RELEASE TODO
89%attr(755,root,root) %{_libdir}/libgstreamersharpglue-0.10.so
90# needed for DllImport on basename
91%{_libdir}/libgstreamersharpglue-0.10.la
92%{_prefix}/lib/mono/gac/gstreamer-sharp
93
94%files devel
95%defattr(644,root,root,755)
96%dir %{_prefix}/lib/mono/gstreamer-sharp-0.10
97%{_prefix}/lib/mono/gstreamer-sharp-0.10/gstreamer-sharp.dll
98%{_prefix}/lib/monodoc/sources/gstreamer-sharp-docs.*
99%{_datadir}/gapi/gstreamer-api.xml
100%{_pkgconfigdir}/gstreamer-sharp-0.10.pc
101
102%files static
103%defattr(644,root,root,755)
104%{_libdir}/libgstreamersharpglue-0.10.a
This page took 0.072511 seconds and 4 git commands to generate.