Blame SPECS/CUnit.spec

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