X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=firestarter.spec;h=d81a6b87b60a0cf7ab70bd3292c0f4a3e3eec10b;hb=9cfc76e79d3b00871b0a72282ecefd8f49f94f47;hp=7c366834f6becc59dcc213c81efdeda097fc5d07;hpb=c887431292836d3c5e34aa3df44eda500ec2f5a9;p=packages%2Ffirestarter.git diff --git a/firestarter.spec b/firestarter.spec index 7c36683..d81a6b8 100644 --- a/firestarter.spec +++ b/firestarter.spec @@ -1,23 +1,25 @@ Summary: A GNOME firewall tool Summary(pl): Narzêdzie do konfiguracji firewalla dzia³aj±ce w ¶rodowisku GNOME Name: firestarter -Version: 0.9.2 -Release: 4 +Version: 1.0.3 +Release: 1 License: GPL Group: X11/Applications/Networking Source0: http://dl.sourceforge.net/firestarter/%{name}-%{version}.tar.gz -# Source0-md5: 68b7b18663581fd20bb434cee4bbcc1a +# Source0-md5: f46860a9e16dac4b693bd05f16370b03 Patch0: %{name}-acfix.patch Patch1: %{name}-desktop.patch Patch2: %{name}-locale_names.patch +Patch3: %{name}-kdesu.patch URL: http://firestarter.sourceforge.net/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: gettext-devel -BuildRequires: gtk+2-devel >= 2.0.0 +BuildRequires: gtk+2-devel >= 1:2.0.0 BuildRequires: libgnome-devel >= 2.0.0 BuildRequires: libgnomeui-devel >= 2.0.0 BuildRequires: libtool +BuildRequires: sed >= 4.0 Requires: iptables BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -36,9 +38,10 @@ administrowania wraz z istniej %prep %setup -q -%patch0 -p1 -%patch1 -p1 +#%patch0 -p0 # really required? +#%patch1 -p1 %patch2 -p1 +#%patch3 -p0 mv -f po/{no,nb}.po @@ -48,7 +51,7 @@ mv -f po/{no,nb}.po %{__autoconf} %{__automake} %configure - +%{__sed} -i 's/xml::\/etc\//xml::\$PREFIX\/etc\//' Makefile %{__make} %install @@ -60,6 +63,14 @@ rm -rf $RPM_BUILD_ROOT %find_lang %{name} --with-gnome +%post +%gconf_schema_install /etc/gconf/schemas/firestarter.schemas + +%preun +if [ $1 = 0 ]; then + %gconf_schema_uninstall /etc/gconf/schemas/firestarter.schemas +fi + %clean rm -rf $RPM_BUILD_ROOT @@ -69,3 +80,6 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/firestarter %{_desktopdir}/firestarter.desktop %{_pixmapsdir}/* +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}/* +%{_sysconfdir}/gconf/schemas/*