diff --git a/pgadmin3.spec b/pgadmin3.spec index 528206a..9b64d45 100644 --- a/pgadmin3.spec +++ b/pgadmin3.spec @@ -1,24 +1,23 @@ -Summary: Graphical client for PostgreSQL. -Name: pgadmin3 +Summary: Graphical client for PostgreSQL +Name: pgadmin3 Version: 1.0.2 Release: 3 License: Artistic -Epoch: 0 Group: Applications/Databases -Source: ftp://ftp.postgresql.org/pub/pgadmin3/release/src/pgadmin3-1.0.2.tar.gz -URL: http://www.pgadmin.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: wxGTK2-devel wxGTK2-stc wxGTK2-xrc postgresql-devel desktop-file-utils openssl-devel +Source: ftp://ftp.postgresql.org/pub/pgadmin3/release/src/pgadmin3-1.0.2.tar.gz +URL: http://www.pgadmin.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: wxGTK2-devel wxGTK2-stc wxGTK2-xrc postgresql-devel desktop-file-utils openssl-devel %description -pgAdmin III is a comprehensive PostgreSQL database design +pgAdmin III is a comprehensive PostgreSQL database design and management system for *nix and Windows systems. %prep %setup -q %build -%configure +%configure #Somehow doesn't link in these.. make %{?_smp_mflags} LDFLAGS="-lwx_gtk2-2.4 -lwx_gtk2_stc-2.4 -lwx_gtk2_xrc-2.4" all @@ -33,14 +32,14 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ --add-category X-Fedora\ --add-category Application\ - --add-category System\ - ./pkg/%{name}.desktop + --add-category System\ + ./pkg/%{name}.desktop %clean rm -rf $RPM_BUILD_ROOT -%files +%files %defattr(-, root, root) %doc LICENCE.txt BUGS.txt README.txt %{_bindir}/*