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