swt2c / rpms / pgadmin3

Forked from rpms/pgadmin3 5 years ago
Clone
72f2de7
Summary:	Graphical client for PostgreSQL
72f2de7
Name:		pgadmin3
f31d7ad
Version:	1.16.1
f31d7ad
Release:	1%{?dist}
035d101
License:	PostgreSQL
cvsextras 90cdfb9
Group:		Applications/Databases
ee5663e
Source:		ftp://ftp.postgresql.org/pub/pgadmin3/release/v%{version}/src/%{name}-%{version}.tar.gz
5179cd4
Patch0:		%{name}-1.14.2-cflags.patch
0389261
Patch2:		%{name}-desktop.patch
72f2de7
URL:		http://www.pgadmin.org/
72f2de7
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c2017dc
BuildRequires:	wxGTK-devel postgresql-devel desktop-file-utils openssl-devel libxml2-devel libxslt-devel
c2017dc
Requires:	wxGTK
cvsextras 90cdfb9
cvsextras 90cdfb9
%description
c2017dc
pgAdmin III is a powerful administration and development
c2017dc
platform for the PostgreSQL database, free for any use.
c2017dc
It is designed to answer the needs of all users,
c2017dc
from writing simple SQL queries to developing complex
c2017dc
databases. The graphical interface supports all PostgreSQL
c2017dc
features and makes administration easy.
c2017dc
c2017dc
pgAdmin III is designed to answer the needs of all users, 
c2017dc
from writing simple SQL queries to developing complex databases. 
c2017dc
The graphical interface supports all PostgreSQL features and 
c2017dc
makes administration easy. The application also includes a syntax 
c2017dc
highlighting SQL editor, a server-side code editor, an 
c2017dc
SQL/batch/shell job scheduling agent, support for the Slony-I 
c2017dc
replication engine and much more. No additional drivers are 
c2017dc
required to communicate with the database server.
c2017dc
cvsextras 90cdfb9
%prep
cvsextras 90cdfb9
%setup -q
5179cd4
%patch0 -p1
0389261
%patch2 -p0
cvsextras 90cdfb9
cvsextras 90cdfb9
%build
a5a7930
export LIBS="-lwx_gtk2u_core-2.8"
b671f06
%configure --disable-debug --disable-dependency-tracking --with-wx-version=2.8 --with-wx=%{_prefix}
c2017dc
make %{?_smp_mflags} all
cvsextras 90cdfb9
cvsextras 90cdfb9
%install
8f5272c
rm -rf %{buildroot}
8f5272c
make DESTDIR=%{buildroot} install
8f5272c
0389261
mkdir -p %{buildroot}%{_datadir}/%{name}/
8f5272c
cp -f ./pkg/debian/pgadmin3.xpm %{buildroot}/%{_datadir}/%{name}/%{name}.xpm
8f5272c
8f5272c
mkdir -p %{buildroot}/%{_datadir}/applications
8f5272c
8f5272c
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
8f5272c
%if 0%{?rhel}
8f5272c
	--vendor="" \
8f5272c
%endif
8f5272c
	--add-category Development pkg/%{name}.desktop
