2625698
Name:           libHX
c080d36
Version:        3.22
5d84698
Release:        5%{?dist}
242137d
Summary:        Useful collection of routines for C and C++ programming
2625698
2625698
Group:          System Environment/Libraries
2625698
License:        LGPLv2 or LGPLv3
a91cd25
URL:            http://sourceforge.net/projects/libhx/
d9f55c7
Source0:        http://downloads.sourceforge.net/libhx/libHX-%{version}.tar.xz
c080d36
Source1:        http://downloads.sourceforge.net/libhx/libHX-%{version}.tar.asc
c080d36
Source2:        gpgkey-B56B8B9D9915AA8796EDC013DFFF2CDB19FC338D.gpg
2625698
6b3a445
BuildRequires:  perl-interpreter gcc-c++
c080d36
# For source verification with gpgv
c080d36
BuildRequires:  gpg xz
2625698
2625698
2625698
%description
242137d
libHX is a C library (with some C++ bindings available) that provides data
242137d
structures and functions commonly needed, such as maps, deques, linked lists,
242137d
string formatting and autoresizing, option and config file parsing, type
242137d
checking casts and more.
242137d
242137d
libHX aids in quickly writing up C and C++ data processing programs, by
242137d
consolidating tasks that often happen to be open-coded, such as (simple) config
242137d
file reading, option parsing, directory traversal, and others, into a library.
242137d
The focus is on reducing the amount of time (and secondarily, the amount of
242137d
code) a developer has to spend for otherwise implementing such.
2625698
2625698
2625698
%package        devel
2625698
Summary:        Development files for %{name}
2625698
Group:          Development/Libraries
8f49067
Requires:       %{name}%{?_isa} = %{version}-%{release}
2625698
2625698
%description    devel
2625698
The %{name}-devel package contains libraries and header files for
2625698
developing applications that use %{name}.
2625698
2625698
2625698
%prep
c080d36
xzcat %{SOURCE0} | gpgv --quiet --keyring %{SOURCE2} %{SOURCE1} -
2625698
%setup -q
2625698
2625698
2625698
%build
073b6e1
# Without --docdir=.. package installs docs into ../libhx
073b6e1
%configure --disable-static --disable-silent-rules  \
073b6e1
  --with-pkgconfigdir=%{_libdir}/pkgconfig \
073b6e1
  --docdir=%{_pkgdocdir}
073b6e1
make %{?_smp_mflags}
e0bef64
2625698
2625698
%install
073b6e1
%make_install
2625698
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
2625698
073b6e1
# Install additional docs
073b6e1
install -m 644 README.txt \
073b6e1
  doc/api.txt \
073b6e1
  doc/assorted.txt \
073b6e1
  doc/changelog.txt \
073b6e1
  doc/ux-*.txt \
073b6e1
  $RPM_BUILD_ROOT%{_pkgdocdir}
