ferdnyc / rpms / gucharmap

Forked from rpms/gucharmap 4 years ago
Clone
8216a19
%define glib2_version 2.3.0
981cfc1
%define gtk3_version 2.99.0
8216a19
%define desktop_file_utils_version 0.9
8216a19
8216a19
Name:           gucharmap
6141a09
Version:        3.2.1
9e60902
Release:        1%{?dist}
8216a19
Summary:        Unicode character picker and font browser
8216a19
8216a19
Group:          Applications/System
8ecc1f9
License:        GPLv3+ and GFDL and MIT
b7d608d
# GPL for the source code, GFDL for the docs, MIT for Unicode data
8216a19
URL:            http://live.gnome.org/Gucharmap
38dd48f
#VCS: git:git://git.gnome.org/gucharmap
6141a09
Source:         http://download.gnome.org/sources/gucharmap/3.2/gucharmap-%{version}.tar.xz
8216a19
8216a19
BuildRequires: gnome-doc-utils >= 0.3.2
8216a19
BuildRequires: glib2-devel >= %{glib2_version}
25f1631
BuildRequires: gtk3-devel >= %{gtk3_version}
cbe7cca
BuildRequires: gobject-introspection-devel
f819ce7
BuildRequires: GConf2-devel
364bd5a
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
8216a19
BuildRequires: scrollkeeper
60e83e6
BuildRequires: gettext
d4f532f
BuildRequires: intltool
8216a19
8216a19
%description
364bd5a
This program allows you to browse through all the available Unicode
364bd5a
characters and categories for the installed fonts, and to examine their
364bd5a
detailed properties. It is an easy way to find the character you might
8216a19
only know by its Unicode name or code point.
8216a19
8216a19
%package devel
8216a19
Summary: Libraries and headers for libgucharmap
8216a19
Group: Development/Libraries
8216a19
Requires: glib2-devel >= %{glib2_version}
f4f259e
Requires: gtk3-devel >= %{gtk3_version}
8216a19
Requires: gucharmap = %{version}-%{release}
8216a19
8216a19
%description devel
8216a19
The gucharmap-devel package contains header files and other resources
8216a19
needed to use the libgucharmap library.
8216a19
8216a19
%prep
1edf82a
%setup -q -n  %{name}-%{version}
8216a19
8216a19
%build
cbe7cca
%configure --with-gtk=3.0 \
cbe7cca
           --disable-gtk-immodules \
cbe7cca
           --disable-scrollkeeper \
cbe7cca
           --enable-introspection
8216a19
make %{?_smp_mflags}
8216a19
8216a19
8216a19
%install
8216a19
make install DESTDIR=$RPM_BUILD_ROOT RUN_QUERY_IMMODULES_TEST=false
8216a19
8216a19
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
8216a19
ec8ef34
sed -i -e "s#Icon=gucharmap.png#Icon=/usr/share/icons/hicolor/48x48/apps/gucharmap.png#" \
ec8ef34
  $RPM_BUILD_ROOT%{_datadir}/applications/gucharmap.desktop
fdc7188
8216a19
desktop-file-install --vendor gnome --delete-original       \
8216a19
  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
