Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
libfwbuilder
> libfwbuilder2.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libfwbuilder2.spec of Package libfwbuilder (Revision 2)
Currently displaying revision
2
,
show latest
%define major 2 %define name libfwbuilder %define version 2.1.14 %define release 1 %define BUILD_VERSION 21 %if "%_vendor" == "MandrakeSoft" %define libname %name %define libgroup System/Libraries %define devgroup Development/Other %else %define libname %name %define libgroup System Environment/Libraries %define devgroup Development/Libraries %endif Summary: Firewall Builder API Name: %{name} Version: %{version} Release: %{release} License: GPL2 Group: %{libgroup} Url: http://www.fwbuilder.org/ Source: %{name}-%{version}.tar.gz Packager: Carsten Schoene <cs@linux-administrator.com> Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libxml2 libxml2-devel libxslt libxslt-devel openssl glibc-devel libgcc gcc gcc-c++ qt3-devel net-snmp net-snmp-devel openssl-devel %if 0%{?suse_version} BuildRequires: tcpd-devel %endif %if 0%{?fedora_version} BuildRequires: tcp_wrappers %endif Docdir: /usr/share/doc %description Firewall Builder 2.1 API library and compiler framework %if "%{libname}" != "%{name}" %package -n %libname Summary: Firewall Builder 2.1 API Provides: %name = %version Group: %{libgroup} %endif %description -n %libname Firewall Builder 2.1 API library and compiler framework %files -n %libname %defattr(-,root,root) %doc doc/AUTHORS doc/COPYING doc/ChangeLog doc/Credits doc/INSTALL doc/PatchAcceptancePolicy.txt %dir /usr/share/libfwbuilder%{BUILD_VERSION} /usr/share/libfwbuilder%{BUILD_VERSION}/* %_libdir/libfwbuilder.so.* %_libdir/libfwcompiler.so.* %package -n %{libname}-devel Summary: Firewall Builder API Libraries and Header Files Group: %{devgroup} Requires: %{name} = %{version} Provides: %name-devel = %version-%release %description -n %{libname}-devel This package contains the libraries and header files that programmer would need to develop applications using Firewall Builder API. %files -n %{libname}-devel %defattr(-,root,root) %doc doc/AUTHORS doc/COPYING doc/ChangeLog doc/Credits doc/INSTALL doc/README doc/PatchAcceptancePolicy.txt /usr/bin/libfwbuilder-config-2.1 /usr/include/fwb-2.1/fwbuilder /usr/include/fwb-2.1/fwcompiler %_libdir/*.so %prep %setup %build [ -n "$QTDIR" ] || { [ -f %{_sysconfdir}/profile.d/qt.sh ] && . %{_sysconfdir}/profile.d/qt.sh [ -f %{_sysconfdir}/profile.d/qtdir3.sh ] && . %{_sysconfdir}/profile.d/qtdir3.sh [ -f %{_sysconfdir}/SuSEconfig/profile ] && . %{_sysconfdir}/SuSEconfig/profile } %configure --enable-auto-docdir --libdir=%{_libdir} --prefix=/usr/ make all %install [ -n "$QTDIR" ] || { [ -f %{_sysconfdir}/profile.d/qt.sh ] && . %{_sysconfdir}/profile.d/qt.sh [ -f %{_sysconfdir}/profile.d/qtdir3.sh ] && . %{_sysconfdir}/profile.d/qtdir3.sh [ -f %{_sysconfdir}/SuSEconfig/profile ] && . %{_sysconfdir}/SuSEconfig/profile } [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make DDIR="${RPM_BUILD_ROOT}/" install # prevent including docs twice rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version} %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Sat Sep 15 2007 Carsten Schoene <cs@linux-administrator.com> - version changed to 2.1.14 - This is another bugfix release, it comes with numerous improvements in the iptables policy importer and fixes for gcc 4.2 and 4.3 * Sat Aug 04 2007 Carsten Schoene <cs@linux-administrator.com> - version changed to 2.1.13 - This is bugfix release; its main focus is better support for new features available in PF in OpenBSD 4.1 and improvements in built-in policy installer * Wed Jun 27 2007 Carsten Schoene <cs@linux-administrator.com> - created changelog in this specfile - version changed to 2.1.12 - This release comes with support for Cisco IOS access lists and ability to import existing iptables and IOS access lists configurations. Multiple bug fixes are included as well.