ferdnyc / rpms / gucharmap

Forked from rpms/gucharmap 4 years ago
Clone
a0f7777
%define glib2_version 2.32.0
a0f7777
%define gtk3_version 3.4.0
8216a19
%define desktop_file_utils_version 0.9
8216a19
8216a19
Name:           gucharmap
f9e5805
Version:        3.14.1
03d435b
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
Richard Hughes 8bab978
URL:            http://live.gnome.org/Apps/Gucharmap
38dd48f
#VCS: git:git://git.gnome.org/gucharmap
a4e67b2
Source:         http://download.gnome.org/sources/gucharmap/3.14/gucharmap-%{version}.tar.xz
a4e67b2
66a8950
BuildRequires: appdata-tools
8216a19
BuildRequires: glib2-devel >= %{glib2_version}
25f1631
BuildRequires: gtk3-devel >= %{gtk3_version}
cbe7cca
BuildRequires: gobject-introspection-devel
364bd5a
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
60e83e6
BuildRequires: gettext
d4f532f
BuildRequires: intltool
Richard Hughes 6fba56f
BuildRequires: itstool
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: 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
           --enable-introspection
8216a19
make %{?_smp_mflags}
8216a19
3b32efb
sed -i -e '/^Requires.private/d' gucharmap-2.90.pc
3b32efb
8216a19
8216a19
%install
a4baa6b
make install DESTDIR=$RPM_BUILD_ROOT
8216a19
8216a19
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
8216a19
fdc3c68
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gucharmap.desktop
3492560
b7d608d
%find_lang gucharmap --with-gnome
8216a19
8216a19
8216a19
%post
8216a19
/sbin/ldconfig
Christopher Aillon a948233
update-desktop-database &> /dev/null || :
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 || :
0c0ed22
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
8216a19
fi
8216a19
134e9af
%posttrans
Christopher Aillon a948233
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
0c0ed22
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
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.*
Richard Hughes 0e4dc9d
%{_datadir}/appdata/gucharmap.appdata.xml
fdc3c68
%{_datadir}/applications/gucharmap.desktop
cbe7cca
%{_libdir}/girepository-1.0
4b1285a
%{_datadir}/glib-2.0/schemas/org.gnome.Charmap.enums.xml
4b1285a
%{_datadir}/glib-2.0/schemas/org.gnome.Charmap.gschema.xml
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
f9e5805
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
f9e5805
- Update to 3.14.1
f9e5805
a4e67b2
* Sun Sep 21 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
a4e67b2
- Update to 3.14.0
a4e67b2
03d435b
* Tue Aug 19 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
03d435b
- Update to 3.13.90
03d435b
c3804fc
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.1-4
c3804fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c3804fc
06fafc6
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-3
06fafc6
- Rebuilt for gobject-introspection 1.41.4
06fafc6
f2c6374
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.1-2
f2c6374
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f2c6374
98a9be7
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
98a9be7
- Update to 3.12.1
98a9be7
Richard Hughes cf347d8
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
Richard Hughes cf347d8
- Update to 3.12.0
Richard Hughes cf347d8
Richard Hughes bc4a479
* Thu Nov 14 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
Richard Hughes bc4a479
- Update to 3.10.1
Richard Hughes bc4a479
Richard Hughes 28cfd34
* Tue Oct 29 2013 Richard Hughes <rhughes@redhat.com> - 3.10.0-1
Richard Hughes 28cfd34
- Update to 3.10.0
Richard Hughes 28cfd34
Richard Hughes 7fdef85
* Wed Sep 25 2013 Richard Hughes <rhughes@redhat.com> - 3.9.99-1
Richard Hughes 7fdef85
- Update to 3.9.99
Richard Hughes 7fdef85
f9db3f3
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.92-1
f9db3f3
- Update to 3.9.92
f9db3f3
de52734
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
de52734
- Update to 3.9.90
de52734
7d0d85d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-2
7d0d85d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7d0d85d
Richard Hughes 63db45e
* Mon May 13 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
Richard Hughes 63db45e
- Update to 3.8.2
Richard Hughes 63db45e
2b5ecf2
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
2b5ecf2
- Update to 3.8.1
2b5ecf2
8c6cc4a
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
8c6cc4a
- Update to 3.8.0
8c6cc4a
Richard Hughes 1ac5ba9
* Tue Mar 19 2013 Richard Hughes <rhughes@redhat.com> - 3.7.92-1
Richard Hughes 1ac5ba9
- Update to 3.7.92
Richard Hughes 1ac5ba9
fdc3c68
* Fri Feb 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.6.1-3
fdc3c68
- Drop the desktop file vendor prefix
fdc3c68
a8d2c37
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.1-2
a8d2c37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a8d2c37
8df3a27
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
8df3a27
- Update to 3.6.1
8df3a27
a0f7777
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.0-1
a0f7777
- Update to 3.6.0
a0f7777
dfa3621
* Tue Sep 25 2012 Matthias Clasen <mclasen@redhat.com> - 3.5.99-1
dfa3621
- Update to 3.5.99
dfa3621
Richard Hughes 9778109
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
Richard Hughes 9778109
- Update to 3.5.90
Richard Hughes 9778109
61c205a
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-2
61c205a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
61c205a
Richard Hughes bad02c6
* Mon Jun 25 2012 Richard Hughes <hughsient@gmail.com> - 3.5.1-1
Richard Hughes bad02c6
- Update to 3.5.1
Richard Hughes bad02c6
Richard Hughes eb5cbde
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.0-1
Richard Hughes eb5cbde
- Update to 3.5.0
Richard Hughes eb5cbde
0c0ed22
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1.1-2
0c0ed22
- Silence rpm scriptlet output
0c0ed22
1bc48f2
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1.1-1
1bc48f2
- Update to 3.4.1.1
1bc48f2
6dea1ef
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0.1-1
6dea1ef
- Update to 3.4.0.1
6dea1ef
3b32efb
* Wed Mar  7 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.1-2
3b32efb
- Fix pc file
3b32efb
e17d4fa
* Tue Feb  7 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.1-1
e17d4fa
- Update to 3.3.1
e17d4fa
a9b5b99
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-2
a9b5b99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a9b5b99
a983152
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.0-1
a983152
- Update to 3.3.0
a983152
acb4366
* Tue Nov 22 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.2-1
acb4366
- Update to 3.2.2
acb4366
3a528d9
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
3a528d9
- Rebuilt for glibc bug#747377
3a528d9
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