[2090] | 1 | Name: giggle |
---|
| 2 | Version: 0.5 |
---|
[2128] | 3 | Release: 2%{?_dist_release} |
---|
[2090] | 4 | Summary: A Gtk frontend to git |
---|
| 5 | |
---|
| 6 | Group: Development/Tools |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://live.gnome.org/giggle |
---|
| 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/giggle/0.5/%{name}-%{version}.tar.bz2 |
---|
[2128] | 10 | # ja.po |
---|
| 11 | Source101: giggle-0.5.ja.po |
---|
[2090] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 13 | |
---|
| 14 | BuildRequires: intltool |
---|
| 15 | BuildRequires: gettext |
---|
| 16 | BuildRequires: gtksourceview2-devel |
---|
| 17 | BuildRequires: glib2-devel |
---|
| 18 | BuildRequires: gtk2-devel |
---|
| 19 | BuildRequires: libglade2-devel |
---|
| 20 | BuildRequires: desktop-file-utils |
---|
| 21 | BuildRequires: git-core |
---|
| 22 | BuildRequires: evolution-data-server-devel |
---|
| 23 | BuildRequires: vte-devel |
---|
| 24 | BuildRequires: gnome-common |
---|
| 25 | BuildRequires: libtool autoconf automake |
---|
| 26 | |
---|
| 27 | Requires: git |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | Giggle is a graphical frontend for the git directory tracker (think of gitk on |
---|
| 32 | GTK+). |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Headers for Giggle plugin development |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | Headers for developing plugins for Giggle. |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
[2128] | 44 | cp -f %{SOURCE101} po/ja.po |
---|
[2090] | 45 | |
---|
| 46 | libtoolize |
---|
| 47 | aclocal |
---|
| 48 | autoconf |
---|
| 49 | autoheader |
---|
| 50 | automake |
---|
| 51 | |
---|
| 52 | %build |
---|
| 53 | %configure --disable-static |
---|
| 54 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 55 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 56 | make %{?_smp_mflags} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | rm -rf $RPM_BUILD_ROOT |
---|
| 61 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 62 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 63 | |
---|
| 64 | desktop-file-install --vendor="fedora" \ |
---|
| 65 | --delete-original \ |
---|
| 66 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
| 67 | %{buildroot}%{_datadir}/applications/giggle.desktop |
---|
| 68 | |
---|
| 69 | %find_lang %{name} |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | rm -rf $RPM_BUILD_ROOT |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %post |
---|
| 77 | /sbin/ldconfig |
---|
| 78 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 79 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 80 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 81 | fi |
---|
| 82 | |
---|
| 83 | %postun |
---|
| 84 | /sbin/ldconfig |
---|
| 85 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 86 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 87 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 88 | fi |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %files -f %{name}.lang |
---|
| 92 | %defattr(-,root,root,-) |
---|
| 93 | %doc AUTHORS COPYING README |
---|
| 94 | |
---|
| 95 | %{_bindir}/giggle |
---|
| 96 | %{_libdir}/*.so.* |
---|
| 97 | %{_libdir}/giggle/plugins/%{version}/*.so* |
---|
| 98 | %{_libdir}/giggle/plugins/%{version}/*.xml |
---|
| 99 | |
---|
| 100 | %dir %{_datadir}/giggle |
---|
| 101 | %dir %{_datadir}/giggle/glade |
---|
| 102 | |
---|
| 103 | %{_datadir}/giggle/glade/main-window.ui |
---|
| 104 | %{_datadir}/applications/fedora-giggle.desktop |
---|
| 105 | |
---|
| 106 | %{_datadir}/icons/hicolor/16x16/apps/*.png |
---|
| 107 | %{_datadir}/icons/hicolor/22x22/apps/*.png |
---|
| 108 | %{_datadir}/icons/hicolor/24x24/apps/*.png |
---|
| 109 | %{_datadir}/icons/hicolor/32x32/apps/*.png |
---|
| 110 | %{_datadir}/icons/hicolor/48x48/apps/*.png |
---|
| 111 | %{_datadir}/icons/hicolor/scalable/apps/*.svg |
---|
| 112 | |
---|
| 113 | %files devel |
---|
| 114 | %defattr(-,root,root,-) |
---|
| 115 | %{_includedir}/giggle/ |
---|
| 116 | %{_libdir}/*.so |
---|
| 117 | |
---|
| 118 | %changelog |
---|
[2128] | 119 | * Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-2 |
---|
| 120 | - add Source101(giggle-0.5.ja.po) |
---|
| 121 | |
---|
[2090] | 122 | * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1 |
---|
| 123 | - initial build for Vine Linux |
---|
| 124 | |
---|
| 125 | |
---|
| 126 | * Mon Jun 26 2010 Caolán McNamara <caolanm@redhat.com> 0.5-3 |
---|
| 127 | - bump for dependencies |
---|
| 128 | |
---|
| 129 | * Fri Jun 11 2010 Mike McGrath <mmcgrath@redhat.com> 0.5-2 |
---|
| 130 | - Release bump for rebuild to fix broken libedataserver dep |
---|
| 131 | |
---|
| 132 | * Wed May 05 2010 James Bowes <jbowes@redhat.com> 0.5-1 |
---|
| 133 | - Update to 0.5 |
---|
| 134 | |
---|
| 135 | * Fri Feb 12 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.4.96-1 |
---|
| 136 | - Update to 0.4.96 |
---|
| 137 | |
---|
| 138 | * Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.4.91-3 |
---|
| 139 | - Use bzipped upstream tarball. |
---|
| 140 | |
---|
| 141 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.91-2 |
---|
| 142 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 143 | |
---|
| 144 | * Fri Apr 10 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4.91-1 |
---|
| 145 | - Update to 0.4.91 |
---|
| 146 | |
---|
| 147 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.90-3 |
---|
| 148 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 149 | |
---|
| 150 | * Fri Feb 13 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4.90-2 |
---|
| 151 | - Add missing dep |
---|
| 152 | |
---|
| 153 | * Fri Feb 13 2009 Lennart Poettering <lpoetter@redhat.com> - 0.4.90-1 |
---|
| 154 | - Update to 0.4.90 |
---|
| 155 | |
---|
| 156 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4-2 |
---|
| 157 | - Autorebuild for GCC 4.3 |
---|
| 158 | |
---|
| 159 | * Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.4-1 |
---|
| 160 | - Update to 0.4 |
---|
| 161 | |
---|
| 162 | * Sun Oct 14 2007 James Bowes <jbowes@redhat.com> 0.3-5 |
---|
| 163 | - Update gtksourceview2 patch to build against current code. |
---|
| 164 | |
---|
| 165 | * Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.3-4 |
---|
| 166 | - Add BR for gtksourceview2-devel |
---|
| 167 | |
---|
| 168 | * Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.3-3 |
---|
| 169 | - Mark license as GPLv2+ |
---|
| 170 | |
---|
| 171 | * Fri Jul 6 2007 Jeremy Katz <katzj@redhat.com> - 0.3-2 |
---|
| 172 | - fix to build against gtksourceview2 |
---|
| 173 | |
---|
| 174 | * Wed May 09 2007 James Bowes <jbowes@redhat.com> - 0.3-1 |
---|
| 175 | - Update to 0.3 |
---|
| 176 | |
---|
| 177 | * Thu Mar 29 2007 James Bowes <jbowes@redhat.com> - 0.2-2 |
---|
| 178 | - Add buildrequires for git-core |
---|
| 179 | |
---|
| 180 | * Thu Mar 29 2007 James Bowes <jbowes@redhat.com> - 0.2-1 |
---|
| 181 | - Update to 0.2 |
---|
| 182 | |
---|
| 183 | * Sat Mar 17 2007 James Bowes <jbowes@redhat.com> - 0.1-3 |
---|
| 184 | - Minor specfile fixes from the initial review. |
---|
| 185 | |
---|
| 186 | * Fri Mar 09 2007 James Bowes <jbowes@redhat.com> - 0.1-2 |
---|
| 187 | - Use desktop-file-install for the desktop file. |
---|
| 188 | |
---|
| 189 | * Wed Mar 07 2007 James Bowes <jbowes@redhat.com> - 0.1-1 |
---|
| 190 | - Initial packaging. |
---|