a410aca
%bcond_without  doc
a410aca
%bcond_without  xtst
a410aca
%bcond_without  notification
a410aca
cassmodiah fe9405d
Name:           florence
a410aca
Version:        0.6.3
JasenChao e6983db
Release:        23%{?dist}
cassmodiah fe9405d
Summary:        Extensible scalable on-screen virtual keyboard for GNOME 
cassmodiah fe9405d
License:        GPLv2+ and GFDL
cassmodiah 5e3df81
URL:            http://florence.sourceforge.net
cassmodiah fe9405d
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
308c704
Patch0: florence-c99.patch
768d8fb
BuildRequires:  desktop-file-utils
768d8fb
BuildRequires:  GConf2-devel
a410aca
BuildRequires:  glib2-devel
2d74420
BuildRequires:  gcc
a410aca
%if %{with doc}
768d8fb
BuildRequires:  gnome-doc-utils
a410aca
%endif
aad8877
BuildRequires:  gstreamer1-devel
768d8fb
BuildRequires:  gtk3-devel
768d8fb
BuildRequires:  intltool
a410aca
#BuildRequires:  libgnome-devel
a410aca
%if %{with notification}
768d8fb
BuildRequires:  libnotify-devel
a410aca
%endif
768d8fb
BuildRequires:  librsvg2-devel
aad8877
BuildRequires:  libXext-devel
a410aca
BuildRequires:  libxml2-devel
a410aca
%if %{with xtst}
768d8fb
BuildRequires:  libXtst-devel
a410aca
%endif
909bccf
BuildRequires:  scrollkeeper
d0f408a
BuildRequires: make
JasenChao e6983db
%ifarch aarch64 riscv64
a33979d
BuildRequires: chrpath
a33979d
%endif
768d8fb
Requires:       control-center
cassmodiah fe9405d
cassmodiah fe9405d
%description
cassmodiah fe9405d
Florence is an extensible scalable virtual keyboard for GNOME. 
cassmodiah fe9405d
You need it if you can't use a real hardware keyboard, for 
cassmodiah fe9405d
example because you are disabled, your keyboard is broken or 
cassmodiah fe9405d
because you use a tablet PC, but you must be able to use a pointing 
cassmodiah fe9405d
device (as a mouse, a trackball or a touchscreen).
cassmodiah fe9405d
cassmodiah fe9405d
Florence stays out of your way when you don't need it: 
cassmodiah fe9405d
it appears on the screen only when you need it. 
cassmodiah fe9405d
A Timer-based auto-click functionality is available 
cassmodiah fe9405d
to help disabled people having difficulties to click.
cassmodiah fe9405d
a410aca
%package        devel
a410aca
Summary:        Development files for %{name}
a410aca
Requires:       %{name}%{?_isa} = %{version}-%{release}
a410aca
a410aca
%description    devel
a410aca
This package contains libraries and header files for
a410aca
developing applications that use %{name}.
a410aca
cassmodiah fe9405d
%prep
308c704
%autosetup -p1
a410aca
sed -i -e 's|Icon=.*|Icon=%{name}|g' -e '/Encoding/d' data/%{name}.desktop.in.in
cassmodiah fe9405d
cassmodiah fe9405d
%build
a410aca
%configure  \
a410aca
%if %{without doc}
a410aca
            --without-docs \
a410aca
%endif
a410aca
%if %{without notification}
a410aca
            --without-notification \
a410aca
%endif
a410aca
%if %{without xtst}
a410aca
            --without-xtst \
a410aca
%endif
a410aca
%if %{without doc}
a410aca
            --without-docs \
a410aca
%endif
a410aca
            --with-panelapplet \
a410aca
            --without-at-spi \
a410aca
            --disable-static
8fb4650
make
cassmodiah fe9405d
cassmodiah fe9405d
%install
cassmodiah 689c761
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
768d8fb
%make_install
cassmodiah fe9405d
a410aca
find %{buildroot} -name '*.*a' -delete -print
a410aca
cassmodiah 5e3df81
desktop-file-install \
cassmodiah 5e3df81
        --delete-original \
cassmodiah 5761881
        --remove-category="Application" \
cassmodiah 5e3df81
        --add-category="Utility" \
cassmodiah dfd2f44
        --dir=%{buildroot}%{_datadir}/applications \
768d8fb
        %{buildroot}%{_datadir}/applications/%{name}.desktop
