Compare commits

..

No commits in common. "938a950877cf010f3a9529950a05d3e132c0eb12" and "625f4419293b477389c46cdb7395cd4c48aafc1d" have entirely different histories.

2 changed files with 17 additions and 43 deletions

View File

@ -1,20 +1,16 @@
Name: libglademm24 Name: libglademm24
Version: 2.6.7 Version: 2.6.7
Release: 4 Release: 2
Summary: C++ wrapper for libglade Summary: C++ wrapper for libglade
Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://gtkmm.sourceforge.net/ #Group: Development/Libraries
URL: http://www.gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2 Source0: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
Requires(post): /sbin/ldconfig BuildRequires: gcc-c++
Requires(postun): /sbin/ldconfig
BuildRequires: gtkmm24-devel >= 2.6.0 BuildRequires: gtkmm24-devel >= 2.6.0
BuildRequires: libglade2-devel >= 2.6.1 BuildRequires: libglade2-devel >= 2.6.1
BuildRequires: gcc-c++
%description %description
This package provides a C++ interface for libglademm. It is a This package provides a C++ interface for libglademm. It is a
@ -24,54 +20,36 @@ flexible object-oriented framework.
%package devel %package devel
Summary: Headers for developing programs that will use libglademm. Summary: Headers for developing programs that will use libglademm.
Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: gtkmm24-devel
Requires: libglade2-devel
%description devel %description devel
This package contains the headers that programmers will need to This package contains the headers that programmers will need to
develop applications which will use libglademm, part of GTKmm, the C++ develop applications which will use libglademm, part of GTKmm, the C++
interface to the GTK+. interface to the GTK+.
%prep %prep
%setup -q -n libglademm-%{version} %setup -q -n libglademm-%{version}
%build %build
%configure --disable-static --enable-docs %configure --disable-static --enable-docs
make %{?_smp_mflags} %make_build
%install %install
rm -rf $RPM_BUILD_ROOT docs-to-include rm -rf docs-to-include
make install DESTDIR=$RPM_BUILD_ROOT %make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.la" -print -delete
%{__mkdir} docs-to-include %{__mkdir} docs-to-include
%{__mv} ${RPM_BUILD_ROOT}%{_docdir}/gnomemm-2.6/libglademm-2.4/* docs-to-include/ %{__mv} ${RPM_BUILD_ROOT}%{_docdir}/gnomemm-2.6/libglademm-2.4/* docs-to-include/
rm -f ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libglademm-2.4/* rm -f ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libglademm-2.4/*
%ldconfig_scriptlets
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files %files
%defattr(-, root, root, -) %license COPYING
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README %doc AUTHORS ChangeLog INSTALL NEWS README
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
%defattr(-, root, root, -)
%doc docs-to-include/* %doc docs-to-include/*
%{_includedir}/libglademm-2.4 %{_includedir}/libglademm-2.4
%{_libdir}/*.so %{_libdir}/*.so
@ -79,8 +57,5 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Sat Feb 12 2022 dillon chen <dillon.chen@gmail.com> - 2.6.7-4
- add buildrequires gcc-c++
* Wed Jul 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 2.6.7-1 * Wed Jul 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 2.6.7-1
- Init package - Init package

View File

@ -1,5 +1,4 @@
version_control: ftp version_control: git
src_repo: http://ftp.gnome.org/pub/GNOME/sources/libglademm/ src_repo:
tag_pattern: (.*)/ tag_prefix: "libglademm24-"
separator: . seperator: "."