|
|
0d86b9a |
%global sname phppgadmin
|
|
|
0d86b9a |
|
|
|
fd95041 |
Summary: Web-based PostgreSQL administration
|
|
|
fd95041 |
Name: phpPgAdmin
|
|
|
0d86b9a |
Version: 5.6
|
|
|
0d86b9a |
Release: 11%{?dist}
|
|
|
7bb8a1e |
License: GPLv2+ and (LGPLv2+ or BSD) and ASL 2.0 and MIT
|
|
|
0d86b9a |
URL: https://github.com/%{sname}/%{sname}
|
|
|
fd95041 |
|
|
|
0d86b9a |
Source0: https://github.com/%{sname}/%{sname}/archive/REL_5-6-0.tar.gz
|
|
|
fd95041 |
Source1: %{name}.conf
|
|
|
fd95041 |
|
|
|
fd95041 |
Requires: php >= 4.2, gawk
|
|
|
fd95041 |
Requires: php-pgsql >= 4.2, httpd
|
|
|
0d86b9a |
Requires(post): systemd
|
|
|
0d86b9a |
Requires(postun): systemd
|
|
|
0d86b9a |
BuildArch: noarch
|
|
|
fd95041 |
|
|
|
0d86b9a |
%global _phppgadmindir %{_datadir}/%{name}
|
|
|
fd95041 |
|
|
|
fd95041 |
Patch1: %{name}-langcheck.patch
|
|
|
fd95041 |
|
|
|
fd95041 |
%description
|
|
|
fd95041 |
phpPgAdmin is a fully functional web-based administration utility for
|
|
|
fd95041 |
a PostgreSQL database server. It handles all the basic functionality
|
|
|
fd95041 |
as well as some advanced features such as triggers, views and
|
|
|
fd95041 |
functions (stored procedures). It also has Slony-I support.
|
|
|
fd95041 |
|
|
|
fd95041 |
%prep
|
|
|
0d86b9a |
%setup -q -n %{sname}-REL_5-6-0
|
|
|
fd95041 |
%patch1 -p0
|
|
|
fd95041 |
|
|
|
fd95041 |
%build
|
|
|
fd95041 |
|
|
|
fd95041 |
%install
|
|
|
0d86b9a |
%{__rm} -rf %{buildroot}
|
|
|
0d86b9a |
%{__install} -d %{buildroot}%{_phppgadmindir}
|
|
|
0d86b9a |
%{__install} -d %{buildroot}%{_phppgadmindir}/conf
|
|
|
0d86b9a |
%{__install} -d %{buildroot}%{_sysconfdir}/%{name}
|
|
|
0d86b9a |
%{__install} -d %{buildroot}%{_sysconfdir}/httpd/conf.d/
|
|
|
0d86b9a |
%{__install} -m 644 -p *.php %{buildroot}%{_phppgadmindir}
|
|
|
0d86b9a |
%{__cp} -ap *.js robots.txt classes help js libraries themes images lang plugins xloadtree %{buildroot}%{_phppgadmindir}
|
|
|
0d86b9a |
%{__install} -m 755 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
|
|
|
0d86b9a |
%{__install} -m 755 conf/* %{buildroot}%{_sysconfdir}/%{name}
|
|
|
0d86b9a |
%{__ln_s} %{_sysconfdir}/%{name}/config.inc.php %{buildroot}/%{_phppgadmindir}/conf/config.inc.php
|
|
|
0d86b9a |
%{__ln_s} %{_sysconfdir}/%{name}/config.inc.php-dist %{buildroot}/%{_phppgadmindir}/conf/config.inc.php-dist
|
|
|
fd95041 |
|
|
|
fd95041 |
%post
|
|
Jozef Mlich |
0e5c8f3 |
/usr/bin/systemctl reload httpd.service
|
|
Jozef Mlich |
67943b1 |
|
|
Jozef Mlich |
67943b1 |
%postun
|
|
Jozef Mlich |
0e5c8f3 |
/usr/bin/systemctl reload httpd.service
|
|
|
fd95041 |
|
|
|
fd95041 |
%files
|
|
|
fd95041 |
%doc CREDITS DEVELOPERS FAQ HISTORY INSTALL LICENSE TODO TRANSLATORS
|
|
|
fd95041 |
%dir %{_phppgadmindir}
|
|
|
e86c582 |
%dir %{_sysconfdir}/%{name}
|
|
|
e86c582 |
%dir %{_phppgadmindir}/conf
|
|
|
580d009 |
%config(noreplace) %{_sysconfdir}/%{name}/*
|
|
|
fd95041 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
|
|
|
fd95041 |
%attr(644,root,root) %{_phppgadmindir}/*.php
|
|
|
fd95041 |
%{_phppgadmindir}/*.js
|
|
|
fd95041 |
%{_phppgadmindir}/robots.txt
|
|
|
fd95041 |
%{_phppgadmindir}/classes
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/help
|
|
|
fd95041 |
%{_phppgadmindir}/images
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/js/*.js
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/libraries
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/plugins/Report/*
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/plugins/GuiControl/*
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/themes
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/xloadtree
|
|
Jozef Mlich |
67943b1 |
%{_phppgadmindir}/conf/*
|
|
|
fd95041 |
%dir %{_phppgadmindir}/lang
|
|
|
fd95041 |
%attr(644,root,root) %{_phppgadmindir}/lang/*.php
|
|
Jozef Mlich |
67943b1 |
%attr(644,root,root) %{_phppgadmindir}/lang/README
|
|
|
580d009 |
%attr(755,root,root) %{_phppgadmindir}/lang/langcheck
|
|
|
580d009 |
%attr(755,root,root) %{_phppgadmindir}/lang/synch
|
|
|
fd95041 |
|
|
|
fd95041 |
%changelog
|
|
|
0d86b9a |
* Fri Sep 6 2019 Devrim Gündüz <devrim@gunduz.org> - 5.6-1
|
|
|
0d86b9a |
- Update to 5.6
|
|
|
0d86b9a |
- Fix a few rpmlint warnings
|
|
|
0d86b9a |
- Update URLs
|
|
|
0d86b9a |
- Use more macros
|
|
|
0d86b9a |
|
|
Jozef Mlich |
0e5c8f3 |
* Wed Aug 28 2013 Jozef Mlich <jmlich@redhat.com> 5.1-2
|
|
Jozef Mlich |
0e5c8f3 |
- incorrect disabling of httpd during uninstallation
|
|
Jozef Mlich |
0e5c8f3 |
|
|
Jozef Mlich |
67943b1 |
* Thu Aug 22 2013 Jozef Mlich <jmlich@redhat.com> 5.1-1
|
|
Jozef Mlich |
67943b1 |
- post, preun, postun phases modified accoding to Fedora Packaging Guidelines
|
|
Jozef Mlich |
67943b1 |
- Update to 5.1, per changes described at
|
|
Jozef Mlich |
67943b1 |
http://sourceforge.net/mailarchive/message.php?msg_id=30730170
|
|
Jozef Mlich |
67943b1 |
|
|
|
b0be562 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.4-5
|
|
|
b0be562 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b0be562 |
|
|
|
4df6945 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.4-4
|
|
|
4df6945 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4df6945 |
|
|
Johan Cwiklinski |
4934879 |
* Sun Dec 02 2012 Johan Cwiklinski <johan AT x-tnd DOT be> - 5.0.4-3
|
|
Johan Cwiklinski |
4934879 |
- Update apache configuration file for httpd 2.4
|
|
Johan Cwiklinski |
4934879 |
|
|
|
42e6314 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.4-2
|
|
|
42e6314 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
42e6314 |
|
|
|
a8c4b6f |
* Thu Mar 22 2012 Devrim Gunduz <devrim@gunduz.org> 5.0.4-1
|
|
|
a8c4b6f |
- Update to 5.0.4, per changes described at
|
|
|
a8c4b6f |
http://archives.postgresql.org/pgsql-announce/2012-03/msg00016.php
|
|
|
a8c4b6f |
|
|
|
6441a31 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.3-2
|
|
|
6441a31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6441a31 |
|
|
|
ee4b2b9 |
* Mon Oct 3 2011 Devrim Gunduz <devrim@gunduz.org> 5.0.3-1
|
|
|
ee4b2b9 |
- Update to 5.0.3, per changes described at:
|
|
|
ee4b2b9 |
http://sourceforge.net/mailarchive/forum.php?thread_name=4E897F6C.90905%40free.fr&forum_name=phppgadmin-news
|
|
|
ee4b2b9 |
|
|
|
8503eac |
* Wed Apr 27 2011 Devrim Gunduz <devrim@gunduz.org> 5.0.2-1
|
|
|
8503eac |
- Update to 5.0.2, which also fixes bz #689394
|
|
|
8503eac |
|
|
|
a0b2d76 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
a0b2d76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a0b2d76 |
|
|
|
900ebed |
* Tue Nov 30 2010 Devrim Gunduz <devrim@gunduz.org> 5.0-1
|
|
|
900ebed |
- Update to 5.0 final.
|
|
|
900ebed |
PHP 5.3.
|
|
|
900ebed |
|
|
|
52baad6 |
* Thu Oct 7 2010 Devrim Gunduz <devrim@gunduz.org> 5.0-beta2-1
|
|
|
52baad6 |
- Update to 5.0-beta2, which actually support PostgreSQL 8.4 and
|
|
|
52baad6 |
PHP 5.3.
|
|
|
52baad6 |
|
|
|
3b92610 |
* Mon Mar 29 2010 Devrim Gunduz <devrim@gunduz.org> 4.2.3-1
|
|
|
3b92610 |
- Update to 4.2.3
|
|
|
3b92610 |
|
|
|
302b7d1 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-3
|
|
|
302b7d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
302b7d1 |
|
|
|
795e134 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-2
|
|
|
795e134 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
795e134 |
|
|
|
7cc51ca |
* Fri Dec 19 2008 Devrim Gunduz <devrim@commandprompt.com> 4.2.2-1
|
|
|
7cc51ca |
- Update to 4.2.2
|
|
|
7cc51ca |
|
|
|
7bb8a1e |
* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.2-2
|
|
|
7bb8a1e |
- fix license tag
|
|
|
7bb8a1e |
|
|
|
bbe3070 |
* Sun Apr 6 2008 Devrim Gunduz <devrim@commandprompt.com> 4.2-1
|
|
|
bbe3070 |
- Update to 4.2
|
|
|
bbe3070 |
- Removed patch #2
|
|
|
bbe3070 |
|
|
|
f944632 |
* Wed Jul 11 2007 Devrim Gunduz <devrim@commandprompt.com> 4.1.3-2
|
|
|
f944632 |
- Added temporary patch #2 , per sf.net bug #1751614
|
|
|
f944632 |
|
|
|
f00444e |
* Tue Jul 10 2007 Devrim Gunduz <devrim@commandprompt.com> 4.1.3-1
|
|
|
f00444e |
- Update to 4.1.3
|
|
|
f00444e |
|
|
Jozef Mlich |
67943b1 |
* Fri Jun 01 2007 Devrim Gunduz <devrim@commandprompt.com> 4.1.2-1
|
|
|
f39a2ed |
- Update to 4.1.2
|
|
|
f39a2ed |
- Fix for Red Hat Bugzilla #241489
|
|
|
f39a2ed |
|
|
|
e86c582 |
* Mon Mar 26 2007 Devrim Gunduz <devrim@commandprompt.com> 4.1.1-1
|
|
|
e86c582 |
- Update to 4.1.1
|
|
|
e86c582 |
- Fix for Red Hat Bugzilla #233902
|
|
|
e86c582 |
|
|
|
1017909 |
* Sun Jan 21 2007 Devrim Gunduz <devrim@commandprompt.com> 4.1-2
|
|
|
1017909 |
- Rebuilt
|
|
|
1017909 |
- Fixed changelog entry
|
|
|
1017909 |
|
|
|
580d009 |
* Thu Jan 4 2007 Devrim Gunduz <devrim@commandprompt.com> 4.1-1
|
|
|
580d009 |
- Update to 4.1
|
|
|
580d009 |
- Fix for rh bugzilla #222740
|
|
|
580d009 |
|
|
|
580d009 |
* Thu Jan 4 2007 Devrim Gunduz <devrim@commandprompt.com> 4.0.1-7
|
|
|
580d009 |
- Rebuilt
|
|
|
1017909 |
|
|
|
2c9aab8 |
* Thu Jan 4 2007 Devrim Gunduz <devrim@commandprompt.com> 4.0.1-6
|
|
|
2c9aab8 |
- Fixed phppgadmin.conf file.
|
|
|
2c9aab8 |
|
|
|
fd95041 |
* Thu Dec 21 2006 Devrim Gunduz <devrim@commandprompt.com> 4.0.1-5
|
|
|
fd95041 |
- More specfile fixes per bugzilla review #200600
|
|
|
fd95041 |
|
|
|
fd95041 |
* Thu Dec 21 2006 Devrim Gunduz <devrim@commandprompt.com> 4.0.1-4
|
|
|
fd95041 |
- More specfile fixes per bugzilla review #200600
|
|
|
fd95041 |
|
|
|
fd95041 |
* Sun Aug 6 2006 Devrim Gunduz <devrim@commandprompt.com> 4.0.1-3
|
|
|
fd95041 |
- Changed awk dependency to gawk
|
|
|
fd95041 |
- Fixed changelog entry
|
|
|
fd95041 |
|
|
|
fd95041 |
* Tue Aug 1 2006 Devrim Gunduz <devrim@commandprompt.com> 4.0.1-2
|
|
|
fd95041 |
- Rebuilt for FC Extras Submission
|
|
|
fd95041 |
- Fixed rpmlint errors
|
|
|
fd95041 |
- Spec file cleanup
|
|
|
fd95041 |
|
|
Jozef Mlich |
67943b1 |
* Sat Dec 17 2005 Devrim Gunduz <devrim@commandprompt.com> 4.0.1
|
|
|
fd95041 |
- Update to 4.0.1
|
|
|
fd95041 |
- Added xloadtree and help among installed file lists
|
|
|
fd95041 |
- rename pgadmindir to phppgadmindir
|
|
|
fd95041 |
|
|
|
fd95041 |
* Tue Oct 18 2005 Devrim Gunduz <devrim@gunduz.org> 3.5.6
|
|
|
fd95041 |
- Updated to 3.5.6
|
|
|
fd95041 |
|
|
|
fd95041 |
* Wed Aug 24 2005 Devrim Gunduz <devrim@gunduz.org> 3.5.5
|
|
|
fd95041 |
- Updated to 3.5.5
|
|
|
fd95041 |
|
|
|
fd95041 |
* Tue Jul 19 2005 Devrim Gunduz <devrim@gunduz.org> 3.5.4
|
|
|
fd95041 |
- Updated to 3.5.4
|