From 7a4ece0ae418c721d800e5395e270e650b9b40ab Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Nov 14 2009 12:31:06 +0000 Subject: Sat Nov 14 2009 Krzesimir Nowak - 0.22.1-4 - Initial import to CVS. --- diff --git a/.cvsignore b/.cvsignore index e69de29..ac8e374 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libvtemm-0.22.1.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..f5b6f3c --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libvtemm-0_22_1-4_fc11:HEAD:libvtemm-0.22.1-4.fc11.src.rpm:1258201763 diff --git a/libvtemm.spec b/libvtemm.spec new file mode 100644 index 0000000..2c9ad71 --- /dev/null +++ b/libvtemm.spec @@ -0,0 +1,110 @@ +%global api 1.2 + +Name: libvtemm +Version: 0.22.1 +Release: 4%{?dist} + +Summary: C++ interface for VTE (a GTK2 terminal emulator widget) + +Group: System Environment/Libraries +# library is LGPLv3+, examples are GPLv3+. +License: LGPLv3+ and GPLv3+ +URL: http://gtkmm.org +Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.22/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: glibmm24-devel >= 2.18.0 +BuildRequires: pangomm-devel >= 2.14.0 +BuildRequires: gtkmm24-devel >= 2.14.0 +BuildRequires: vte-devel >= 0.22.0 + +%description +libvtemm provides a C++ interface to the VTE library. + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: gtkmm24-devel +Requires: vte-devel +Requires: pkg-config + +%description devel +This package contains the static libraries and header files needed for +developing libvtemm applications. + +%package docs +Summary: Documentation for %{name}, includes full API docs +Group: Documentation +# .devhelp2 file is put into ${_datadir}/gtk-doc directory which is owned by +# gtk-doc. +Requires: gtk-doc + +%description docs +This package contains the full API documentation for %{name}. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure +make %{?_smp_mflags} V=1 + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' + +# move devhelp file to gtk-doc directory - it will avoid devhelp dependency by +# putting it in directory not owned by devhelp, but by gtk-doc, on which +# gtkmm/glibmm/othermm-docs implicitely depends anyway +mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/%{name}-%{api} +mv %{buildroot}%{_datadir}/devhelp/books/%{name}-%{api}/%{name}-%{api}.devhelp2 %{buildroot}%{_datadir}/gtk-doc/html/%{name}-%{api} + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root, -) +%doc AUTHORS ChangeLog COPYING COPYING.examples NEWS README +%doc old_news_and_changelogs/ChangeLog* old_news_and_changelogs/NEWS* +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root, -) +# examples +%doc %{_datadir}/%{name}-%{api} +%{_includedir}/%{name}-%{api} +%{_libdir}/*.so +%{_libdir}/%{name}-%{api} +%{_libdir}/pkgconfig/*.pc + +%files docs +%defattr(-, root, root, -) +# API docs. +%doc %{_datadir}/gtk-doc/html/%{name}-%{api} +# .devhelp2 file. +%doc %{_docdir}/%{name}-%{api} + +%changelog +* Wed Nov 11 2009 Krzesimir Nowak - 0.22.1-4 +- Enable verbose build. + +* Thu Nov 5 2009 Krzesimir Nowak - 0.22.1-3 +- Place documentation in original place, so base in .devhelp2 file is unchanged. +- Place examples in original place. +- Fixed license. + +* Wed Nov 4 2009 Krzesimir Nowak - 0.22.1-2 +- Rename from libvtemm12 to libvtemm. +- Remove devel package dependency from docs package. + +* Mon Oct 12 2009 Krzesimir Nowak - 0.22.1-1 +- New upstream release. + +* Mon Oct 5 2009 Krzesimir Nowak - 0.22.0-1 +- Initial rpm. diff --git a/sources b/sources index e69de29..864bd1b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2607e589f20f2a7638f6a6a55bfd3506 libvtemm-0.22.1.tar.bz2