rpms/glade3/devel glade3-3.4.0-desktop.patch, NONE, 1.1 glade3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Debarshi Ray (rishi) fedora-extras-commits at redhat.com
Mon Nov 26 17:41:23 UTC 2007


Author: rishi

Update of /cvs/pkgs/rpms/glade3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6094/devel

Modified Files:
	.cvsignore sources 
Added Files:
	glade3-3.4.0-desktop.patch glade3.spec 
Log Message:
Initial import into devel.

 Modified Files:
 	devel/.cvsignore devel/sources 
 Added Files:
 	devel/glade3-3.4.0-desktop.patch devel/glade3.spec 


glade3-3.4.0-desktop.patch:

--- NEW FILE glade3-3.4.0-desktop.patch ---
diff -urNp glade3-3.4.0.orig/data/glade-3.desktop.in.in glade3-3.4.0/data/glade-3.desktop.in.in
--- glade3-3.4.0.orig/data/glade-3.desktop.in.in	2007-08-07 21:39:39.000000000 +0530
+++ glade3-3.4.0/data/glade-3.desktop.in.in	2007-11-03 23:53:15.000000000 +0530
@@ -1,6 +1,6 @@
 [Desktop Entry]
 Encoding=UTF-8
-_Name=Glade Interface Designer
+_Name=Glade-3 Interface Designer
 _GenericName=User Interface Designer
 _Comment=Create or open user interface designs for GTK+ applications
 Exec=glade-3 %F


--- NEW FILE glade3.spec ---
%if 0%{?fc7}
  %define _remove_encoding
%else
  %define _remove_encoding --remove-key Encoding
%endif

Summary:	User Interface Designer for GTK+ and GNOME
Name:		glade3
Version:	3.4.0
Release:	4%{?dist}
License:	GPLv2+
Group:		Development/Tools
URL:		http://glade.gnome.org/
Source0:	http://ftp.gnome.org/pub/GNOME/sources/glade3/3.4/%{name}-%{version}.tar.gz

Patch0:		%{name}-%{version}-desktop.patch

BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Provides:	glade = 1:%{version}-%{release}

Requires:	hicolor-icon-theme
Requires:	%{name}-libgladeui = %{version}-%{release}
Requires(post):	scrollkeeper
Requires(postun): scrollkeeper

BuildRequires:	chrpath
BuildRequires:	desktop-file-utils 
BuildRequires:	gettext
BuildRequires:	gnome-doc-utils
BuildRequires:	intltool
BuildRequires:	libgnomeui-devel
BuildRequires:	pygtk2-devel

%description
Glade is a RAD tool to enable quick and easy development of user interfaces for
the GTK+ toolkit and the GNOME desktop environment.

The user interfaces designed in Glade are saved as XML, which can be used in
numerous programming languages including C, C++, Java, Perl, Python, C#, Pike,
Ruby, Haskell, Objective Caml and Scheme. Adding support for other languages
is easy too.

%package libgladeui
Summary:	Widget library for Glade UI designer
# Some artwork is licensed under LGPLv2.
# For a breakdown of the licensing, see COPYING.
License:	GPLv2+ and LGPLv2
Group:		Development/Libraries

%description libgladeui
Libgladeui consists of the widgets that compose the Glade GUI as a separate
library to ease the integration of Glade into other applications.

%package libgladeui-devel
Summary:	Development files for libgladeui
License:	GPLv2+
Group:		Development/Libraries

Requires:	gtk2-devel
Requires:	%{name}-libgladeui = %{version}-%{release}
Requires:	libxml2-devel
Requires:	pkgconfig

%description libgladeui-devel
This package contains Development files for libgladeui.

%prep
%setup -q
%patch0 -p1

%build
%configure --disable-static --enable-gtk-doc
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d

make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -delete

rm -rf $RPM_BUILD_ROOT%{_var}/lib/scrollkeeper

%find_lang %{name}

desktop-file-install %{_remove_encoding} --vendor fedora --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  $RPM_BUILD_ROOT%{_datadir}/applications/glade-3.desktop

