]>
Commit | Line | Data |
---|---|---|
35063ec1 JB |
1 | Summary: GTK+ git repository viewer |
2 | Summary(pl.UTF-8): Przeglądarka repozytoriów git oparta na GTK+ | |
e96d6515 | 3 | Name: gitg |
35063ec1 | 4 | Version: 0.2.7 |
abfa1ad8 | 5 | Release: 0.1 |
e96d6515 AF |
6 | License: GPL v2 |
7 | Group: Development/Tools | |
7b0b300f | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gitg/0.2/%{name}-%{version}.tar.xz |
35063ec1 | 9 | # Source0-md5: 54010e00f2fc6d21f121b51259f8abfe |
e96d6515 AF |
10 | URL: http://trac.novowork.com/gitg/ |
11 | BuildRequires: GConf2-devel >= 2.24.0 | |
35063ec1 JB |
12 | BuildRequires: autoconf >= 2.64 |
13 | BuildRequires: automake >= 1:1.11 | |
e96d6515 AF |
14 | BuildRequires: gettext-devel >= 0.17 |
15 | BuildRequires: glib2-devel >= 1:2.26.0 | |
5666e859 | 16 | BuildRequires: gsettings-desktop-schemas-devel |
35063ec1 JB |
17 | BuildRequires: gtk+3-devel >= 3.0.0 |
18 | BuildRequires: gtksourceview3-devel >= 3.1.3 | |
e96d6515 | 19 | BuildRequires: intltool >= 0.40.0 |
35063ec1 | 20 | BuildRequires: libtool >= 2:2.2 |
e96d6515 AF |
21 | BuildRequires: pkgconfig |
22 | BuildRequires: rpm-pythonprov | |
23 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
24 | BuildRequires: rpmbuild(macros) >= 1.596 | |
7b0b300f AF |
25 | BuildRequires: tar >= 1:1.22 |
26 | BuildRequires: xz | |
e96d6515 | 27 | Requires(post,postun): desktop-file-utils |
35063ec1 | 28 | Requires(post,preun): glib2 >= 1:2.26.0 |
89cb9555 | 29 | Requires(post,postun): gtk-update-icon-cache |
35063ec1 JB |
30 | Requires: glib2 >= 1:2.26.0 |
31 | Requires: gtksourceview3 >= 3.1.3 | |
e96d6515 AF |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
e96d6515 | 34 | %description |
35063ec1 | 35 | gitg is a git repository viewer targeting GTK+/GNOME. One of its main |
e96d6515 AF |
36 | objectives is to provide a more unified user experience for git |
37 | frontends across multiple desktops. | |
38 | ||
35063ec1 JB |
39 | %description -l pl.UTF-8 |
40 | gitg to przeglądarka repozytoriów git przeznaczona dla środowisk | |
41 | GTK+/GNOME. Jednym z głównych celów jest zapewnienie bardziej | |
42 | ujednoliconego sposobu obsługi dla frontendów gita w wielu | |
43 | środowiskach graficznych. | |
44 | ||
e96d6515 AF |
45 | %package devel |
46 | Summary: libgitg header files | |
35063ec1 | 47 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgitg |
e96d6515 AF |
48 | Group: Development/Libraries |
49 | Requires: %{name} = %{version}-%{release} | |
35063ec1 | 50 | Requires: glib2-devel >= 1:2.26.0 |
e96d6515 AF |
51 | |
52 | %description devel | |
53 | libgitg header files. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
35063ec1 | 56 | Pliki nagłówkowe biblioteki libgitg. |
e96d6515 AF |
57 | |
58 | %package static | |
35063ec1 JB |
59 | Summary: libgitg static library |
60 | Summary(pl.UTF-8): Biblioteka statyczna libgitg | |
e96d6515 AF |
61 | Group: Development/Libraries |
62 | Requires: %{name}-devel = %{version}-%{release} | |
63 | ||
64 | %description static | |
35063ec1 | 65 | libgitg static library. |
e96d6515 AF |
66 | |
67 | %description static -l pl.UTF-8 | |
35063ec1 | 68 | Biblioteka statyczna libgitg |
e96d6515 AF |
69 | |
70 | %prep | |
71 | %setup -q | |
72 | ||
73 | %build | |
74 | %{__libtoolize} | |
75 | %{__intltoolize} | |
76 | %{__aclocal} -I m4 | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
80 | %configure \ | |
e96d6515 AF |
81 | --disable-silent-rules |
82 | %{__make} | |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %{__make} install \ | |
88 | DESTDIR=$RPM_BUILD_ROOT | |
89 | ||
90 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgitg-1.0.la | |
91 | ||
92 | %find_lang gitg | |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %post | |
98 | /sbin/ldconfig | |
99 | %glib_compile_schemas | |
100 | %update_icon_cache hicolor | |
101 | ||
102 | %postun | |
103 | if [ "$1" = "0" ]; then | |
104 | /sbin/ldconfig | |
105 | %glib_compile_schemas | |
106 | %update_icon_cache hicolor | |
107 | fi | |
108 | ||
109 | %files -f gitg.lang | |
110 | %defattr(644,root,root,755) | |
35063ec1 | 111 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README |
e96d6515 | 112 | %attr(755,root,root) %{_bindir}/gitg |
e96d6515 | 113 | %attr(755,root,root) %{_libdir}/libgitg-1.0.so.*.*.* |
35063ec1 | 114 | %attr(755,root,root) %ghost %{_libdir}/libgitg-1.0.so.0 |
e96d6515 AF |
115 | %{_datadir}/gitg |
116 | %{_datadir}/glib-2.0/schemas/org.gnome.gitg.gschema.xml | |
117 | %{_desktopdir}/gitg.desktop | |
118 | %{_mandir}/man1/gitg.1* | |
119 | %{_iconsdir}/hicolor/*/apps/gitg.* | |
120 | ||
121 | %files devel | |
122 | %defattr(644,root,root,755) | |
35063ec1 | 123 | %attr(755,root,root) %{_libdir}/libgitg-1.0.so |
e96d6515 AF |
124 | %{_includedir}/libgitg-1.0 |
125 | %{_pkgconfigdir}/libgitg-1.0.pc | |
126 | ||
127 | %files static | |
128 | %defattr(644,root,root,755) | |
129 | %{_libdir}/libgitg-1.0.a |