]> git.pld-linux.org Git - packages/template-glib.git/blame - template-glib.spec
- release 2 (by relup.sh)
[packages/template-glib.git] / template-glib.spec
CommitLineData
52cf347b
JR
1Summary: template-glib - generate text based on a template and user defined state
2Name: template-glib
28c106eb 3Version: 3.30.0
076d9479 4Release: 2
52cf347b
JR
5License: LGPL v2.1+
6Group: Libraries
28c106eb
JK
7Source0: http://ftp.gnome.org/pub/GNOME/sources/template-glib/3.30/%{name}-%{version}.tar.xz
8# Source0-md5: 46bc1ae19f4d50db882e7686315257f5
52cf347b
JR
9BuildRequires: docbook-dtd412-xml
10BuildRequires: gettext-tools >= 0.18
11BuildRequires: glib2-devel >= 1:2.44.0
12BuildRequires: gobject-introspection-devel >= 0.9.5
13BuildRequires: gtk-doc >= 1.20
14BuildRequires: meson >= 0.40.1
15BuildRequires: pkgconfig
16BuildRequires: rpmbuild(macros) >= 1.726
17BuildRequires: vala
18Requires: glib2 >= 1:2.44.0
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Template-GLib is a library to help you generate text based on a
23template and user defined state. Template-GLib does not use a language
24runtime, so it is safe to use from any GObject-Introspectable
25language.
26
27Template-GLib allows you to access properties on GObjects as well as
28call simple methods via GObject-Introspection. See our examples for
29how to call methods.
30
31%package devel
32Summary: Header files for the template-glib library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki template-glib
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: glib2-devel >= 1:2.44.0
37
38%description devel
39Header files for the template-glib library.
40
41%description devel -l pl.UTF-8
42Pliki nagłówkowe biblioteki template-glib.
43
44%package apidocs
45Summary: template-glib API documentation
46Summary(pl.UTF-8): Dokumentacja API template-glib
47Group: Documentation
48Requires: gtk-doc-common
49%if "%{_rpmversion}" >= "5"
50BuildArch: noarch
51%endif
52
53%description apidocs
54Template-glib API documentation.
55
56%description apidocs -l pl.UTF-8
57Dokumentacja API template-glib.
58
59%package -n vala-template-glib
60Summary: template-glib API for Vala language
61Summary(pl.UTF-8): API template-glib dla języka Vala
62Group: Development/Libraries
63Requires: %{name}-devel = %{version}-%{release}
64Requires: vala >= 2:0.18.0
65%if "%{_rpmversion}" >= "5"
66BuildArch: noarch
67%endif
68
69%description -n vala-template-glib
70Template-glib API for Vala language.
71
72%description -n vala-template-glib -l pl.UTF-8
73API template-glib dla języka Vala.
74
75%prep
76%setup -q
77
78%build
79%meson build \
80 -Dintrospection=true \
81 -Denable_gtk_doc=true
82
83%meson_build -C build
84
85%install
86rm -rf $RPM_BUILD_ROOT
87
88%meson_install -C build
89
90%find_lang %{name} --with-gnome
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%post -p /sbin/ldconfig
96%postun -p /sbin/ldconfig
97
98%files -f %{name}.lang
99%defattr(644,root,root,755)
100%doc NEWS README.md
101%attr(755,root,root) %{_libdir}/libtemplate_glib-1.0.so.*.*.*
102%attr(755,root,root) %ghost %{_libdir}/libtemplate_glib-1.0.so.0
103%{_libdir}/girepository-1.0/Template-1.0.typelib
104
105%files devel
106%defattr(644,root,root,755)
107%attr(755,root,root) %{_libdir}/libtemplate_glib-1.0.so
108%{_datadir}/gir-1.0/Template-1.0.gir
109%{_includedir}/template-glib-1.0
110%{_pkgconfigdir}/template-glib-1.0.pc
111
112%files apidocs
113%defattr(644,root,root,755)
114%{_gtkdocdir}/template-glib
115
116%files -n vala-template-glib
117%defattr(644,root,root,755)
118%{_datadir}/vala/vapi/template-glib-1.0.deps
119%{_datadir}/vala/vapi/template-glib-1.0.vapi
This page took 0.144856 seconds and 4 git commands to generate.