cvsextras 90cdfb9
8f5272c
# Convert changelog, fix incorrect end-of-line encoding
8f5272c
iconv -f iso-8859-1 -t utf-8 -o CHANGELOG.utf8 CHANGELOG
8f5272c
sed -i 's/\r$//' CHANGELOG.utf8
8f5272c
touch -c -r CHANGELOG CHANGELOG.utf8
8f5272c
mv -f CHANGELOG.utf8 CHANGELOG
cvsextras 90cdfb9
8f5272c
# Remove unwanted and double files
8f5272c
rm -f docs/{Docs.vcproj,builddocs.bat}
8f5272c
rm -f %{buildroot}%{_datadir}/%{name}/i18n/{*,.}/wxstd.mo
cvsextras 90cdfb9
8f5272c
# Move locales to their correct place
8f5272c
mkdir -p %{buildroot}%{_datadir}/locale
8f5272c
mv -f %{buildroot}%{_datadir}/%{name}/i18n/??_?? %{buildroot}%{_datadir}/locale
8f5272c
8f5272c
%find_lang %{name}
cvsextras 90cdfb9
cvsextras 90cdfb9
%clean
8f5272c
rm -rf %{buildroot}
cvsextras 90cdfb9
8f5272c
%files -f %{name}.lang
8f5272c
%defattr(-,root,root)
8f5272c
%doc BUGS CHANGELOG LICENSE README docs/*
cvsextras 90cdfb9
%{_bindir}/*
cvsextras 90cdfb9
%{_datadir}/%{name}
cvsextras 90cdfb9
%{_datadir}/applications/*
cvsextras 90cdfb9
cvsextras 90cdfb9
%changelog
f31d7ad
* Fri Jan 25 2013 Devrim GUNDUZ <devrim@gunduz.org> 1.16.1-1
f31d7ad
- Update to 1.16.1
f31d7ad
035d101
* Mon Oct 29 2012 Devrim GUNDUZ <devrim@gunduz.org> 1.16.0-2
035d101
- Update licence, per bz #871183.
035d101
b84136b
* Sun Oct 28 2012 Devrim GUNDUZ <devrim@gunduz.org> 1.16.0-1
b84136b
- Update to 1.16.0
b84136b
0bfc558
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.2-3
0bfc558
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0bfc558
5179cd4
* Fri May 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.14.2-2
5179cd4
- Fix -debuginfo (#746349).
5179cd4
6dee38f
* Thu May 10 2012 Devrim GUNDUZ <devrim@gunduz.org> 1.14.2-1
6dee38f
- Update to 1.14.2
6dee38f
720bbac
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14.0-2
720bbac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
720bbac
316833e
* Thu Oct 13 2011 Devrim GUNDUZ <devrim@gunduz.org> 1.14.0-1
316833e
- Update to 1.14.0
316833e
581b43d
* Tue Apr 19 2011 Devrim GUNDUZ <devrim@gunduz.org> 1.12.3-1
581b43d
- Update to 1.12.3
581b43d
316833e
* Wed Feb 23 2011 Devrim GUNDUZ <devrim@gunduz.org> 1.12.2-3
0389261
- Actually install desktop file.
0389261
0389261
* Tue Feb 15 2011 Devrim GUNDUZ <devrim@gunduz.org> 1.12.2-2
553cc66
- Update to 1.12.2
553cc66
8c220d9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.5-2
8c220d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8c220d9
5819dac
* Tue Aug 3 2010 Devrim GUNDUZ <devrim@gunduz.org> 1.10.5-1
5819dac
- Update to 1.10.5
5819dac
22a5e30
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 1.10.3-3
22a5e30
- rebuilt against wxGTK-2.8.11-2
22a5e30
a994f81
* Tue Jun 15 2010 Michel Salim <salimma@fedoraproject.org> - 1.10.3-2
a994f81
- Ship the hints files (bz #513039)
a994f81
4dcdacd
* Thu May 13 2010 Devrim GUNDUZ <devrim@gunduz.org> 1.10.3-1
4dcdacd
- Update to 1.10.3
4dcdacd
88c76f0
* Mon Mar 15 2010 Devrim GUNDUZ <devrim@gunduz.org> 1.10.2-1
88c76f0
- Update to 1.10.2
88c76f0
7fe7514
* Thu Dec 3 2009 Devrim GUNDUZ <devrim@gunduz.org> 1.10.1-1
7fe7514
- Update to 1.10.1
7fe7514
58b26e6
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
58b26e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
58b26e6
8f5272c
* Mon Jun 29 2009 Devrim GUNDUZ <devrim@gunduz.org> 1.10.0-1
8f5272c
- Update to 1.10.0
8f5272c
- Update licence
8f5272c
- Incorporate some changes from rpmfusion:
8f5272c
  Corrected pgadmin3 documentation path to avoid errors (#448)
8f5272c
  Re-added the branding directory for some users (RHBZ #473748)
8f5272c
  Removed useless -docs package, main package shipped it anyway
8f5272c
  Many spec file and package cleanups to get rpmlint very silent
8f5272c
5179cd4
* Mon Jul 14 2008 Ville Skyttä <ville.skytta@iki.fi> - 1.8.4-2
b671f06
- Use $RPM_OPT_FLAGS, build with dependency tracking disabled (#229054).
b671f06
7cb8fd4
* Wed Jun 4 2008 Devrim GUNDUZ <devrim@commandprompt.com> 1.8.4-1
7cb8fd4
- Update to 1.8.4
7cb8fd4
0ac870d
* Tue Jun 3 2008 Devrim GUNDUZ <devrim@commandprompt.com> 1.8.3-1
0ac870d
- Update to 1.8.3
0ac870d
4eb66c4
* Fri Feb 1 2008 Devrim GUNDUZ <devrim@commandprompt.com> 1.8.2-1
4eb66c4
- Update to 1.8.2
4eb66c4
ee5663e
* Fri Jan 4 2008 Devrim GUNDUZ <devrim@commandprompt.com> 1.8.1-1
ee5663e
- Update to 1.8.1
ee5663e
b840280
* Wed Dec 05 2007 Devrim GUNDUZ <devrim@commandprompt.com> 1.8.0-2
b840280
- Rebuild for openssl bump
c2017dc
c2017dc
* Wed Nov 14 2007 Devrim GUNDUZ <devrim@commandprompt.com> 1.8.0-1
c2017dc
- Update to 1.8.0
c2017dc
- Fix requires and buildrequires
c2017dc
- Improve description
c2017dc
- Added -docs subpackage
c2017dc
- add 2 new configure options, per upstream
c2017dc
- Fix path for xpm file
c2017dc
9a35e74
* Wed Apr 04 2007 Warren Togami <wtogami@redhat.com> - 1.6.3-1
9a35e74
- 1.6.3
9a35e74
a5a7930
* Thu Dec 28 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.6.1-2
a5a7930
- A couple of minor fixes to get things building in rawhide.
a5a7930
Gavin Henry 31f7bbb
* Tue Dec 05 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.6.1-1
Gavin Henry 31f7bbb
- Update for 1.6.1. Now needs wxGTK 2.7+
Gavin Henry 31f7bbb
Gavin Henry cbdafeb
* Mon Oct 09 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.4.3-6
Gavin Henry cbdafeb
- Rebuild for FC6
Gavin Henry cbdafeb
Gavin Henry 20dfcd8
* Tue Aug 29 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.4.3-5
Gavin Henry 20dfcd8
- Should have Developement and keeping this version one ahead for
Gavin Henry 20dfcd8
  upgrading in FC-6
Gavin Henry 20dfcd8
Gavin Henry 4c02587
* Mon Aug 28 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.4.3-3
Gavin Henry 4c02587
- Moved icon to Devel and updated for FC-6
Gavin Henry 4c02587
Gavin Henry 4c02587
* Sat Jul 30 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.4.3-2
Gavin Henry 4c02587
- Removed gcc41 patch
Gavin Henry 4c02587
Gavin Henry 4c02587
* Sat Jul 29 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.4.3-1
Gavin Henry 4c02587
- Updated to latest 
Gavin Henry 4c02587
- Sorry for delay
Gavin Henry 4c02587
Gavin Henry dbb1189
* Wed Feb 16 2006 Gavin Henry <ghenry@suretecsystems.com> - 1.4.1-2
Gavin Henry dbb1189
- Applied Dennis' fixes according to Bug #181632
Gavin Henry dbb1189
Gavin Henry dbb1189
* Wed Feb 15 2006 Dennis Gilmore <dennis@ausil.us> - 1.4.1-1
Gavin Henry dbb1189
- update to 1.4.1
Gavin Henry dbb1189
Gavin Henry e9b14ea
* Thu Dec 8 2005 Gavin Henry <ghenry@suretecsystems.com> - 1.4.0-2
Gavin Henry e9b14ea
- Removed specific lib includes, not needed anymore 
Gavin Henry e9b14ea
Gavin Henry e9b14ea
* Wed Dec 7 2005 Gavin Henry <ghenry@suretecsystems.com> - 1.4.0-1
Gavin Henry e9b14ea
- Updated to latest release
Gavin Henry e9b14ea
9706047
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.2-5
9706047
- rebuild on all arches
9706047
1503238
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
1503238
- rebuilt
1503238
cvsextras 90cdfb9
* Thu Oct 07 2004 Nils O. Selåsdal <NOS|at|Utel.no> - 0:1.0.2-0.fdr.3
cvsextras 90cdfb9
- include LICENCE.txt BUGS.txt README.txt
cvsextras 90cdfb9
- Use master location in Source
cvsextras 90cdfb9
- Don't --delete-original .desktop file.
cvsextras 90cdfb9
* Thu Oct 07 2004 Nils O. Selåsdal <NOS|at|Utel.no> - 0:1.0.2-0.fdr.2
cvsextras 90cdfb9
- Don't own _datadir/applications/
cvsextras 90cdfb9
- Fedora -> fedora for .desktop file
cvsextras 90cdfb9
- Use _smp_mflags for make
cvsextras 90cdfb9
* Wed Oct 06 2004 Nils O. Selåsdal <NOS|at|Utel.no> - 0:1.0.2-0.fdr.1
cvsextras 90cdfb9
- Initial RPM
cvsextras 90cdfb9