# Remove rpaths.
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade-3
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/libgladegnome.so
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/libgladegtk.so

%clean
rm -rf $RPM_BUILD_ROOT

%post
scrollkeeper-update -q -o %{_datadir}/omf/glade || :

if [ -x %{_bindir}/update-desktop-database ]; then
  update-desktop-database &> /dev/null || :
fi

touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
scrollkeeper-update -q || :

if [ -x %{_bindir}/update-desktop-database ]; then
  update-desktop-database &> /dev/null || :
fi

touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%post libgladeui -p /sbin/ldconfig

%postun libgladeui -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS
%doc ChangeLog
%doc COPYING.GPL
%doc NEWS
%doc README
%doc TODO
%{_bindir}/glade-3
%{_datadir}/applications/fedora-glade-3.desktop
%{_datadir}/icons/hicolor/16x16/apps/glade-3.png
%{_datadir}/icons/hicolor/22x22/apps/glade-3.png
%{_datadir}/icons/hicolor/24x24/apps/glade-3.png
%{_datadir}/icons/hicolor/32x32/apps/glade-3.png
%{_datadir}/icons/hicolor/48x48/apps/glade-3.png
%{_datadir}/icons/hicolor/scalable/apps/glade-3.svg

%dir %{_datadir}/gnome/help/glade
%{_datadir}/gnome/help/glade/*

%dir %{_datadir}/omf/glade
%{_datadir}/omf/glade/*

%files libgladeui
%defattr(-,root,root,-)
%doc COPYING
%doc COPYING.GPL
%doc COPYING.LGPL
# GPLv2+
%{_libdir}/libgladeui-1.so.7
%{_libdir}/libgladeui-1.so.7.0.1

%dir %{_datadir}/%{name}
%{_datadir}/%{name}/catalogs
# LGPLv2
%{_datadir}/%{name}/pixmaps

# GPLv2+
%dir %{_libdir}/%{name}
# Contains *.so files that are not symlinked to *.so.* files.
%{_libdir}/%{name}/modules

%files libgladeui-devel
%defattr(-,root,root,-)
%doc COPYING.GPL
%{_libdir}/libgladeui-1.so
%{_libdir}/pkgconfig/gladeui-1.0.pc

%dir %{_datadir}/gtk-doc/html/gladeui
%{_datadir}/gtk-doc/html/gladeui/*

%dir %{_includedir}/libgladeui-1.0/gladeui
%{_includedir}/libgladeui-1.0/gladeui/*

%changelog
* Sun Nov 25 2007 Debarshi Ray <rishi at fedoraproject.org> - 3.4.0-4
- Removed Encoding from Desktop Entry for all distributions, except Fedora 7.

* Tue Nov 13 2007 Debarshi Ray <rishi at fedoraproject.org> - 3.4.0-3
- Clarified multiple licensing issues according to Fedora licensing guidelines.
- Trimmed the 'BuildRequires' list.
- Trimmed the 'Requires' list for -devel.
- Removed custom config files for /etc/ld.so.conf.d.

* Wed Nov 07 2007 Debarshi Ray <rishi at fedoraproject.org> - 3.4.0-2
- Added 'BuildRequires: chrpath' for removing rpaths.

* Tue Nov 06 2007 Debarshi Ray <rishi at fedoraproject.org> - 3.4.0-1
- Initial build. Imported SPEC written by Yijun Yuan and fixed by Tim
  Lauridsen.
- Included custom config files for /etc/ld.so.conf.d.
- Changed Name to differentiate with Glade-2.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/glade3/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Nov 2007 17:24:16 -0000	1.1
+++ .cvsignore	26 Nov 2007 17:40:50 -0000	1.2
@@ -0,0 +1 @@
+glade3-3.4.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/glade3/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 Nov 2007 17:24:16 -0000	1.1
+++ sources	26 Nov 2007 17:40:50 -0000	1.2
@@ -0,0 +1 @@
+b9dc4e75836462db272da5c200fd3e8d  glade3-3.4.0.tar.gz




More information about the fedora-extras-commits mailing list