]> git.pld-linux.org Git - packages/pgadmin3.git/commitdiff
- amd64 fix
authorAndrzej Zawadzki <zawadaa@gmail.com>
Mon, 24 Jan 2005 15:57:18 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add .desktop, icon - needs review
- it works :-)

Changed files:
    pgadmin3.spec -> 1.4

pgadmin3.spec

index 30a3e15010621a821a47046b1944b9d22e8b2358..ef8d07181d07f21c46366e688a2c13de49265c1c 100644 (file)
@@ -2,13 +2,15 @@ Summary:      Powerful administration and development platform for the PostgreSQL
 Summary(pl):   Potê¿na platforma do administrowania i programowania bazy PostgreSQL
 Name:          pgadmin3
 Version:       1.2.0
-Release:       1
+Release:       2.1
 Epoch:         0
 License:       Artistic License
 Group:         Applications/Databases
 Source0:       ftp://ftp6.pl.postgresql.org/pub/postgresql/pgadmin3/release/v1.2.0/src/%{name}-%{version}.tar.gz
 # Source0-md5: 09caa00a0249978781215bf3e4ac02b8
+Source1:       %{name}.desktop
 URL:           http://www.pgadmin.org/
+BuildRequires: automake
 BuildRequires: postgresql-devel
 BuildRequires: wxGTK2-unicode-devel >= 2.5.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,14 +38,19 @@ komunikowania z serwerem baz danych.
 %setup -q
 
 %build
+cp /usr/share/automake/config.sub ./config
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d \
+       $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -f ./src/include/images/pgAdmin3.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/pgadmin3.xpm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,3 +60,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc LICENCE.txt README.txt
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_desktopdir}/pgadmin3.desktop
+%{_pixmapsdir}/pgadmin3.xpm
This page took 0.0655790000000001 seconds and 4 git commands to generate.