|
|
90029a |
%global tarver 2.1-3
|
|
|
90029a |
|
|
|
90029a |
Name: CUnit
|
|
|
90029a |
Version: 2.1.3
|
|
|
90029a |
Release: 17%{?dist}
|
|
|
90029a |
Summary: Unit testing framework for C
|
|
|
90029a |
|
|
|
90029a |
Group: System Environment/Libraries
|
|
|
90029a |
License: LGPLv2+
|
|
|
90029a |
URL: http://cunit.sourceforge.net/
|
|
|
90029a |
Source0: http://downloads.sourceforge.net/cunit/%{name}-%{tarver}.tar.bz2
|
|
|
90029a |
|
|
|
90029a |
BuildRequires: automake
|
|
|
90029a |
BuildRequires: libtool
|
|
|
90029a |
|
|
|
90029a |
%description
|
|
|
90029a |
CUnit is a lightweight system for writing, administering,
|
|
|
90029a |
and running unit tests in C. It provides C programmers a basic
|
|
|
90029a |
testing functionality with a flexible variety of user interfaces.
|
|
|
90029a |
|
|
|
90029a |
%package devel
|
|
|
90029a |
Summary: Header files and libraries for CUnit development
|
|
|
90029a |
Group: Development/Libraries
|
|
|
90029a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
90029a |
|
|
|
90029a |
%description devel
|
|
|
90029a |
The %{name}-devel package contains the header files
|
|
|
90029a |
and libraries for use with CUnit package.
|
|
|
90029a |
|
|
|
90029a |
%prep
|
|
|
90029a |
%setup -q -n %{name}-%{tarver}
|
|
|
90029a |
find -name *.c -exec chmod -x {} \;
|
|
|
90029a |
|
|
|
90029a |
%build
|
|
|
90029a |
autoreconf -f -i
|
|
|
90029a |
%configure --disable-static
|
|
|
90029a |
make %{?_smp_mflags}
|
|
|
90029a |
|
|
|
90029a |
%install
|
|
|
90029a |
make install DESTDIR=%{buildroot}
|
|
|
90029a |
rm -f `find %{buildroot} -name *.la`
|
|
|
90029a |
|
|
|
90029a |
# work around bad docdir= in doc/Makefile*
|
|
|
90029a |
mkdir -p %{buildroot}%{_docdir}/%{name}
|
|
|
90029a |
mv %{buildroot}%{_prefix}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
|
|
|
90029a |
|
|
|
90029a |
# add some doc files into the buildroot manually (#1001276)
|
|
|
90029a |
for f in AUTHORS ChangeLog COPYING NEWS README TODO VERSION ; do
|
|
|
90029a |
install -p -m0644 -D $f %{buildroot}%{_docdir}/%{name}/${f}
|
|
|
90029a |
done
|
|
|
90029a |
|
|
|
90029a |
%post -p /sbin/ldconfig
|
|
|
90029a |
|
|
|
90029a |
%postun -p /sbin/ldconfig
|
|
|
90029a |
|
|
|
90029a |
%files
|
|
|
90029a |
%{_datadir}/%{name}/
|
|
|
90029a |
%{_libdir}/libcunit.so.*
|
|
|
90029a |
%dir %{_docdir}/%{name}
|
|
|
90029a |
%{_docdir}/%{name}/AUTHORS
|
|
|
90029a |
%{_docdir}/%{name}/ChangeLog
|
|
|
90029a |
%{_docdir}/%{name}/COPYING
|
|
|
90029a |
%{_docdir}/%{name}/NEWS
|
|
|
90029a |
%{_docdir}/%{name}/README
|
|
|
90029a |
%{_docdir}/%{name}/TODO
|
|
|
90029a |
%{_docdir}/%{name}/VERSION
|
|
|
90029a |
|
|
|
90029a |
%files devel
|
|
|
90029a |
%{_docdir}/%{name}/html/
|
|
|
90029a |
%{_includedir}/%{name}/
|
|
|
90029a |
%{_libdir}/libcunit.so
|
|
|
90029a |
%{_libdir}/pkgconfig/cunit.pc
|
|
|
90029a |
%{_mandir}/man3/CUnit.3*
|
|
|
90029a |
|
|
|
90029a |
%changelog
|
|
|
90029a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-17
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-16
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-15
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-14
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-13
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-12
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-11
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-10
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Sun Jun 1 2014 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1.3-9
|
|
|
90029a |
- Fix HTML documentation installation location.
|
|
|
90029a |
- Replace CUnit-2.1-3-src.tar.bz2 tarball, which really
|
|
|
90029a |
is 2.1-2 in disguise according to configure.in, with 2.1-3 as
|
|
|
90029a |
published on 2014-04-24.
|
|
|
90029a |
- BR libtool
|
|
|
90029a |
- Run autoreconf instead of autoconf.
|
|
|
90029a |
- Drop --enable-curses because without BuildRequires ncurses-devel it
|
|
|
90029a |
would disable itself automatically (and if it were enabled, test programs
|
|
|
90029a |
would need to link with ncurses explicitly).
|
|
|
90029a |
|
|
|
90029a |
* Sun Sep 29 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 2.1.3-8
|
|
|
90029a |
- Add %%_isa to -devel base package dependency.
|
|
|
90029a |
- Headers get installed by "make install", copying them from the HTML
|
|
|
90029a |
doc headers dir is not necessary.
|
|
|
90029a |
- Configure build with --disable-static.
|
|
|
90029a |
- Drop unneeded spec stuff (buildroot def, removal, clean, pkgconfig dep).
|
|
|
90029a |
- Using %%defattr is not needed anymore.
|
|
|
90029a |
- Deduplicate documentation files in unversioned docdir (#1001276).
|
|
|
90029a |
|
|
|
90029a |
* Tue Sep 10 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-7
|
|
|
90029a |
- Fix build with unversioned docdir (#1001276)
|
|
|
90029a |
|
|
|
90029a |
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-6
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Fri Jun 21 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-5
|
|
|
90029a |
- Use header files from doc folder as well
|
|
|
90029a |
- Enable curses
|
|
|
90029a |
|
|
|
90029a |
* Sat Apr 20 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject.org> - 2.1.3-4
|
|
|
90029a |
- Use autoconf for ARM
|
|
|
90029a |
|
|
|
90029a |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-3
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-2
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Wed May 2 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1.3-1
|
|
|
90029a |
- Updated to 2.1.3 sources re-run with autoreconf.
|
|
|
90029a |
|
|
|
90029a |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-8
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-7
|
|
|
90029a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
90029a |
|
|
|
90029a |
* Sat Jan 29 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1.2-6
|
|
|
90029a |
- Changed Group to System Environment/Libraries.
|
|
|
90029a |
- Remove executable permission from C files.
|
|
|
90029a |
- Created two separate patches for Makefile and manpage fixes.
|
|
|
90029a |
- Removed passing datarootdir from configure.
|
|
|
90029a |
|
|
|
90029a |
* Thu Jan 20 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1.2-5
|
|
|
90029a |
- Renamed Source0 to use Fedora sourceforge.net naming guidelines.
|
|
|
90029a |
- Removed exit call in library patch.
|
|
|
90029a |
- Use A.B.C version number.
|
|
|
90029a |
|
|
|
90029a |
* Thu Jan 20 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-4
|
|
|
90029a |
- Updated to license LGPLv2+.
|
|
|
90029a |
- Changed to use BuildRoot.
|
|
|
90029a |
- Added comments for inclusion of patches.
|
|
|
90029a |
- Removed inconsistent macro usage.
|
|
|
90029a |
- Moved man page, HTML documentation to devel package.
|
|
|
90029a |
- Added AUTHORS, COPYING, README, TODO to doc in base package.
|
|
|
90029a |
- Used * in man, library inclusion.
|
|
|
90029a |
|
|
|
90029a |
* Sun Dec 26 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-3
|
|
|
90029a |
- Created patch to fix man page warnings and datarootdir settings.
|
|
|
90029a |
- Added patch to remove exit calls in library.
|
|
|
90029a |
|
|
|
90029a |
* Wed Dec 15 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-2
|
|
|
90029a |
- Moved libcunit.so.* to main package.
|
|
|
90029a |
- Added post, postun ldconfig.
|
|
|
90029a |
- Added smp flags for make build.
|
|
|
90029a |
- Changed datarootdir to datadir.
|
|
|
90029a |
|
|
|
90029a |
* Tue Dec 14 2010 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 2.1_2-1
|
|
|
90029a |
- First CUnit package.
|
|
|
90029a |
|