]> git.pld-linux.org Git - packages/dotnet-gkeyfile-sharp.git/blob - dotnet-gkeyfile-sharp.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-gkeyfile-sharp.git] / dotnet-gkeyfile-sharp.spec
1 #
2 %include        /usr/lib/rpm/macros.mono
3 #
4 Summary:        .NET bindings for GLib2's keyfile implementation
5 Summary(pl.UTF-8):      Wiązania implementacji GLib2 keyfile dla .NET
6 Name:           dotnet-gkeyfile-sharp
7 Version:        0.1
8 Release:        2
9 License:        LGPL v2.1
10 Group:          Libraries
11 Source0:        gkeyfile-sharp-%{version}.tar.gz
12 # Source0-md5:  52988c1293443b8cb536d1b971a14158
13 Patch0:         %{name}-monodir.patch
14 URL:            http://github.com/mono/gkeyfile-sharp/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  dotnet-gtk-sharp2-devel >= 2.12.9
18 BuildRequires:  glib2-devel >= 1:2.6.0
19 BuildRequires:  mono-csharp >= 2.0.0
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(monoautodeps)
22 Requires:       glib2 >= 1:2.6.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This package provides bindings for .NET to GLib2's keyfile
27 implementation.
28
29 %description -l pl.UTF-8
30 Pakiet ten dostarcza wiązania dla .NET do implementacji GLib2 keyfile.
31
32 %package devel
33 Summary:        gkeyfile-sharp development files
34 Summary(pl.UTF-8):      Pliki programistyczne gkeyfile-sharp
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       dotnet-gtk-sharp2-devel >= 2.12.9
38
39 %description devel
40 gkeyfile-sharp development files.
41
42 %description devel -l pl.UTF-8
43 Pliki programistyczne gkeyfile-sharp.
44
45 %prep
46 %setup -q -n mono-gkeyfile-sharp-1a1adb8/
47 %patch0 -p1
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure
54 %{__make} -j1
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog NEWS README
68 %{_prefix}/lib/mono/gac/gkeyfile-sharp
69
70 %files devel
71 %defattr(644,root,root,755)
72 %dir %{_prefix}/lib/mono/gkeyfile-sharp
73 %{_prefix}/lib/mono/gkeyfile-sharp/gkeyfile-sharp.dll
74 %{_pkgconfigdir}/gkeyfile-sharp.pc
This page took 0.072154 seconds and 3 git commands to generate.