rpms/xdialog/F-8 xdialog-2.3.1-nostrip.patch, NONE, 1.1 xdialog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Patrice Dumas (pertusus)
fedora-extras-commits at redhat.com
Thu Jul 10 12:17:28 UTC 2008
- Previous message (by thread): rpms/xdialog/EL-4 xdialog-2.3.1-nostrip.patch, NONE, 1.1 xdialog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/drupal/F-9 drupal.spec,1.14,1.15 sources,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pertusus
Update of /cvs/extras/rpms/xdialog/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4017/F-8
Modified Files:
.cvsignore sources
Added Files:
xdialog-2.3.1-nostrip.patch xdialog.spec
Log Message:
Initial branches
xdialog-2.3.1-nostrip.patch:
--- NEW FILE xdialog-2.3.1-nostrip.patch ---
diff -up Xdialog-2.3.1/configure.in.nostrip Xdialog-2.3.1/configure.in
--- Xdialog-2.3.1/configure.in.nostrip 2008-04-05 19:25:33.000000000 +0200
+++ Xdialog-2.3.1/configure.in 2008-04-05 19:26:00.000000000 +0200
@@ -65,10 +65,6 @@ if test "x$GCC" = "xyes"; then
*[[\ \ ]-Wall[\ \ ]]*) ;;
*) CFLAGS="$CFLAGS -Wall" ;;
esac
- case " $CFLAGS " in
- *[[\ \ ]-s[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -s" ;;
- esac
case `gcc --version` in
2.95*|2.96*|2.97*)
case " $CFLAGS " in
diff -up Xdialog-2.3.1/configure.nostrip Xdialog-2.3.1/configure
--- Xdialog-2.3.1/configure.nostrip 2008-04-05 19:25:42.000000000 +0200
+++ Xdialog-2.3.1/configure 2008-04-05 19:26:37.000000000 +0200
@@ -8268,10 +8268,6 @@ if test "x$GCC" = "xyes"; then
*[\ \ ]-Wall[\ \ ]*) ;;
*) CFLAGS="$CFLAGS -Wall" ;;
esac
- case " $CFLAGS " in
- *[\ \ ]-s[\ \ ]*) ;;
- *) CFLAGS="$CFLAGS -s" ;;
- esac
case `gcc --version` in
2.95*|2.96*|2.97*)
case " $CFLAGS " in
--- NEW FILE xdialog.spec ---
%define real_name Xdialog
Name: xdialog
Summary: X11 drop in replacement for cdialog
Version: 2.3.1
Release: 3%{?dist}
License: GPL+
Group: Applications/System
URL: http://xdialog.free.fr
Source0: http://xdialog.free.fr/%{real_name}-%{version}.tar.bz2
Patch0: xdialog-2.3.1-nostrip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk+-devel >= 1.2.0
BuildRequires: gtk2-devel >= 2.2.0
BuildRequires: gettext
Provides: %{real_name} = %{version}-%{release}
Obsoletes: %{real_name} < %{version}-%{release}
# there is no need for .desktop file since there is a mandatory argument
%description
Xdialog is designed to be a drop in replacement for the cdialog program.
It converts any terminal based program into a program with an X-windows
interface. The dialogs are easier to see and use and Xdialog adds even
more functionalities (help button+box, treeview, editbox, file selector,
range box, and much more).
%prep
%setup -q -n %{real_name}-%{version}
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8
touch -c -r ChangeLog ChangeLog.utf8
mv ChangeLog.utf8 ChangeLog
%patch0 -p1 -b .nostrip
touch -c -r configure.nostrip configure
touch -c -r configure.in.nostrip configure.in
%build
# build both the gtk1 and gtk2 versions. Upstream advises not to use
# the gtk2 version, however the issues with gtk2 version is with non UTF-8
# locales which should be rare on fedora, and gtk2 has more features.
%configure
make %{?_smp_mflags}
mv src/Xdialog src/Xdialog-gtk1
make clean
%configure --with-gtk2
make %{?_smp_mflags}
sed -i -e 's:%{_datadir}/doc/Xdialog:%{_datadir}/doc/%{name}:g' doc/Xdialog.1
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p'
install -m0755 src/Xdialog-gtk1 %{buildroot}%{_bindir}
rm -rf __dist_html
mkdir -p __dist_html/html
cp -p doc/*.html doc/*.png __dist_html/html
# there are references to the samples in the documentation.
ln -s ../samples __dist_html/html/samples
%find_lang %{real_name}
%clean
rm -rf %{buildroot}
%files -f %{real_name}.lang
%defattr(-, root, root, -)
%doc AUTHORS BUGS COPYING ChangeLog README
%doc __dist_html/html/ samples/
%{_mandir}/man1/Xdialog.1*
%{_bindir}/Xdialog
%{_bindir}/Xdialog-gtk1
%exclude %{_docdir}/%{real_name}-%{version}
%changelog
* Sun Jun 29 2008 Patrice Dumas <pertusus at free.fr> 2.3.1-3
- add BR gettext
* Wed Jun 25 2008 Patrice Dumas <pertusus at free.fr> 2.3.1-2
- review request cleanups
* Sat Apr 5 2008 Patrice Dumas <pertusus at free.fr> 2.3.1-1
- submit to fedora.
* Sat Apr 08 2006 Dries Verachtert <dries at ulyssis.org> - 2.1.2-1.2
- Rebuild for Fedora Core 5.
* Tue Feb 22 2005 Dag Wieers <dag at wieers.com> - 2.1.2-1
- Updated to release 2.1.2.
* Tue Apr 29 2003 Dag Wieers <dag at wieers.com> - 2.1.1-0
- Initial package. (using DAR)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xdialog/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Jul 2008 18:10:05 -0000 1.1
+++ .cvsignore 10 Jul 2008 12:16:41 -0000 1.2
@@ -0,0 +1 @@
+Xdialog-2.3.1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xdialog/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Jul 2008 18:10:05 -0000 1.1
+++ sources 10 Jul 2008 12:16:41 -0000 1.2
@@ -0,0 +1 @@
+0671f8353717513bf1f0ebc80e9710f6 Xdialog-2.3.1.tar.bz2
- Previous message (by thread): rpms/xdialog/EL-4 xdialog-2.3.1-nostrip.patch, NONE, 1.1 xdialog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/drupal/F-9 drupal.spec,1.14,1.15 sources,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list