98 lines
2.9 KiB
RPMSpec
98 lines
2.9 KiB
RPMSpec
%global major_version 0.9
|
|
|
|
Name: mm-common
|
|
Version: %{major_version}.3
|
|
Release: 2%{?dist}
|
|
Summary: Common build files of the C++ bindings
|
|
|
|
Group: Development/Tools
|
|
BuildArch: noarch
|
|
License: GPLv2+
|
|
URL: http://gtkmm.org
|
|
Source0: http://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: pkgconfig
|
|
Requires: graphviz
|
|
Requires: doxygen
|
|
Requires: libxslt
|
|
# mm-common install some files under datadir/aclocal/.
|
|
Requires: automake
|
|
|
|
%description
|
|
The mm-common module provides the build infrastructure and utilities
|
|
shared among the GNOME C++ binding libraries. It is a required dependency
|
|
to build glibmm and gtkmm from tarballs.
|
|
|
|
%package docs
|
|
Summary: Documentation for %{name}, includes example mm module skeleton
|
|
Group: Documentation
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description docs
|
|
Package contains short documentation for %{name} and example skeleton module,
|
|
which could be used as a base for new mm module.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p" CPPROG="cp -p"
|
|
# Moving a pc file from libdir directory into datadir, because it doesn't
|
|
# contain any arch-specific information.
|
|
# this line should be removed when a bug linked below is resolved.
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=645080
|
|
mv %{buildroot}/%{_libdir}/pkgconfig/mm-common-util.pc %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING ChangeLog NEWS AUTHORS
|
|
%{_mandir}/man1/*
|
|
%{_bindir}/*
|
|
%{_datadir}/aclocal/*
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/%{name}/*
|
|
%{_datadir}/pkgconfig/*.pc
|
|
|
|
%files docs
|
|
%defattr(-,root,root,-)
|
|
%dir %{_docdir}/%{name}
|
|
%{_docdir}/%{name}/*
|
|
|
|
%changelog
|
|
* Thu Mar 17 2011 Krzesimir Nowak <qdlacz@gmail.com> - 0.9.3-2
|
|
- Move a pkgconfig file from libdir to datadir, so it will remain a Noarch.
|
|
|
|
* Thu Mar 17 2011 Krzesimir Nowak <qdlacz@gmail.com> - 0.9.3-1
|
|
- New upstream release.
|
|
- Becomes a required dependency to build glibmm-2.27.97.
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Wed Feb 10 2010 Krzesimir Nowak <qdlacz@gmail.com> - 0.9.2-1
|
|
- New upstream release.
|
|
|
|
* Tue Jan 5 2010 Krzesimir Nowak <qdlacz@gmail.com> - 0.9.1-1
|
|
- New upstream release.
|
|
- Removed GFDL from license - doxygen docs have the same license as source code.
|
|
|
|
* Mon Sep 21 2009 Krzesimir Nowak <qdlacz@gmail.com> - 0.8-1
|
|
- New upstream release.
|
|
|
|
* Sun Sep 13 2009 Krzesimir Nowak <qdlacz@gmail.com> - 0.7.3-2
|
|
- Added automake to `Requires:'.
|
|
- Fixed some directory ownerships.
|
|
- Preserve timestamps during install.
|
|
|
|
* Thu Sep 10 2009 Krzesimir Nowak <qdlacz@gmail.com> - 0.7.3-1
|
|
- Initial RPM release.
|