2625698
2625698
2625698
%post -p /sbin/ldconfig
2625698
2625698
%postun -p /sbin/ldconfig
2625698
2625698
2625698
%files
073b6e1
%license LICENSE.LGPL2 LICENSE.LGPL3 LICENSE.GPL3
073b6e1
%{_libdir}/libHX_rtcheck.so
073b6e1
%{_libdir}/libHX.so.28
073b6e1
%{_libdir}/libHX.so.28.3.0
2625698
2625698
2625698
%files devel
073b6e1
%{_pkgdocdir}
073b6e1
8d201e8
%dir %{_includedir}/libHX
8d201e8
%{_includedir}/libHX.h
8d201e8
%{_includedir}/libHX/ctype_helper.h
8d201e8
%{_includedir}/libHX/defs.h
8d201e8
%{_includedir}/libHX/deque.h
8d201e8
%{_includedir}/libHX/init.h
05eb450
%{_includedir}/libHX/io.h
8d201e8
%{_includedir}/libHX/libxml_helper.h
8d201e8
%{_includedir}/libHX/list.h
8d201e8
%{_includedir}/libHX/map.h
8d201e8
%{_includedir}/libHX/misc.h
8d201e8
%{_includedir}/libHX/option.h
8d201e8
%{_includedir}/libHX/proc.h
8d201e8
%{_includedir}/libHX/string.h
8d201e8
%{_includedir}/libHX/wx_helper.hpp
8d201e8
%{_libdir}/libHX.so
2625698
%{_libdir}/pkgconfig/libHX.pc
2625698
2625698
2625698
%changelog
5d84698
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22-5
5d84698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5d84698
073b6e1
* Wed Mar 16 2016 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 3.22-4
073b6e1
- Rework doc installation (F24FTBFS, RHBZ#1307712).
073b6e1
- Modernize spec.
073b6e1
- Add %%license.
073b6e1
b961dd7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.22-3
b961dd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b961dd7
5cf6ba9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.22-2
5cf6ba9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5cf6ba9
c080d36
* Sun Nov 09 2014 Till Maas <opensource@till.name> - 3.22-1
c080d36
- Update to latest release
c080d36
- Add source code verification
c080d36
- Harden build
c080d36
71e76b2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18-3
71e76b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
71e76b2
f608059
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18-2
f608059
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f608059
10f4320
* Wed Jan 15 2014 Till Maas <opensource@till.name> - 3.18-1
10f4320
- Update to new release
10f4320
d66edf5
* Mon Oct 07 2013 Till Maas <opensource@till.name> - 3.16-1
d66edf5
- Update to new release
d66edf5
93615ed
* Mon Aug 05 2013 Till Maas <opensource@till.name> - 3.15-3
93615ed
- Use %%{_pkgdocdir}
93615ed
29723ee
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15-2
29723ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
29723ee
205b4eb
* Sun Jul 07 2013 Till Maas <opensource@till.name> - 3.15-1
205b4eb
- Update to new release
205b4eb
- Move library to /usr, since /lib etc are symlinks to their /usr counterparts
205b4eb
f3be11b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.1-2
f3be11b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f3be11b
56c13da
* Tue Jan 15 2013 Till Maas <opensource@till.name> - 3.14.1-1
56c13da
- Update to new release
56c13da
6d7d74f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.1-2
6d7d74f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6d7d74f
05eb450
* Wed Mar 21 2012 Till Maas <opensource@till.name> - 3.12.1-1
05eb450
- Update to new release
05eb450
4676e7f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-4
4676e7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4676e7f
8f49067
* Thu Nov 24 2011 Till Maas <opensource@till.name> - 3.6-3
8f49067
- Add %%{?_isa}
8f49067
70ac6af
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-2
70ac6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
70ac6af
e38339d
* Mon Aug 16 2010 Till Maas <opensource@till.name> - 3.6-1
e38339d
- really update to latest release
e38339d
8d201e8
* Mon Aug 16 2010 Till Maas <opensource@till.name> - 3.5-1
8d201e8
- Update to latest release
8d201e8
- remove devel %%files %%{_includedir} globbing
8d201e8
- Update soname
8d201e8
8d201e8
* Sat Aug 07 2010 Till Maas <opensource@till.name> - 3.4-2
8d201e8
- Use less globbing in %%files to detect changes
8d201e8
d9f55c7
* Sun May 16 2010 Till Maas <opensource@till.name> - 3.4-1
d9f55c7
- Update to new release
d9f55c7
65f298b
* Thu Sep 24 2009 Till Maas <opensource@till.name> - 3.1-1
65f298b
- Update to new release
65f298b
62c9a68
* Thu Aug 27 2009 Till Maas <opensource@till.name> - 3.0-1
62c9a68
- Update to new release
62c9a68
4c9b6b6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-2
4c9b6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4c9b6b6
129f87b
* Thu Jul 02 2009 Till Maas <opensource@till.name> - 2.8-1
129f87b
- Update to new release
129f87b
- Define docdir for %%configure, because of installed PDF documentation
129f87b
a91cd25
* Tue Mar 03 2009 Till Maas <opensource@till.name> - 2.5-1
a91cd25
- Update to new release
a91cd25
- Update URL/Source0 to SF.net webpage
a91cd25
7ebd7f3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
7ebd7f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7ebd7f3
00685a7
* Tue Jan 20 2009 Till Maas <opensource@till.name> - 2.3-1
00685a7
- Update to new release
00685a7
00685a7
* Mon Dec 29 2008 Till Maas <opensource@till.name> - 2.1-1
00685a7
- Update to new release
00685a7
1fba189
* Sat Dec 20 2008 Till Maas <opensource@till.name> - 1.25-3
1fba189
- Fix .so symlink
1fba189
d5d67b4
* Thu Nov 27 2008 Till Maas <opensource@till.name> - 1.25-2
d5d67b4
- Move libHX.so.* to /%%{_lib} because of /sbin/mount.crypt from pam_mount
d5d67b4
7316172
* Thu Sep 11 2008 Till Maas <opensource@till.name> - 1.25-1
7316172
- Update to latest version
7316172
d44c95e
* Fri Sep 05 2008 Till Maas <opensource@till.name> - 1.23-1
d44c95e
- Update to latest version
d44c95e
c7e4389
* Wed Jun 11 2008 Till Maas <opensource till name> - 1.18-2
c7e4389
- Set variable V for make: displays full compiler commandline
c7e4389
32df6e6
* Wed Jun 11 2008 Till Maas <opensource till name> - 1.18-1
32df6e6
- Update to latest version
32df6e6
702baeb
* Tue May 27 2008 Till Maas <opensource till name> - 1.17-1
702baeb
- Update to latest version
702baeb
e0bef64
* Mon May 05 2008 Till Maas <opensource till name> - 1.15-1
e0bef64
- Update to latest version
e0bef64
- Update description
e0bef64
9665c72
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.10.2-2
9665c72
- Autorebuild for GCC 4.3
9665c72
5986c06
* Wed Dec 26 2007 Till Maas <opensource till name> - 1.10.2-1
5986c06
- update to latest version
5986c06
- fixed bug: https://sourceforge.net/tracker/?func=detail&atid=430593&aid=1845721&group_id=41452
5986c06
2625698
* Thu Sep 27 2007 Till Maas <opensource till name> - 1.10.1-2
2625698
- add tests as examples to devel documentation
2625698
2625698
* Wed Sep 26 2007 Till Maas <opensource till name> - 1.10.1-1
2625698
- initial spec for Fedora