Blame SPECS/esc.spec

398870
Name: esc 
398870
Version: 1.1.2
d4df7e
Release: 18%{?dist}
398870
Summary: Enterprise Security Client Smart Card Client
398870
License: GPL+
398870
URL: http://directory.fedora.redhat.com/wiki/CoolKey 
398870
Group: Applications/Internet
398870
398870
#Fix to harden linker flags.
398870
Patch1: esc-1.1.2-fix1.patch
398870
Patch2: esc-1.1.2-fix2.patch
398870
Patch3: esc-1.1.2-fix3.patch
398870
Patch4: esc-1.1.2-fix4.patch
06b522
Patch5: esc-1.1.2-fix5.patch
06b522
Patch6: esc-1.1.2-fix6.patch
1d0024
Patch7: esc-1.1.2-fix7.patch
1d0024
Patch8: esc-1.1.2-fix8.patch
1d0024
Patch9: esc-1.1.2-fix9.patch
a3d1b6
Patch10: esc-1.1.2-fix10.patch
398870
398870
398870
#BuildRequires: doxygen fontconfig-devel
398870
BuildRequires: glib2-devel atk-devel
398870
BuildRequires: pkgconfig
398870
BuildRequires: nspr-devel nss-devel nss-static
398870
#BuildRequires: libX11-devel libXt-devel
398870
398870
BuildRequires: pcsc-lite-devel
398870
BuildRequires: desktop-file-utils
398870
BuildRequires: pkgconfig(gconf-2.0)
398870
BuildRequires: dbus-glib-devel
398870
BuildRequires: glib2-devel
398870
BuildRequires: opensc
398870
BuildRequires: gobject-introspection-devel
398870
BuildRequires: gtk3-devel
398870
BuildRequires: gjs-devel
398870
398870
398870
Requires: pcsc-lite nss nspr
398870
Requires: dbus
398870
Requires: opensc
398870
Requires: gjs
398870
Requires: gobject-introspection
398870
Requires: gtk3
398870
Requires: glib2
398870
398870
AutoReqProv: 0
398870
398870
%define debug_build       0
398870
398870
%define escname %{name}-%{version}
398870
%define escdir %{_libdir}/%{escname}
398870
%define escbindir %{_bindir}
398870
%define esc_chromepath   chrome/content/esc
398870
%define appdir applications
398870
%define icondir %{_datadir}/icons/hicolor/48x48/apps
398870
%define esc_vendor esc 
398870
%define autostartdir %{_sysconfdir}/xdg/autostart
398870
%define pixmapdir  %{_datadir}/pixmaps
398870
%define docdir    %{_defaultdocdir}/%{name}
398870
398870
Source0: http://pki.fedoraproject.org/pki/sources/%name/%{escname}.tar.bz2 
398870
Source1: http://pki.fedoraproject.org/pki/sources/%name/esc
398870
Source2: http://pki.fedoraproject.org/pki/sources/%name/esc.desktop
398870
Source3: http://pki.fedoraproject.org/pki/sources/%name/esc.png
398870
398870
398870
%description
398870
Enterprise Security Client allows the user to enroll and manage their
398870
cryptographic smartcards.
398870
398870
%prep
398870
398870
%setup -q -c -n %{escname}
398870
398870
#patch esc 
398870
398870
%patch1 -p1 -b .fix1
398870
%patch2 -p1 -b .fix2
398870
%patch3 -p1 -b .fix3
398870
%patch4 -p1 -b .fix4
06b522
%patch5 -p1 -b .fix5
06b522
%patch6 -p1 -b .fix6
1d0024
%patch7 -p1 -b .fix7
1d0024
%patch8 -p1 -b .fix8
1d0024
%patch9 -p1 -b .fix9
a3d1b6
%patch10 -p1 -b .fix10
398870
398870
398870
%build
398870
398870
echo $RPM_BUILD_DIR
398870
398870
echo "build section" $PWD
398870
cd esc 
398870
398870
./autogen.sh
398870
make 
398870
%install
398870
398870
echo "install section" $PWD
398870
cd esc
398870
make DESTDIR=$RPM_BUILD_ROOT install
398870
398870
mkdir -p $RPM_BUILD_ROOT/%{escbindir}
398870
mkdir -p $RPM_BUILD_ROOT/%{icondir}
398870
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{appdir}
398870
mkdir -p $RPM_BUILD_ROOT/%{pixmapdir}
398870
mkdir -p $RPM_BUILD_ROOT/%{docdir}
398870
398870
echo "dir: "  $RPM_BUILD_ROOT/%{escbindir}/%{name}
398870
sed -e 's;\$LIBDIR;'%{_libdir}';g' -e 's;\$VERSION;'%{version}';g'  %{SOURCE1} > $RPM_BUILD_ROOT/%{escbindir}/%{name}
398870
chmod 755 $RPM_BUILD_ROOT/%{escbindir}/%{name}
398870
398870
mkdir -p $RPM_BUILD_ROOT/%{escdir}
398870
mkdir -p $RPM_BUILD_ROOT/%{escdir}/lib
398870
398870
cp $RPM_BUILD_ROOT/usr/local/bin/* $RPM_BUILD_ROOT/%{escdir}
398870
398870
cp -rf $RPM_BUILD_ROOT/usr/local/lib $RPM_BUILD_ROOT/%{escdir}
398870
398870
rm $RPM_BUILD_ROOT/%{escdir}/lib/*.a
398870
rm $RPM_BUILD_ROOT/%{escdir}/lib/*.la
398870
398870
398870
rm -rf $RPM_BUILD_ROOT/usr/local
398870
398870
cp %{SOURCE3} $RPM_BUILD_ROOT/%{icondir}
398870
ln -s $RPMBUILD_ROOT%{icondir}/esc.png $RPM_BUILD_ROOT/%{pixmapdir}/esc.png
398870
398870
cp %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{appdir}
398870
398870
cd %{_builddir}
398870
cp %{escname}/esc/LICENSE $RPM_BUILD_ROOT/%{docdir}
398870
398870
398870
%files
398870
%{!?_licensedir:%global license %%doc}
398870
%license %{docdir}/LICENSE
398870
398870
%{escbindir}/esc
398870
%{escdir}/lib
398870
%{escdir}/esc.js
398870
%{escdir}/esc.properties
398870
%{escdir}/operationDialog.js
398870
%{escdir}/phoneHome.js
398870
%{escdir}/pinDialog.js
398870
%{escdir}/opensc.esc.conf
398870
398870
398870
%{icondir}/esc.png
398870
%{pixmapdir}/esc.png
398870
%{_datadir}/%{appdir}/esc.desktop
398870
398870
%changelog
d4df7e
* Tue Mar 30 2021 Jack Magne <jmagne@redhat.com> - 1.1.2-18
d4df7e
- Related: rhbz#1870715 - HP Keyboard does not list the certificates on an enrolled smart card.
d4df7e
- Re-spin with greater release number, to apease tps tests.
a3d1b6
* Mon Nov 23 2020 Jack Magne <jmagne@redhat.com> - 1.1.2-15
d4df7e
- Resolves: rhbz#1870715 - HP Keyboard does not list the certificates on an enrolled smart card.
1d0024
* Fri Aug 07 2020 Jack Magne <jmagne@redhat.com> - 1.1.2-14
1d0024
- Resolves: rhbz#1848629 - Smartcard is not detected by esc. Ammendment to bug fix.
1d0024
* Fri Aug 07 2020 Jack Magne <jmagne@redhat.com> - 1.1.2-13
1d0024
- Resolves: rhbz#1848629 - Smartcard is not detected by esc
1d0024
* Sat May 30 2020 Jack Magne <jmagne@redhat.com> - 1.1.2-12
1d0024
- Resolves: rhbz#1646486 - alt tokens not detected by ESC
1d0024
- Resolves: rhbz#1774750 - ESC's unusual behavior after formatting a blank Gemalto token
1d0024
- Resolves: rhbz#1774770 - After formatting a Gemalto/SCP03 token, ESC shows incorrect Issuer, Issued To, Status, and Token ID details
06b522
* Wed Nov 13 2019 Jack Magne <jmagne@redhat.com> - 1.1.2-11
06b522
- Resolves: rhbz#1724787 - ESC - HTTP GET Requests incorrectly Being Sent To TPS for Token Operations [8.2] 
06b522
- Resolves: rhbz#1734117 - ESC does not detect/recognize both clean and formatted (with phone home) smart cards
06b522
- Resolves: rhbz#1733645 - Gemalto, CAC, SCP01 cards are not detected by HP keyboard KUS1206 with builtin smartcard reader
06b522
* Fri Jun 14 2019 Jack Magne <jmagne@redhat.com> - 1.1.2-10
06b522
- Resolves: rhbz#1679659 - esc changes blocked until gating tests are added.
06b522
- Added notification list in yaml file, so entities are notified of changes.
06b522
* Thu Apr 25 2019 Jack Magne <jmagne@redhat.com> - 1.1.2-9
06b522
- Resolves:  rhbz#1679659 - esc changes blocked until gating tests are added
06b522
- Fixed the gating test string to adhere to format.
06b522
* Mon Apr 15 2019 Jack Magne <jmagne@redhat.com> - 1.1.2-8
06b522
- Resolves:  rhbz#1679659 - esc changes blocked until gating tests are added
398870
* Fri Feb 01 2019 Jack Magne <jmagne@redhat.com> - 1.1.2-7
398870
- #Related: Bug 1596915 - Remove XULRunner from ESC. Minor launch 
398870
- script fix.
398870
* Thu Jan 10 2019 Jack Magne <jmagne@redhat.com> - 1.1.2-6
398870
- #Resolve: Bug 1638011 - esc docdir should not be versioned in rhel8.
398870
- #Resolve: Bug 1596915 - Remove XULRunner from ESC. 
398870
* Fri Oct 12 2018 Jack Magne <jmagne@redhat.com> - 1.1.2-4
398870
- #Resolve: Bug 1633238 - ESC crashes when smartcard is detected.
398870
* Mon Oct 08 2018 Jack Magne <jmagne@redhat.com> - 1.1.2-4
398870
- #Resolve: Bug 1630560 - Review annocheck distro flag failures in esc.
398870
* Wed Aug 22 2018 Jack Magne <jmagne@redhat.com> - 1.1.2-3
398870
- Remove remaining arch exclusions.
398870
* Wed Aug 01 2018 Jack Magne <jmagne@redhat.com> - 1.1.2-1
398870
- Remove uneeded Requires and no longer put in autostart directory.
398870
* Mon Jul 30 2018 Jack Magne <jmagne@redhat.com> - 1.1.2-1
398870
- Build bare bones esc, without xulrunner, using gjs / gobject 
398870
- introspection.
398870
* Thu Jun 07 2018 Jack Magne <jmagne@redhat.com> - 1.1.1-5
398870
- Rebuild.
398870
* Mon Apr 23 2018 Jack Magne <jmagne@redhat.com> - 1.1.1-4 
398870
- Remove coolkey dependencies, replace with opensc.
398870
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
398870
398870
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.1-2
398870
- Remove obsolete scriptlets
398870
398870
* Mon Aug 07 2017 - 1.1.1-1
398870
- Rebuilt using internally built xulrunner, due to the xulrunner package going away.
398870
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-32
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
398870
398870
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-31
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
398870
398870
* Sun May  8 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.0-30
398870
- Secondary arch fixes
398870
- Use %%license
398870
398870
* Mon Feb 08 2016 Jack Magne <jmagne@redhat.com> 1.1.0-29
398870
- Apease latest xullrunner api changes.
398870
398870
* Thu Apr 09 2015 Jack Magne <jmagne@redhat.com> 1.1.0-27
398870
- More xulrunner adjustments.
398870
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-26
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
398870
398870
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-25
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
398870
398870
* Wed Apr 23 2014 Jack Magne <jmagne@redhat.com>=1.1.0-24
398870
- Fix minor http client error.
398870
* Thu Apr 17 2014 Jack Maghe <jmagne@redhat.com>=1.1.0-23
398870
- Appease more xulrunner changes.
398870
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-23
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
398870
398870
* Sun Jul  7 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.1.0-22
398870
- Make buildable with kernels > 3.5.
398870
- %%changelog syntax and bogus date fixes.
398870
- Bump xulrunner version to 22.0.
398870
398870
* Mon Jun 17 2013 Jack Magne <jmagne@redhat.com>- 1.1.0-21
398870
- Appease latest compiler errors and build to xulrunner 21.0.
398870
* Wed Nov 28 2012 Jack Magne <jmagne@redhat.com>- 1.1.0-20
398870
- Gecko no longer supports UniversalXPConnect, remove it.
398870
* Wed Nov 21 2012 Jack Magne <jmagne@redhat.com>- 1.1.0-19
398870
- Pick up latest fixes.
398870
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-18
398870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
398870
398870
* Fri Jun 22 2012   Jack Magne <jmagne@redhat.com>- 1.1.0-17
398870
- Related #688361 - Get ESC to run on Gecko 2.0, again.
398870
* Thu May 10 2012   Jack Magne <jmagne@redhat.com>- 1.1.0-16
398870
- Related #688361 - Get ESC to run on Gecko 2.0.
398870
* Mon Feb 20 2012   Jack Magne <jmagne@redhat.com>- 1.1.0-15
398870
- Related #688361 - Get ESC to run on Gecko 2.0.
398870
* Tue Nov 29 2011   Jack Magne <jmagne@redhat.com>- 1.1.0-14
398870
- Related #688361 - Get ESC to run on Gecko 2.0.
398870
* Thu Apr 15 2010   Jack Magne <jmagne@redhat.com>- 1.1.0-11
398870
- Adjust for new linking rules.
398870
* Tue Sep 15 2009   Jack Magne <jmagne@redhat.com>- 1.1.0-10
398870
- Pick up latest improvements.
398870
* Mon Jun 22 2009  Jack Magne <jmagne@redhat.com>- 1.1.0-9
398870
- Related: #496410, also IPV6 support.
398870
* Fri Jun 19 2009  Jack Magne <jmagne@redhat.com>- 1.1.0-8
398870
- Related: #496410, SSL Conn fix.
398870
* Mon Jun 8  2009  Jack Magne <jmagne@redhat.com>- 1.1.0-7
398870
- Releated: #496410.
398870
* Thu Apr 23 2009  Jack Magne <jmagne@redhat.com>- 1.1.0-6
398870
- Related: #496410. Appease rpmdiff.
398870
* Wed Apr 22 2009  Jack Magne <jmagne@redhat.com>- 1.1.0-5
398870
- Related: #496410, addresses 494981, better error message.
398870
* Wed Apr 22 2009  Jack Magne <jmagne@redhat.com>- 1.1.0-4
398870
- Move to latest rebased code. Related #496410.
398870
* Thu Dec 04 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-39
398870
- Resolves #469202 - Cert Viewer issue              
398870
* Tue Nov 11 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-38
398870
- Resolves  #471923 - ESC Connection issue.
398870
* Thu Oct 16 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-37
398870
- Resolves #467126 - Blank authentication dialog problem. 
398870
* Fri Sep 26 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-36
398870
- Related #200475 - Require the xulrunner package, Resolves #248493
398870
* Thu Sep 18 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-35
398870
- Related 200475, make rpmdiff tests happy.
398870
* Tue Sep 16 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-34
398870
- Resolves #200475 #253081 #437238
398870
* Thu Jan 10 2008  Jack Magne <jmagne@redhat.com>- 1.0.0-33
398870
- Resolves #25324a8 #253268
398870
* Thu Jul 12 2007  Jack Magne <jmagne@redhat.com>- 1.0.0-32
398870
- Resolves #248071 - ESC RPM unistall failure if daemon not running.
398870
* Fri Jun 22 2007  Jack Magne <jmagne@redhat.com>- 1.0.0-31
398870
- Related #208038 - Top things to put in diagnostics log
398870
* Wed Jun 20 2007  Jack Magne <jmagne@redhat.com>- 1.0.0-30
398870
- Related #204021
398870
* Fri Jun 8 2007   Jack Magne <jmagne@redhat.com>- 1.0-0-29
398870
- Related #212010
398870
* Fri Jun 8 2007   Jack Magne <jmagne@redhat.com>- 1.0.0-28
398870
- Resolves #212010 
398870
* Tue Jun 5 2007   Jack Magne <jmagne@redhat.com>- 1.0.0-27 
398870
- Resolves #203466 Better error message strings.
398870
* Mon May 21 2007  Jack Magne <jmagne@redhat.com>- 1.0.0-26
398870
- Related: #206783 Fix the launcher script to work with new logging.
398870
* Fri May 11 2007  Jack Magne <jmagne@redhat.com>- 1.0.0-25
398870
- Resolves: #206783.
398870
* Mon Apr 23 2007 Jack Magne <jmagne@redhat.com>- 1.0.0-24
398870
- More Desktop appearance fixes.
398870
- Related: #208749
398870
* Mon Apr 23 2007  Jack Magne <jmagne@redhat.com>- 1.0.0-23
398870
- Desktop appearance fixes.
398870
- Related: #208749
398870
* Thu Apr 19 2007 Jack Magne <jmagne@redhat.com>- 1.0.0-22
398870
- Second drop of 5.1 fixes.
398870
- Resolves: #203934, #203935, #204959, #206780, #206792, #207721
398870
- Resolves: #207816, #206791
398870
- Related:  #208749
398870
* Wed Apr 18 2007 Jack Magne <jmagne@redhat.com>- 1.0.0-21
398870
- First 5.1 fixes.
398870
- Resolves: #203757, #203806, #204661, #205856, #206788, #206791
398870
- Resolves: #208037, #208333, #210589, #210590, #213912, #226913
398870
- Resolves: #204021, #205498, #224436
398870
* Tue Nov 28 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-20
398870
- fix for bug to commit config changes immediately.  Bug #210988
398870
* Wed Nov 15 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-19
398870
-fix for escd double free problem. Bug #209882
398870
* Tue Oct 24 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-18
398870
-rebuilt on RHEL-5 branch
398870
* Wed Oct 4  2006 Jack Magne <jmagne@redhat.com>- 1.0.0-17
398870
- Diagnostics display fixes, Mac and Window fixes.
398870
398870
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-16
398870
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
398870
398870
* Fri Sep 22 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-15
398870
- Fix to the build version
398870
398870
* Fri Sep 22 2006 Jack Magne <jmagne@redhat.com>= 1.0.0-14
398870
- Fix to compile error in daemon
398870
398870
* Fri Sep 22 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-13
398870
- Fix to include the new esc daemon.  
398870
398870
* Sat Sep 16 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-12
398870
- Fix for Password Reset and minor UI revision.
398870
398870
* Fri Sep 15 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-11
398870
- Further UI enhancement bug fixes
398870
398870
* Thu Sep 7 2006 Jack Magne <jmagne@redhat.com>- 1.0.0-10
398870
- Further strings revisions.
398870
398870
* Wed Aug 30 2006 Jack Magne <jmagne@redhat.com>-  1.0.0-9
398870
- Revision of the strings used in ESC.
398870
398870
* Wed Aug 30 2006 Jack Magne <jmagne@redhat.com>-  1.0.0-8
398870
- Fixes to get libnotify working properly on FC6 systems.
398870
398870
* Tue Aug 22 2006 Jack Magne <jmagne@redhat.com> - 1.0.0-7
398870
- Fix for bug #203211, use of system NSS and NSPR for
398870
- Xulrunner ,addressing the problem running on 64 bit.
398870
- Overwriting 5 and 6 due to important bug #203211.
398870
398870
* Fri Aug  18 2006 Jack Magne <jmagne@redhat.com> - 1.0.0-6
398870
- Correct problem with Patch #6
398870
398870
* Fri Aug  18 2006 Jack Magne <jmagne@redhat.com> - 1.0.0-5
398870
- Build ESC's xulrunner component using system nss and nspr
398870
- Build process creates run script based on {_libdir} variable,
398870
  accounting for differences on 64 bit machines.
398870
- UI enhancements
398870
398870
* Tue Aug  1 2006 Matthias Clasen <mclasen@redhat.com> - 1.0.0-4
398870
- Don't auto-generate requires either
398870
398870
* Mon Jul 31 2006 Matthias Clasen <mclasen@redhat.com> - 1.0.0-3
398870
- Don't provide mozilla libraries
398870
398870
* Fri Jul 28 2006 Ray Strode <rstrode@redhat.com> - 1.0.0-2
398870
- remove bogus gtk+ requires (and some others that will
398870
  be automatic)
398870
398870
* Tue Jun 13 2006 Jack Magne <jmagne@redhat.com> - 1.0.0-1
398870
- Initial revision for fedora
398870