1 | Summary: Git repository viewer for GTK+/GNOME |
---|
2 | Summary(ja): Git リポジトリビューアー |
---|
3 | Name: gitg |
---|
4 | Version: 3.32.1 |
---|
5 | Release: %{?_dist_release} |
---|
6 | Group: Applications/Development |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: GPLv2 |
---|
11 | URL: https://wiki.gnome.org/Apps/Gitg/ |
---|
12 | %global shortver %(echo %{version} | cut -d . -f 1,2) |
---|
13 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
14 | Source1: ja.po |
---|
15 | |
---|
16 | BuildRequires: gobject-introspection-devel |
---|
17 | BuildRequires: gsettings-desktop-schemas-devel |
---|
18 | BuildRequires: gtk3-devel |
---|
19 | BuildRequires: gtksourceview3-devel |
---|
20 | BuildRequires: gtkspell3-devel |
---|
21 | BuildRequires: json-glib-devel |
---|
22 | BuildRequires: libdazzle-devel |
---|
23 | BuildRequires: libgee-devel |
---|
24 | BuildRequires: libgee-vala |
---|
25 | BuildRequires: libgit2-glib-devel |
---|
26 | BuildRequires: libpeas-devel |
---|
27 | BuildRequires: libsecret-devel |
---|
28 | BuildRequires: libxml2-devel |
---|
29 | BuildRequires: meson |
---|
30 | BuildRequires: pygobject3-devel |
---|
31 | BuildRequires: python3-pygobject |
---|
32 | BuildRequires: python3-rpm-macros |
---|
33 | BuildRequires: vala-tools |
---|
34 | BuildRequires: webkitgtk4-devel |
---|
35 | |
---|
36 | Requires(postun,posttrans): glib2 |
---|
37 | Requires(postun,posttrans): desktop-file-utils |
---|
38 | Requires(postun,posttrans): gtk2 |
---|
39 | |
---|
40 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
41 | |
---|
42 | |
---|
43 | %description |
---|
44 | Gitg is the GNOME GUI client to view git repositories. |
---|
45 | |
---|
46 | %description -l ja |
---|
47 | Gitg は git リポジトリを閲覧するための GNOME GUI クライアントです。 |
---|
48 | |
---|
49 | |
---|
50 | %package devel |
---|
51 | Summary: Development tools for %{name} |
---|
52 | Summary(ja): %{name} の開発環境 |
---|
53 | Group: Development/Libraries |
---|
54 | Requires: %{name} = %{version}-%{release} |
---|
55 | Requires: pkgconfig |
---|
56 | |
---|
57 | %description devel |
---|
58 | Header files and libraries for building a extension library for the %{name}. |
---|
59 | |
---|
60 | |
---|
61 | %package vala |
---|
62 | Summary: Vala bindings for %{name} |
---|
63 | Summary(ja): %{name} の Vala バインディング |
---|
64 | Group: Development/Libraries |
---|
65 | Requires: %{name} = %{version}-%{release} |
---|
66 | Requires: vala |
---|
67 | |
---|
68 | %description vala |
---|
69 | Vala bindings for %{name}. |
---|
70 | |
---|
71 | |
---|
72 | %prep |
---|
73 | %setup -q |
---|
74 | cp %{SOURCE1} po/ |
---|
75 | |
---|
76 | |
---|
77 | %build |
---|
78 | %meson \ |
---|
79 | -Dglade_catalog=false |
---|
80 | %meson_build |
---|
81 | |
---|
82 | |
---|
83 | %install |
---|
84 | rm -rf ${RPM_BUILD_ROOT} |
---|
85 | %meson_install |
---|
86 | |
---|
87 | %find_lang %{name} |
---|
88 | |
---|
89 | |
---|
90 | %clean |
---|
91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
92 | |
---|
93 | |
---|
94 | %post |
---|
95 | /sbin/ldconfig |
---|
96 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
97 | |
---|
98 | %postun |
---|
99 | /sbin/ldconfig |
---|
100 | if [ $1 -eq 0 ] ; then |
---|
101 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
102 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> > /dev/null || : |
---|
103 | update-desktop-database -q > /dev/null || : |
---|
104 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
105 | fi |
---|
106 | |
---|
107 | %posttrans |
---|
108 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
109 | update-desktop-database -q &> /dev/null || : |
---|
110 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
111 | |
---|
112 | |
---|
113 | %files -f %{name}.lang |
---|
114 | %defattr(-,root,root,-) |
---|
115 | %license COPYING |
---|
116 | %doc ChangeLog README NEWS |
---|
117 | %{_bindir}/%{name} |
---|
118 | %{_libdir}/libgitg-1.0.so.* |
---|
119 | %{_libdir}/libgitg-ext-1.0.so.* |
---|
120 | %{_libdir}/girepository-1.0/Gitg-1.0.typelib |
---|
121 | %{_libdir}/girepository-1.0/GitgExt-1.0.typelib |
---|
122 | %{_libdir}/%{name} |
---|
123 | %{python3_sitelib}/gi/overrides/GitgExt.py |
---|
124 | %{_datadir}/metainfo/* |
---|
125 | %{_datadir}/applications/org.gnome.gitg.desktop |
---|
126 | %{_datadir}/glib-2.0/schemas/org.gnome.gitg.gschema.xml |
---|
127 | %{_datadir}/%{name}/icons/hicolor/scalable/actions/diff-symbolic.svg |
---|
128 | %{_datadir}/icons/hicolor/*/*/* |
---|
129 | %{_mandir}/man1/%{name}.1.gz |
---|
130 | |
---|
131 | %files devel |
---|
132 | %defattr(-,root,root,-) |
---|
133 | %{_includedir}/libgitg-1.0/ |
---|
134 | %{_includedir}/libgitg-ext-1.0/ |
---|
135 | %{_libdir}/libgitg-1.0.so |
---|
136 | %{_libdir}/libgitg-ext-1.0.so |
---|
137 | %{_libdir}/pkgconfig/libgitg-1.0.pc |
---|
138 | %{_libdir}/pkgconfig/libgitg-ext-1.0.pc |
---|
139 | %{_datadir}/gir-1.0/Gitg-1.0.gir |
---|
140 | %{_datadir}/gir-1.0/GitgExt-1.0.gir |
---|
141 | |
---|
142 | %files vala |
---|
143 | %defattr(-,root,root,-) |
---|
144 | %{_datadir}/vala/vapi/libgitg-1.0.vapi |
---|
145 | %{_datadir}/vala/vapi/libgitg-ext-1.0.vapi |
---|
146 | |
---|
147 | |
---|
148 | %changelog |
---|
149 | * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.32.1-1 |
---|
150 | - new upstream release. |
---|
151 | |
---|
152 | * Tue Aug 21 2018 Toshiaki Ara <ara_t@384.jp> 3.26.0-1 |
---|
153 | - new upstream release |
---|
154 | |
---|
155 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
159 | - new upstream release |
---|
160 | |
---|
161 | * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
165 | - initial build |
---|
166 | |
---|