%define majver %(echo %version | cut -d. -f1-2) Name: gwenhywfar Version: 4.13.1 Release: 1mamba Summary: A tool to allow porting of software to different operating systems like Linux, *BSD, Windows etc. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://gwenhywfar.sourceforge.net # Needs download by hand from http://www2.aquamaniac.de/sites/download/packages.php Source: http://downloads.sourceforge.net/project/gwenhywfar/gwenhywfar-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libgtk2-devel BuildRequires: libpango-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Gwenhywfar allows porting of your software to different operating systems like Linux, *BSD, Windows etc. It also provides you with some often needed modules such as configuration file handling, simple XML file parsing, IPC etc. This package contains static libraries and header files need for development. %prep %setup -q %build %configure \ --with-openssl-libs="`pkg-config --libs openssl`" \ --with-qt4-libs="%{_qt4_libdir}" %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) #%config(noreplace) %{_sysconfdir}/gwen-public-ca.crt %{_libdir}/libgwenhywfar.so.* %{_libdir}/libgwengui-cpp.so.* %{_libdir}/libgwengui-gtk2.so.* %{_libdir}/libgwengui-qt4.so.* %dir %{_libdir}/gwenhywfar/plugins %{_libdir}/gwenhywfar/plugins/* %dir %{_datadir}/gwenhywfar %{_datadir}/gwenhywfar/ca-bundle.crt %dir %{_datadir}/gwenhywfar/dialogs/ %{_datadir}/gwenhywfar/dialogs/dlg_*.dlg %dir %{_datadir}/gwenhywfar/typemaker2 %dir %{_datadir}/gwenhywfar/typemaker2/c %{_datadir}/gwenhywfar/typemaker2/c/*.tm2 %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_bindir}/gsa %{_bindir}/gct-tool %{_bindir}/gwenhywfar-config %{_bindir}/mklistdoc %{_bindir}/typemaker %{_bindir}/typemaker2 %{_bindir}/xmlmerge %dir %{_includedir}/gwenhywfar4 %{_includedir}/gwenhywfar4/* %{_libdir}/libgwenhywfar.so %{_libdir}/libgwenhywfar.la %{_libdir}/libgwengui-cpp.la %{_libdir}/libgwengui-cpp.so %{_libdir}/libgwengui-gtk2.la %{_libdir}/libgwengui-gtk2.so %{_libdir}/libgwengui-qt4.la %{_libdir}/libgwengui-qt4.so %dir %{_libdir}/cmake/gwengui-qt4-%{majver} %{_libdir}/cmake/gwengui-qt4-%{majver}/gwengui-qt4-config-version.cmake %{_libdir}/cmake/gwengui-qt4-%{majver}/gwengui-qt4-config.cmake %dir %{_libdir}/cmake/gwenhywfar-%{majver} %{_libdir}/cmake/gwenhywfar-%{majver}/gwenhywfar-config-version.cmake %{_libdir}/cmake/gwenhywfar-%{majver}/gwenhywfar-config.cmake %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/gwenhywfar.m4 %doc ChangeLog NEWS README README.DARWIN README.SOLARIS %doc README.W32 TODO %changelog * Thu Jan 29 2015 Silvan Calarco 4.13.1-1mamba - update to 4.13.1 * Thu Jan 29 2015 Automatic Build System 4.13.1-1mamba - automatic version update by autodist * Tue Oct 16 2012 Automatic Build System 4.3.3-1mamba - automatic update by autodist * Sat Jul 11 2009 Automatic Build System 2.6.2-1mamba - automatic update by autodist * Thu May 07 2009 Silvan Calarco 1.19.2-1mamba - package created by autospec