Compare commits
10 Commits
625f441929
...
938a950877
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
938a950877 | ||
|
|
f0ef81e0ac | ||
|
|
32291272af | ||
|
|
c9c1c58ac5 | ||
|
|
e6f6031601 | ||
|
|
f620e2b07c | ||
|
|
950555da69 | ||
|
|
cc2da18c33 | ||
|
|
972c057b0e | ||
|
|
5f3757db17 |
@ -1,16 +1,20 @@
|
||||
Name: libglademm24
|
||||
Version: 2.6.7
|
||||
Release: 2
|
||||
Release: 4
|
||||
|
||||
Summary: C++ wrapper for libglade
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
#Group: Development/Libraries
|
||||
URL: http://www.gtkmm.org/
|
||||
URL: http://gtkmm.sourceforge.net/
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
#BuildArch: noarch
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
BuildRequires: gtkmm24-devel >= 2.6.0
|
||||
BuildRequires: libglade2-devel >= 2.6.1
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
This package provides a C++ interface for libglademm. It is a
|
||||
@ -20,36 +24,54 @@ flexible object-oriented framework.
|
||||
|
||||
%package devel
|
||||
Summary: Headers for developing programs that will use libglademm.
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: gtkmm24-devel
|
||||
Requires: libglade2-devel
|
||||
|
||||
%description devel
|
||||
This package contains the headers that programmers will need to
|
||||
develop applications which will use libglademm, part of GTKmm, the C++
|
||||
interface to the GTK+.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n libglademm-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-docs
|
||||
%make_build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf docs-to-include
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -print -delete
|
||||
rm -rf $RPM_BUILD_ROOT docs-to-include
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||
%{__mkdir} 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/*
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog INSTALL NEWS README
|
||||
%defattr(-, root, root, -)
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root, -)
|
||||
%doc docs-to-include/*
|
||||
%{_includedir}/libglademm-2.4
|
||||
%{_libdir}/*.so
|
||||
@ -57,5 +79,8 @@ rm -f ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libglademm-2.4/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%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
|
||||
- Init package
|
||||
@ -1,4 +1,5 @@
|
||||
version_control: git
|
||||
src_repo:
|
||||
tag_prefix: "libglademm24-"
|
||||
seperator: "."
|
||||
version_control: ftp
|
||||
src_repo: http://ftp.gnome.org/pub/GNOME/sources/libglademm/
|
||||
tag_pattern: (.*)/
|
||||
separator: .
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user