8216a19
  $RPM_BUILD_ROOT%{_datadir}/applications/*
8216a19
3492560
b7d608d
%find_lang gucharmap --with-gnome
8216a19
8216a19
8216a19
%post
8216a19
/sbin/ldconfig
Christopher Aillon a948233
update-desktop-database &> /dev/null || :
4a5fb43
%gconf_schema_upgrade gucharmap
Christopher Aillon a948233
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8216a19
8216a19
%postun
8216a19
/sbin/ldconfig
Christopher Aillon a948233
update-desktop-database &> /dev/null || :
Christopher Aillon a948233
if [ $1 -eq 0 ] ; then
Christopher Aillon a948233
  touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Christopher Aillon a948233
  gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8216a19
fi
8216a19
134e9af
%posttrans
Christopher Aillon a948233
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
134e9af
b5b9281
%pre
4a5fb43
%gconf_schema_prepare gucharmap
b5b9281
b5b9281
%preun
4a5fb43
%gconf_schema_remove gucharmap
8216a19
8216a19
%files -f gucharmap.lang
dda388e
%doc AUTHORS COPYING NEWS README
8216a19
%{_bindir}/charmap
8216a19
%{_bindir}/gucharmap
8216a19
%{_bindir}/gnome-character-map
25f1631
%{_libdir}/libgucharmap_2_90.so.*
8216a19
%{_datadir}/applications/gnome-gucharmap.desktop
b5b9281
%{_sysconfdir}/gconf/schemas/gucharmap.schemas
cbe7cca
%{_libdir}/girepository-1.0
8216a19
8216a19
8216a19
%files devel
25f1631
%{_includedir}/gucharmap-2.90
25f1631
%{_libdir}/libgucharmap_2_90.so
25f1631
%{_libdir}/pkgconfig/gucharmap-2.90.pc
cbe7cca
%{_datadir}/gir-1.0
8216a19
8216a19
8216a19
%changelog
6141a09
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
6141a09
- Update to 3.2.1
6141a09
e6e02c4
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
e6e02c4
- Update to 3.2.0
e6e02c4
9e60902
* Tue Sep 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.92-1
9e60902
- Update to 3.1.92
9e60902
Christopher Aillon a948233
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.1-2
Christopher Aillon a948233
- Update scriptlets
Christopher Aillon a948233
31d12c0
* Mon Apr 25 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-1
31d12c0
- Update to 3.0.1
31d12c0
4a06775
* Mon Apr  4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
4a06775
- Update to 3.0.0
4a06775
cbe7cca
* Thu Feb 24 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.2-6
cbe7cca
- Enable introspection
cbe7cca
d24bb7d
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.2-5
d24bb7d
- Rebuild against newer gtk
d24bb7d
360386d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.33.2-4
360386d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
360386d
6877501
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.2-3
6877501
- Rebuild
6877501
981cfc1
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.2-2
981cfc1
- Rebuild
981cfc1
9c94922
* Fri Jan  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.33.2-1
e301910
- Update to 2.33.2
e301910
f0a17ec
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.2-0.2.gitc50414f
f0a17ec
- Rebuild against new gtk
f0a17ec
d0584d7
* Tue Nov  2 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.2-0.1.gitc50414f
d0584d7
- Git snapshot that builds against new gtk3
d0584d7
8ecc1f9
* Mon Nov  1 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.0-3
8ecc1f9
- Update license field to match changed license (#639133)
8ecc1f9
f4f259e
* Wed Oct  6 2010 Paul Howarth <paul@city-fan.org> - 2.33.0-2
f4f259e
- gtk2 dependencies become gtk3 dependencies
10dda28
25f1631
* Mon Oct  4 2010 Matthias Clasen <mclasen@redhat.com> - 2.33.0-1
25f1631
- Update to 2.33.0
25f1631
ce2e5ab
* Wed Sep 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1
ce2e5ab
- Update to 2.32.0
ce2e5ab
09b7d08
* Tue Aug 31 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.91-1
09b7d08
- Update to 2.31.91
09b7d08
6211a09
* Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.90-1
6211a09
- Update to 2.31.90
6211a09
4a5fb43
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.1-1
4a5fb43
- Update to 2.30.1
4a5fb43
134e9af
* Mon Mar 29 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.0-1
134e9af
- Update to 2.30.0
134e9af
38dd48f
* Thu Mar 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.29.92-1
38dd48f
- Update to 2.29.92
38dd48f
72ba878
* Fri Dec  4 2009 Matthias Clasen <mclasen@redhat.com> - 2.29.1-1
72ba878
- Update to 2.29.1
0dfa264
2da96d5
* Mon Oct 19 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.1-1
2da96d5
- Update to 2.28.1
2da96d5
069053b
* Mon Sep 21 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-1
069053b
- Update to 2.28.0
069053b
ccdf849
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.3.1-3
ccdf849
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ccdf849
dfc76f0
* Wed Jul 15 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.3.1-2
dfc76f0
- Fix some stubborn button images
dfc76f0
ad39b69
* Sun Jul 12 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.3.1-1
ad39b69
- Update to 2.26.3.1
ad39b69
731a234
* Mon Apr 13 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.1-1
731a234
- Update to 2.26.1
731a234
364bd5a
* Mon Mar 16 2009 Matthias Clasen <mclasen@redhat.com> - 2.26.0-1
364bd5a
- Update to 2.26.0
364bd5a
8f1deb7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
8f1deb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8f1deb7
b92841b
* Wed Feb 18 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.91-1
b92841b
- Update to 2.25.91
b92841b
7b45692
* Thu Jan 15 2009 Matthias Clasen <mclasen@redhat.com> - 2.24.3-1
7b45692
- Update to 2.24.3
7b45692
1e107e6
* Mon Oct 20 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-1
1e107e6
- Update to 2.24.1
1e107e6
3492560
* Wed Oct  8 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-2
3492560
- Save some space
3492560
00c1566
* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
00c1566
- Update to 2.24.0
00c1566
3d28666
* Tue Sep  2 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
3d28666
- Update to 2.23.91
3d28666
1d0abaf
* Mon Aug  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.6-1
1d0abaf
- Update to 2.23.6
1d0abaf
5f75114
* Tue Jul 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.23.4-2
5f75114
- fix license tag
5f75114
518da07
* Tue Jun 17 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4-1
518da07
- Update to 2.23.4
518da07
2ff05fd
* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.1-1
2ff05fd
- Update to 2.22.1
2ff05fd
9eeba31
* Sun Mar  9 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.0-1
9eeba31
- Update to 2.22.0
9eeba31
dda388e
* Wed Jan 30 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90-1
dda388e
- Update to 2.21.90
dda388e
6d411b3
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5-1
6d411b3
- Update to 2.21.5
6d411b3
9b2ca2b
* Tue Dec 18 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.4-1
9b2ca2b
- Update to 2.21.4
9b2ca2b
06556e5
* Thu Dec  6 2007 Matthias Clasen <mclasen@redhat.com> - 2.21.3-1
06556e5
- Update to 2.21.3
06556e5
db32cd2
* Tue Sep 18 2007 Matthias Clasen <mclasen@redhat.com> - 1.10.1-1
db32cd2
- Update to 1.10.1
db32cd2
b7d608d
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 1.10.0-2
b7d608d
- Update license field
b7d608d
- Use %%find_lang for help files
b7d608d
cf683a1
* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 1.10.0-1
cf683a1
- Update to 1.10.0
cf683a1
cb1c298
* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 1.8.0-1
cb1c298
- Update to 1.8.0
cb1c298
- Require pgkconfig for the -devel package
cb1c298
622568e
* Thu Aug 02 2006 Matthias Clasen <mclasen@redhat.com> 
622568e
- Rebuild 
622568e
besfahbo adefdbb
* Wed Aug 02 2006 Behdad Esfahbod <besfahbo@redhat.com> - 1.7.0-1
besfahbo adefdbb
- Update to 1.7.0
besfahbo adefdbb
622568e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.6.0-8.1
75df5ce
- rebuild
75df5ce
ab35c58
* Fri Jun  9 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-8
ab35c58
- Add missing BuildRequires
ab35c58
3035fff
* Fri Jun  2 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-7
3035fff
- Rebuild
3035fff
8216a19
* Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-6
8216a19
- Make -devel require the exact n-v-r
8216a19
8216a19
* Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-5
8216a19
- incorporate more package review feedback
8216a19
8216a19
* Mon Apr 17 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-4
8216a19
- split off a -devel package
8216a19
8216a19
* Mon Apr 17 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-3
8216a19
- fix issues pointed out in package review
8216a19
8216a19
* Tue Apr 11 2006 Matthias Clasen <mclasen@redhat.com> 1.6.0-2
8216a19
- Initial revision