cassmodiah fe9405d
768d8fb
install -pDm0644 data/%{name}.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
cassmodiah fe9405d
JasenChao e6983db
%ifarch aarch64 riscv64
a33979d
chrpath --delete %{buildroot}/usr/bin/florence
a33979d
%endif
a33979d
cassmodiah 0cedb2b
%find_lang %{name}
cassmodiah 0cedb2b
cassmodiah 0cedb2b
%files -f %{name}.lang
a410aca
%doc AUTHORS ChangeLog README
a410aca
%license COPYING COPYING-DOCS
cassmodiah fe9405d
%{_bindir}/%{name}
a410aca
%{_datadir}/%{name}/
cassmodiah 689c761
%{_datadir}/applications/%{name}.*
a410aca
%if %{with doc}
cassmodiah fe9405d
%{_datadir}/gnome/help/%{name}/
cassmodiah fe9405d
%{_datadir}/omf/%{name}/
Simon Dietz 8d5a53d
%{_mandir}/man1/%{name}.*
Simon Dietz 8d5a53d
%{_mandir}/man1/%{name}_applet.*
a410aca
%endif
a410aca
%{_datadir}/pixmaps/%{name}.svg
a410aca
%{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
a410aca
%{_libdir}/libflorence-1.0.so.*
a410aca
a410aca
%files devel
a410aca
%{_includedir}/%{name}-1.0/
a410aca
%{_libdir}/libflorence-1.0.so
a410aca
%{_libdir}/pkgconfig/%{name}-1.0.pc
cassmodiah fe9405d
cassmodiah fe9405d
%changelog
JasenChao e6983db
* Thu Mar 07 2024 Zhao Jiasheng <JasenChao@gmail.com> - 0.6.3-23
JasenChao e6983db
- Fix build on riscv64.
JasenChao e6983db
20b3a8e
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-22
20b3a8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
20b3a8e
20ca5a7
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-21
20ca5a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
20ca5a7
65ff4a3
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-20
65ff4a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
65ff4a3
308c704
* Thu Jan 19 2023 Florian Weimer <fweimer@redhat.com> - 0.6.3-19
308c704
- Apply upstream patch to fix C99 compatibility issue
308c704
8dca3f6
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-18
8dca3f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
8dca3f6
fe82cfe
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-17
fe82cfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
fe82cfe
bb45957
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-16
bb45957
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
bb45957
b75ab30
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-15
b75ab30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b75ab30
90d065d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-14
90d065d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
90d065d
f2cc2b1
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-13
f2cc2b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f2cc2b1
36770ff
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-12
36770ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
36770ff
271ad44
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-11
271ad44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
271ad44
905bbde
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-10
905bbde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
905bbde
2d74420
* Tue Jul 17 2018 Kevin Fenzi <kevin@scrye.com> - 0.6.3-9
2d74420
- Fix FTBFS by adding BuildRequires: gcc
2d74420
97ba880
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-8
97ba880
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
97ba880
58ff322
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-7
58ff322
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
58ff322
36cd7fd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6
36cd7fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
36cd7fd
191f5dc
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-5
191f5dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
191f5dc
7fca52f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
7fca52f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7fca52f
bd93391
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
bd93391
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bd93391
76dd0fd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
76dd0fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
76dd0fd
a410aca
* Wed Mar 04 2015 Christopher Meng <rpm@cicku.me> - 0.6.3-1
a410aca
- Update to 0.6.3
a410aca
- Temporarily disable at-spi support since it's broken here.
a410aca
e8957c6
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
e8957c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e8957c6
4f8b6dd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
4f8b6dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4f8b6dd
768d8fb
* Sat May 17 2014 Christopher Meng <rpm@cicku.me> - 0.6.2-1
768d8fb
- Update to 0.6.2
768d8fb
768d8fb
* Tue May 13 2014 Christopher Meng <rpm@cicku.me> - 0.6.1-1
768d8fb
- Update to 0.6.1
768d8fb
- Switch to GTK3 and at-spi2.
768d8fb
- SPEC cleanup, remove obsoleted scrollkeeper actions.
768d8fb
Simon Dietz 8d5a53d
* Sat Aug 10 2013 Simon Dietz <cassmodiah@fedoraproject.org> - 0.6.0-1
Simon Dietz 8d5a53d
- New upstream release
Simon Dietz 8d5a53d
47b1188
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-7
47b1188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
47b1188
3bc9108
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-6
3bc9108
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3bc9108
7735959
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5
7735959
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7735959
5fc4a6f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
5fc4a6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5fc4a6f
2774a41
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.5.0-3
2774a41
- Rebuild for new libpng
2774a41
Simon Wesp 3ad4660
* Tue Aug 02 2011 Simon Wesp <cassmodiah@fedoraproject.org> - 0.5.0-2
Simon Wesp 3ad4660
- Fixing RHBZ#690475
Simon Wesp 3ad4660
Simon Wesp 0969e00
* Fri Jan 28 2011 Simon Wesp <cassmodiah@fedoraproject.org> - 0.5.0-1
Simon Wesp 0969e00
- New upstream release
636e194
Simon Wesp 7089446
* Fri Nov 12 2010 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.7-2
Simon Wesp 7089446
- Build without libnotify
Simon Wesp 7089446
cassmodiah ce240ae
* Wed Jun 23 2010 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.7-1
cassmodiah ce240ae
- New Upstream Release
cassmodiah ce240ae
cassmodiah 848bf7f
* Sat Mar 27 2010 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.6-2
cassmodiah 848bf7f
- Patch DSO
cassmodiah 848bf7f
cassmodiah fb16e18
* Thu Jan 28 2010 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.6-1
cassmodiah fb16e18
- New upstream release
cassmodiah fb16e18
- Fixed RHBZ #550165
cassmodiah fb16e18
cassmodiah 1306d01
* Fri Dec 11 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.5-1
cassmodiah 1306d01
- New upstream release
cassmodiah 1306d01
cassmodiah f8caea3
* Thu Oct 22 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.4-1
cassmodiah f8caea3
- New upstream release
cassmodiah f8caea3
cassmodiah 7fd0796
* Thu Aug 20 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.3-1
cassmodiah 7fd0796
- New upstream release
cassmodiah 7fd0796
6df1a3f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
6df1a3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6df1a3f
cassmodiah fb68cfd
* Fri Jul 17 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.2-1
cassmodiah fb68cfd
- New upstream release
cassmodiah fb68cfd
cassmodiah 689c761
* Sat Jun 13 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.2-0.1
cassmodiah 689c761
- Update to an unofficial prerelease (upstream sent it via email)
cassmodiah 689c761
cassmodiah 8099942
* Tue Jun 02 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.1-1
cassmodiah 8099942
- New upstream release
cassmodiah 8099942
cassmodiah dfd2f44
* Mon Mar 23 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.4.0-1
cassmodiah dfd2f44
- New upstream release
cassmodiah dfd2f44
cassmodiah 0cedb2b
* Sun Feb 22 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.3.3-1
cassmodiah 0cedb2b
- New upstream release
cassmodiah 0cedb2b
cassmodiah 0cedb2b
* Mon Jan 26 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.3.2-1
cassmodiah 0cedb2b
- New upstream release
cassmodiah 0cedb2b
768d8fb
* Thu Dec 18 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.3.1-1
cassmodiah 5761881
- New upstream release
cassmodiah 5761881
- Move installation of icon from highcolortheme to DATADIR/pixmaps
cassmodiah 5761881
cassmodiah 5e3df81
* Wed Nov 19 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.3.0-2
cassmodiah 5e3df81
- Correct URL
cassmodiah 5e3df81
- Correct categories of desktop-file (Bug #472174)
cassmodiah 5e3df81
cassmodiah 2da4bd8
* Tue Sep 16 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.3.0-1
cassmodiah 2da4bd8
- New upstream release 
cassmodiah 2da4bd8
cassmodiah fe9405d
* Wed Jul 30 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.3-2
cassmodiah fe9405d
- Create and add patch0 
cassmodiah fe9405d
cassmodiah fe9405d
* Tue Jul 29 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.3-1
cassmodiah fe9405d
- New upstream release
cassmodiah fe9405d
- Delete warning-patch by Robert Scheck - included in new release
cassmodiah fe9405d
- Delete sed command to edit schemas file - included in new release
cassmodiah fe9405d
- Add sed command to delete file-extension in .desktop-file
cassmodiah fe9405d
cassmodiah fe9405d
* Sun Jul 27 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.2-5
cassmodiah fe9405d
- Edit specfile bug #454208 C14 C15
cassmodiah fe9405d
cassmodiah fe9405d
* Sun Jul 27 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.2-4
cassmodiah fe9405d
- Edit specfile bug #454208 C8
cassmodiah fe9405d
- Edit files section
cassmodiah fe9405d
- Add warning-patch by Robert Scheck
cassmodiah fe9405d
cassmodiah fe9405d
* Thu Jul 24 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.2-3
cassmodiah fe9405d
- Edit specfile bug #454208 C4 C5 C6
cassmodiah fe9405d
- Add scrollkeeper 
cassmodiah fe9405d
cassmodiah fe9405d
* Fri Jul 11 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.2-2
cassmodiah fe9405d
- Add .desktop file
cassmodiah fe9405d
- Add script to correct dirty gconf-settings
cassmodiah fe9405d
cassmodiah fe9405d
* Sun Jul 06 2008 Simon Wesp <cassmodiah@fedoraproject.org> - 0.2.2-1
cassmodiah fe9405d
- Initial Release