SHA256
1
0
forked from pool/libHX
Jan Engelhardt 2010-12-01 02:54:02 +00:00 committed by Git OBS Bridge
parent 6cd011dbea
commit 84f8abe6ec
2 changed files with 16 additions and 15 deletions

View File

@ -5,6 +5,7 @@ Wed Dec 1 02:01:41 UTC 2010 - jengelh@medozas.de
* HXdir_{open,read,close} now work with struct HXdir * * HXdir_{open,read,close} now work with struct HXdir *
instead of void * instead of void *
* xml_newnode prototype changed to accomodate subtext * xml_newnode prototype changed to accomodate subtext
- Run hxtools's spec-beautifier on specfile
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 25 21:44:17 UTC 2010 - jengelh@medozas.de Wed Aug 25 21:44:17 UTC 2010 - jengelh@medozas.de

View File

@ -20,7 +20,7 @@
Name: libHX Name: libHX
%define lname libHX25 %define lname libHX25
BuildRequires: gcc-c++ xz BuildRequires: gcc-c++, xz
Summary: Useful collection of routines for C and C++ programming Summary: Useful collection of routines for C and C++ programming
Version: 3.7 Version: 3.7
Release: 0 Release: 0
@ -29,9 +29,9 @@ Group: System/Libraries
Source: http://downloads.sf.net/libhx/libHX-%version.tar.xz Source: http://downloads.sf.net/libhx/libHX-%version.tar.xz
Source3: http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc Source3: http://downloads.sf.net/libhx/libHX-%version.tar.xz.asc
Source2: baselibs.conf Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %_tmppath/%name-%version-build
%define debug_package_requires %lname = %{version}-%{release} %define debug_package_requires %lname = %version-%release
Url: http://libhx.sf.net/ URL: http://libhx.sf.net/
%description %description
A library for: A library for:
@ -55,7 +55,7 @@ License: LGPL v2+
Summary: Useful collection of routines for C and C++ programming Summary: Useful collection of routines for C and C++ programming
Group: System/Libraries Group: System/Libraries
%description -n %{lname} %description -n %lname
A library for: A library for:
- hash/rbtree-based maps/sets - hash/rbtree-based maps/sets
- double-ended queues (stacks/fifos/lists) - double-ended queues (stacks/fifos/lists)
@ -76,7 +76,7 @@ Authors:
License: LGPL v2+ License: LGPL v2+
Summary: Useful collection of routines for C and C++ programming Summary: Useful collection of routines for C and C++ programming
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %lname = %version
%description devel %description devel
A library for: A library for:
@ -105,20 +105,20 @@ fi
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=${RPM_BUILD_ROOT} docdir=%{_defaultdocdir}/%{name} make install DESTDIR=%buildroot docdir=%_defaultdocdir/%name
mkdir -p "${RPM_BUILD_ROOT}/%_docdir"; mkdir -p "%buildroot/%_docdir";
install -pm0644 doc/* "${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}" install -pm0644 doc/* "%buildroot/%_defaultdocdir/%name"
rm -f ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}/Makefile* rm -f %buildroot/%_defaultdocdir/%name/Makefile*
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/%{name}.la rm -f %buildroot/%_libdir/%name.la
%check %check
make check make check
%post -n %{lname} -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %{lname} %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
/%_libdir/%{name}*.so.* /%_libdir/%{name}*.so.*
@ -127,7 +127,7 @@ make check
%docdir %_docdir/%name %docdir %_docdir/%name
%_docdir/%name %_docdir/%name
%_includedir/%{name}* %_includedir/%{name}*
/%{_libdir}/%{name}*.so /%_libdir/%{name}*.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%changelog %changelog