From a06b202c5cd970842101346446976067d8071607 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 11 May 2012 23:10:34 +0700 Subject: [PATCH 01/26] Initial import --- .gitignore | 1 + sources | 1 + vala-compat.spec | 260 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 262 insertions(+) create mode 100644 vala-compat.spec diff --git a/.gitignore b/.gitignore index e69de29..5749cf8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/vala-0.16.0.tar.xz diff --git a/sources b/sources index e69de29..997d3ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +84b742e9cca4c90fde3026c3793c03c1 vala-0.16.0.tar.xz diff --git a/vala-compat.spec b/vala-compat.spec new file mode 100644 index 0000000..6de9a8e --- /dev/null +++ b/vala-compat.spec @@ -0,0 +1,260 @@ +%global api_ver 0.16 + +Name: vala-compat +Version: 0.16.0 +Release: 2%{?dist} +Summary: A modern programming language for GNOME + +Group: Development/Languages +# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD +License: LGPLv2+ and BSD +URL: http://live.gnome.org/Vala +#VCS: git:git://git.gnome.org/vala +# note: do not use a macro for directory name +# as it breaks Colin Walters' automatic build script +# see https://bugzilla.redhat.com/show_bug.cgi?id=609292 +Source0: http://download.gnome.org/sources/vala/0.16/vala-%{version}.tar.xz + +BuildRequires: flex +BuildRequires: bison +BuildRequires: glib2-devel +BuildRequires: libxslt +# only if Vala source files are patched +# BuildRequires: vala + +# for tests +# BuildRequires: dbus-x11 + +# alternatives +%global vala_binaries vala valac +%global vala_manpages valac +%global vala_tools_binaries vala-gen-introspect vapicheck vapigen +%global vala_tools_manpages vala-gen-introspect vapigen +Requires(posttrans): %{_sbindir}/alternatives +Requires(preun): %{_sbindir}/alternatives + + +%description +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. + +valac, the Vala compiler, is a self-hosting compiler that translates +Vala source code into C source and header files. It uses the GObject +type system to create classes and interfaces declared in the Vala source +code. It's also planned to generate GIDL files when gobject- +introspection is ready. + +The syntax of Vala is similar to C#, modified to better fit the GObject +type system. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. + +This package contains development files for %{name}. This is not +necessary for using the %{name} compiler. + + +%package tools +Summary: Tools for creating projects and bindings for %{name} +Group: Development/Languages +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: gnome-common intltool libtool pkgconfig +Provides: %{name}-vapigen = %{version}-%{release} +Obsoletes: %{name}-vapigen < %{version}-%{release} + +%description tools +Vala is a new programming language that aims to bring modern +programming language features to GNOME developers without imposing any +additional runtime requirements and without using a different ABI +compared to applications and libraries written in C. + +This package contains tools to generate Vala projects, as well as API +bindings from existing C libraries, allowing access from Vala +programs. + + +%package doc +Summary: Documentation for %{name} +Group: Documentation +License: LGPLv2+ + +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: devhelp +Provides: %{name}-docs = %{version}-%{release} +Obsoletes: %{name}-docs < %{version}-%{release} +# might seem redundant, but needed to kill off the old arch-ed -doc +# subpackage +Obsoletes: %{name}-doc < %{version}-%{release} + + +%description doc +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. + +This package contains documentation in a devhelp HTML book. + + +%prep +%setup -q -n vala-%{version} + + +%build +%configure +# Don't use rpath! +sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT +# remove symlinks, using alternatives +for f in %{vala_binaries} %{vala_tools_binaries}; +do + rm $RPM_BUILD_ROOT%{_bindir}/$f + touch $RPM_BUILD_ROOT%{_bindir}/$f +done +for f in %{vala_manpages} %{vala_tools_manpages}; +do + rm $RPM_BUILD_ROOT%{_mandir}/man1/$f.1* + touch $RPM_BUILD_ROOT%{_mandir}/man1/$f.1.gz +done +# own this directory for third-party *.vapi files +mkdir -p $RPM_BUILD_ROOT%{_datadir}/vala/vapi +rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la + + +%check +# make check + + +%posttrans +/sbin/ldconfig +for f in %{vala_binaries}; +do + if [ -L /etc/alternatives/$f ]; + then + # older vala packages fail to remove alternatives on upgrade + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_bindir}/$f \ + $f %{_bindir}/$f-%{api_ver} 90 +done +for f in %{vala_manpages}; +do + if [ -L /etc/alternatives/$f ]; + then + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 +done + +%posttrans tools +for f in %{vala_tools_binaries}; +do + if [ -L /etc/alternatives/$f ]; + then + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_bindir}/$f \ + $f %{_bindir}/$f-%{api_ver} 90 +done +for f in %{vala_tools_manpages}; +do + if [ -L /etc/alternatives/$f ]; + then + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 +done + +%preun +/sbin/ldconfig +for f in %{vala_binaries}; +do + %{_sbindir}/alternatives --remove $f \ + %{_bindir}/$f-%{api_ver} +done +for f in %{vala_manpages}; +do + %{_sbindir}/alternatives --remove $f.1.gz \ + %{_mandir}/man1/$f-%{api_ver}.1.gz +done + +%preun tools +for f in %{vala_tools_binaries}; +do + %{_sbindir}/alternatives --remove $f \ + %{_bindir}/$f-%{api_ver} +done +for f in %{vala_tools_manpages}; +do + %{_sbindir}/alternatives --remove $f.1.gz \ + %{_mandir}/man1/$f-%{api_ver}.1.gz +done + + +%files +%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README THANKS +%ghost %{_bindir}/vala +%ghost %{_bindir}/valac +%{_bindir}/vala-%{api_ver} +%{_bindir}/valac-%{api_ver} +# owning only the directories, they should be empty +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala-%{api_ver} +%{_libdir}/libvala-%{api_ver}.so.* +%ghost %{_mandir}/man1/valac.1.gz +%{_mandir}/man1/valac-%{api_ver}.1.gz + +%files devel +%{_includedir}/vala-%{api_ver} +%{_libdir}/libvala-%{api_ver}.so +%{_libdir}/pkgconfig/libvala-%{api_ver}.pc +# directory owned by filesystem +%{_datadir}/aclocal/vala.m4 +%{_datadir}/vala/Makefile.vapigen + +%files tools +%ghost %{_bindir}/vala-gen-introspect +%ghost %{_bindir}/vapicheck +%ghost %{_bindir}/vapigen +%{_bindir}/vala-gen-introspect-%{api_ver} +%{_bindir}/vapicheck-%{api_ver} +%{_bindir}/vapigen-%{api_ver} +%{_libdir}/vala-%{api_ver} +%{_datadir}/aclocal/vapigen.m4 +%{_datadir}/pkgconfig/vapigen*.pc +%ghost %{_mandir}/man1/vala-gen-introspect.1.gz +%ghost %{_mandir}/man1/vapigen.1.gz +%{_mandir}/man1/vala-gen-introspect-%{api_ver}.1.gz +%{_mandir}/man1/vapigen-%{api_ver}.1.gz + +%files doc +%doc %{_datadir}/devhelp/books/vala-%{api_ver} + + +%changelog +* Thu May 10 2012 Michel Salim - 0.16.0-2 +- Reindent description texts to avoid long lines +- Make alternative scriptlet less noisy (Ralph Bean) + +* Sat May 5 2012 Michel Salim - 0.16.0-1 +- Initial package, based on vala-0.16.0-4 From 2722e3d4089caa53d353d90e2134e1e925c39b85 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 11 May 2012 23:10:34 +0700 Subject: [PATCH 02/26] Initial import --- .gitignore | 1 + sources | 1 + vala-compat.spec | 257 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 259 insertions(+) create mode 100644 vala-compat.spec diff --git a/.gitignore b/.gitignore index e69de29..00852f0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/vala-0.12.1.tar.xz diff --git a/sources b/sources index e69de29..2958be8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +27e6e852b8f6b5695654029b7914b89d vala-0.12.1.tar.xz diff --git a/vala-compat.spec b/vala-compat.spec new file mode 100644 index 0000000..43961ab --- /dev/null +++ b/vala-compat.spec @@ -0,0 +1,257 @@ +%global api_ver 0.12 + +Name: vala-compat +Version: 0.12.1 +Release: 2%{?dist} +Summary: A modern programming language for GNOME + +Group: Development/Languages +# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD +License: LGPLv2+ and BSD +URL: http://live.gnome.org/Vala +#VCS: git:git://git.gnome.org/vala +# note: do not use a macro for directory name +# as it breaks Colin Walters' automatic build script +# see https://bugzilla.redhat.com/show_bug.cgi?id=609292 +Source0: http://download.gnome.org/sources/vala/0.12/vala-%{version}.tar.xz + +BuildRequires: flex +BuildRequires: bison +BuildRequires: glib2-devel +BuildRequires: libxslt +# only if Vala source files are patched +# BuildRequires: vala + +# for tests +# BuildRequires: dbus-x11 + +# alternatives +%global vala_binaries vala valac +%global vala_manpages valac +%global vala_tools_binaries vala-gen-introspect vapicheck vapigen +%global vala_tools_manpages vala-gen-introspect vapigen +Requires(posttrans): %{_sbindir}/alternatives +Requires(preun): %{_sbindir}/alternatives + + +%description +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. + +valac, the Vala compiler, is a self-hosting compiler that translates +Vala source code into C source and header files. It uses the GObject +type system to create classes and interfaces declared in the Vala source +code. It's also planned to generate GIDL files when gobject- +introspection is ready. + +The syntax of Vala is similar to C#, modified to better fit the GObject +type system. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. + +This package contains development files for %{name}. This is not +necessary for using the %{name} compiler. + + +%package tools +Summary: Tools for creating projects and bindings for %{name} +Group: Development/Languages +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: gnome-common intltool libtool +Provides: %{name}-vapigen = %{version}-%{release} +Obsoletes: %{name}-vapigen < %{version}-%{release} + +%description tools +Vala is a new programming language that aims to bring modern +programming language features to GNOME developers without imposing any +additional runtime requirements and without using a different ABI +compared to applications and libraries written in C. + +This package contains tools to generate Vala projects, as well as API +bindings from existing C libraries, allowing access from Vala +programs. + + +%package doc +Summary: Documentation for %{name} +Group: Documentation +License: LGPLv2+ + +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: devhelp +Provides: %{name}-docs = %{version}-%{release} +Obsoletes: %{name}-docs < %{version}-%{release} +# might seem redundant, but needed to kill off the old arch-ed -doc +# subpackage +Obsoletes: %{name}-doc < %{version}-%{release} + + +%description doc +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. + +This package contains documentation in a devhelp HTML book. + + +%prep +%setup -q -n vala-%{version} + + +%build +%configure --enable-vapigen +# Don't use rpath! +sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT +# remove symlinks, using alternatives +for f in %{vala_binaries} %{vala_tools_binaries}; +do + rm $RPM_BUILD_ROOT%{_bindir}/$f + touch $RPM_BUILD_ROOT%{_bindir}/$f +done +for f in %{vala_manpages} %{vala_tools_manpages}; +do + rm $RPM_BUILD_ROOT%{_mandir}/man1/$f.1* + touch $RPM_BUILD_ROOT%{_mandir}/man1/$f.1.gz +done +# own this directory for third-party *.vapi files +mkdir -p $RPM_BUILD_ROOT%{_datadir}/vala/vapi +rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la + + +%check +# make check + + +%posttrans +/sbin/ldconfig +for f in %{vala_binaries}; +do + if [ -L /etc/alternatives/$f ]; + then + # older vala packages fail to remove alternatives on upgrade + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_bindir}/$f \ + $f %{_bindir}/$f-%{api_ver} 90 +done +for f in %{vala_manpages}; +do + if [ -L /etc/alternatives/$f ]; + then + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 +done + +%posttrans tools +for f in %{vala_tools_binaries}; +do + if [ -L /etc/alternatives/$f ]; + then + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_bindir}/$f \ + $f %{_bindir}/$f-%{api_ver} 90 +done +for f in %{vala_tools_manpages}; +do + if [ -L /etc/alternatives/$f ]; + then + %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) + fi + %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 +done + +%preun +/sbin/ldconfig +for f in %{vala_binaries}; +do + %{_sbindir}/alternatives --remove $f \ + %{_bindir}/$f-%{api_ver} +done +for f in %{vala_manpages}; +do + %{_sbindir}/alternatives --remove $f.1.gz \ + %{_mandir}/man1/$f-%{api_ver}.1.gz +done + +%preun tools +for f in %{vala_tools_binaries}; +do + %{_sbindir}/alternatives --remove $f \ + %{_bindir}/$f-%{api_ver} +done +for f in %{vala_tools_manpages}; +do + %{_sbindir}/alternatives --remove $f.1.gz \ + %{_mandir}/man1/$f-%{api_ver}.1.gz +done + + +%files +%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README THANKS +%ghost %{_bindir}/vala +%ghost %{_bindir}/valac +%{_bindir}/vala-%{api_ver} +%{_bindir}/valac-%{api_ver} +# owning only the directories, they should be empty +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala-%{api_ver} +%{_libdir}/libvala-%{api_ver}.so.* +%ghost %{_mandir}/man1/valac.1.gz +%{_mandir}/man1/valac-%{api_ver}.1.gz + +%files devel +%{_includedir}/vala-%{api_ver} +%{_libdir}/libvala-%{api_ver}.so +%{_libdir}/pkgconfig/libvala-%{api_ver}.pc +# directory owned by filesystem +%{_datadir}/aclocal/vala.m4 + +%files tools +%ghost %{_bindir}/vala-gen-introspect +%ghost %{_bindir}/vapicheck +%ghost %{_bindir}/vapigen +%{_bindir}/vala-gen-introspect-%{api_ver} +%{_bindir}/vapicheck-%{api_ver} +%{_bindir}/vapigen-%{api_ver} +%{_libdir}/vala-%{api_ver} +%ghost %{_mandir}/man1/vala-gen-introspect.1.gz +%ghost %{_mandir}/man1/vapigen.1.gz +%{_mandir}/man1/vala-gen-introspect-%{api_ver}.1.gz +%{_mandir}/man1/vapigen-%{api_ver}.1.gz + +%files doc +%doc %{_datadir}/devhelp/books/vala-%{api_ver} + + +%changelog +* Thu May 10 2012 Michel Salim - 0.12.1-2 +- Reindent description texts to avoid long lines +- Make alternative scriptlet less noisy (Ralph Bean) + +* Sat May 5 2012 Michel Salim - 0.12.1-1 +- Initial package, based on vala-0.12.1-1 From 24eb0d8e9f4906d47ce108c42dc34fe643ac2127 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 12 May 2012 00:06:54 +0700 Subject: [PATCH 03/26] Remove subpackage-renaming logic; not needed since this is the first vala-compat release --- vala-compat.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/vala-compat.spec b/vala-compat.spec index 43961ab..18980d6 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -2,7 +2,7 @@ Name: vala-compat Version: 0.12.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -71,8 +71,6 @@ Group: Development/Languages License: LGPLv2+ Requires: %{name} = %{version}-%{release} Requires: gnome-common intltool libtool -Provides: %{name}-vapigen = %{version}-%{release} -Obsoletes: %{name}-vapigen < %{version}-%{release} %description tools Vala is a new programming language that aims to bring modern @@ -93,11 +91,6 @@ License: LGPLv2+ BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: devhelp -Provides: %{name}-docs = %{version}-%{release} -Obsoletes: %{name}-docs < %{version}-%{release} -# might seem redundant, but needed to kill off the old arch-ed -doc -# subpackage -Obsoletes: %{name}-doc < %{version}-%{release} %description doc @@ -249,6 +242,10 @@ done %changelog +* Fri May 11 2012 Michel Salim - 0.12.1-3 +- Remove subpackage-renaming logic; not needed since this is the first + vala-compat release + * Thu May 10 2012 Michel Salim - 0.12.1-2 - Reindent description texts to avoid long lines - Make alternative scriptlet less noisy (Ralph Bean) From e87e36fed3d05a9a2ae51e70c57c8939fd215aed Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 12 May 2012 00:06:54 +0700 Subject: [PATCH 04/26] Remove subpackage-renaming logic; not needed since this is the first vala-compat release --- vala-compat.spec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/vala-compat.spec b/vala-compat.spec index 6de9a8e..767fecc 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -2,7 +2,7 @@ Name: vala-compat Version: 0.16.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -71,8 +71,6 @@ Group: Development/Languages License: LGPLv2+ Requires: %{name} = %{version}-%{release} Requires: gnome-common intltool libtool pkgconfig -Provides: %{name}-vapigen = %{version}-%{release} -Obsoletes: %{name}-vapigen < %{version}-%{release} %description tools Vala is a new programming language that aims to bring modern @@ -93,11 +91,6 @@ License: LGPLv2+ BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: devhelp -Provides: %{name}-docs = %{version}-%{release} -Obsoletes: %{name}-docs < %{version}-%{release} -# might seem redundant, but needed to kill off the old arch-ed -doc -# subpackage -Obsoletes: %{name}-doc < %{version}-%{release} %description doc @@ -252,6 +245,10 @@ done %changelog +* Fri May 11 2012 Michel Salim - 0.16.0-3 +- Remove subpackage-renaming logic; not needed since this is the first + vala-compat release + * Thu May 10 2012 Michel Salim - 0.16.0-2 - Reindent description texts to avoid long lines - Make alternative scriptlet less noisy (Ralph Bean) From 380f77559c74d4a9e649599c1c93305e1604ff61 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 12 May 2012 11:05:43 +0700 Subject: [PATCH 05/26] Lower priority of alternatives to 10 (prioritize main vala package) - Remove upgrade-path workaround inherited from Vala --- vala-compat.spec | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/vala-compat.spec b/vala-compat.spec index 767fecc..890b773 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -1,8 +1,9 @@ %global api_ver 0.16 +%global priority 10 Name: vala-compat Version: 0.16.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -139,42 +140,25 @@ rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la /sbin/ldconfig for f in %{vala_binaries}; do - if [ -L /etc/alternatives/$f ]; - then - # older vala packages fail to remove alternatives on upgrade - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_bindir}/$f \ - $f %{_bindir}/$f-%{api_ver} 90 + $f %{_bindir}/$f-%{api_ver} %{priority} done for f in %{vala_manpages}; do - if [ -L /etc/alternatives/$f ]; - then - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ - $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz %{priority} done %posttrans tools for f in %{vala_tools_binaries}; do - if [ -L /etc/alternatives/$f ]; - then - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_bindir}/$f \ - $f %{_bindir}/$f-%{api_ver} 90 + $f %{_bindir}/$f-%{api_ver} %{priority} done for f in %{vala_tools_manpages}; do - if [ -L /etc/alternatives/$f ]; - then - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ - $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz %{priority} done %preun @@ -245,6 +229,10 @@ done %changelog +* Sat May 12 2012 Michel Salim - 0.16.0-4 +- Lower priority of alternatives to 10 (prioritize main vala package) +- Remove upgrade-path workaround inherited from Vala + * Fri May 11 2012 Michel Salim - 0.16.0-3 - Remove subpackage-renaming logic; not needed since this is the first vala-compat release From 8d997743a05cdbabd56162a96f3a5ea6249bd6db Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sat, 12 May 2012 11:05:43 +0700 Subject: [PATCH 06/26] Lower priority of alternatives to 10 (prioritize main vala package) - Remove upgrade-path workaround inherited from Vala --- vala-compat.spec | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/vala-compat.spec b/vala-compat.spec index 18980d6..c556964 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -1,8 +1,9 @@ %global api_ver 0.12 +%global priority 10 Name: vala-compat Version: 0.12.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -139,42 +140,25 @@ rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la /sbin/ldconfig for f in %{vala_binaries}; do - if [ -L /etc/alternatives/$f ]; - then - # older vala packages fail to remove alternatives on upgrade - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_bindir}/$f \ - $f %{_bindir}/$f-%{api_ver} 90 + $f %{_bindir}/$f-%{api_ver} %{priority} done for f in %{vala_manpages}; do - if [ -L /etc/alternatives/$f ]; - then - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ - $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz %{priority} done %posttrans tools for f in %{vala_tools_binaries}; do - if [ -L /etc/alternatives/$f ]; - then - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_bindir}/$f \ - $f %{_bindir}/$f-%{api_ver} 90 + $f %{_bindir}/$f-%{api_ver} %{priority} done for f in %{vala_tools_manpages}; do - if [ -L /etc/alternatives/$f ]; - then - %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) - fi %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ - $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz 90 + $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz %{priority} done %preun @@ -242,6 +226,10 @@ done %changelog +* Sat May 12 2012 Michel Salim - 0.12.1-4 +- Lower priority of alternatives to 10 (prioritize main vala package) +- Remove upgrade-path workaround inherited from Vala + * Fri May 11 2012 Michel Salim - 0.12.1-3 - Remove subpackage-renaming logic; not needed since this is the first vala-compat release From 36c40e7c9aad054bfcbbb09bab43177e168d80b8 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 21:23:10 -0500 Subject: [PATCH 07/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 890b773..225d71c 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.16.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -229,6 +229,9 @@ done %changelog +* Sun Jul 22 2012 Fedora Release Engineering - 0.16.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat May 12 2012 Michel Salim - 0.16.0-4 - Lower priority of alternatives to 10 (prioritize main vala package) - Remove upgrade-path workaround inherited from Vala From a4308ed4c3a76916ed954b85b51a6e7253c567bc Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 4 Sep 2012 08:17:22 +0700 Subject: [PATCH 08/26] Update to 0.16.1 --- .gitignore | 2 +- sources | 2 +- vala-compat.spec | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 5749cf8..3c7d88a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/vala-0.16.0.tar.xz +/vala-0.16.1.tar.xz diff --git a/sources b/sources index 997d3ad..1357ffd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -84b742e9cca4c90fde3026c3793c03c1 vala-0.16.0.tar.xz +a270330532ae7770ca64d9f2faff4a2d vala-0.16.1.tar.xz diff --git a/vala-compat.spec b/vala-compat.spec index 225d71c..15c6064 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -2,8 +2,8 @@ %global priority 10 Name: vala-compat -Version: 0.16.0 -Release: 5%{?dist} +Version: 0.16.1 +Release: 1%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -229,6 +229,9 @@ done %changelog +* Tue Sep 4 2012 Michel Salim - 0.16.1-1 +- Update to 0.16.1 + * Sun Jul 22 2012 Fedora Release Engineering - 0.16.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 2f776d54a7c0686eda3c9396156233e3bafc57e6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 20:37:16 -0600 Subject: [PATCH 09/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 15c6064..fb65e48 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.16.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -229,6 +229,9 @@ done %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 0.16.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Tue Sep 4 2012 Michel Salim - 0.16.1-1 - Update to 0.16.1 From 137f4f0e8f984de9f43d400af33f099df500d81d Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 5 Apr 2013 14:02:41 +0700 Subject: [PATCH 10/26] Update to 0.18.1 - Update description --- .gitignore | 2 +- sources | 2 +- vala-compat.spec | 42 +++++++++++++++++++++++------------------- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 3c7d88a..2208659 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/vala-0.16.1.tar.xz +/vala-0.18.1.tar.xz diff --git a/sources b/sources index 1357ffd..48e67d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a270330532ae7770ca64d9f2faff4a2d vala-0.16.1.tar.xz +494c2eaee2cd2bbc78fe3d1e495d1a02 vala-0.18.1.tar.xz diff --git a/vala-compat.spec b/vala-compat.spec index fb65e48..895ebdb 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -1,12 +1,11 @@ -%global api_ver 0.16 +%global api_ver 0.18 %global priority 10 Name: vala-compat -Version: 0.16.1 -Release: 2%{?dist} +Version: 0.18.1 +Release: 1%{?dist} Summary: A modern programming language for GNOME -Group: Development/Languages # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD License: LGPLv2+ and BSD URL: http://live.gnome.org/Vala @@ -14,7 +13,7 @@ URL: http://live.gnome.org/Vala # note: do not use a macro for directory name # as it breaks Colin Walters' automatic build script # see https://bugzilla.redhat.com/show_bug.cgi?id=609292 -Source0: http://download.gnome.org/sources/vala/0.16/vala-%{version}.tar.xz +Source0: http://download.gnome.org/sources/vala/0.18/vala-%{version}.tar.xz BuildRequires: flex BuildRequires: bison @@ -50,11 +49,13 @@ introspection is ready. The syntax of Vala is similar to C#, modified to better fit the GObject type system. +This package is provided to support applications that require API level +%{api_ver}. + %package devel Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Vala is a new programming language that aims to bring modern programming @@ -62,38 +63,35 @@ language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. -This package contains development files for %{name}. This is not -necessary for using the %{name} compiler. +This package contains development files for %{name} (API level +%{api_ver}). This is not necessary for using the %{name} compiler. %package tools Summary: Tools for creating projects and bindings for %{name} -Group: Development/Languages License: LGPLv2+ -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Requires: gnome-common intltool libtool pkgconfig +Requires: gobject-introspection-devel %description tools -Vala is a new programming language that aims to bring modern -programming language features to GNOME developers without imposing any -additional runtime requirements and without using a different ABI -compared to applications and libraries written in C. +Vala is a new programming language that aims to bring modern programming +language features to GNOME developers without imposing any additional +runtime requirements and without using a different ABI compared to +applications and libraries written in C. This package contains tools to generate Vala projects, as well as API -bindings from existing C libraries, allowing access from Vala -programs. +bindings from existing C libraries, allowing access from Vala programs. %package doc Summary: Documentation for %{name} -Group: Documentation License: LGPLv2+ BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: devhelp - %description doc Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional @@ -229,6 +227,12 @@ done %changelog +* Fri Apr 5 2013 Michel Alexandre Salim - 0.18.1-1 +- Update to 0.18.1 +- Update description +- Ensure tools pull in gobject-introspection-devel, since vapigen + needs .gir files (from vala-0.19.0-2) + * Fri Feb 15 2013 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 276c485df15215919aff150f4ff05b667d673e56 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 5 Apr 2013 14:16:06 +0700 Subject: [PATCH 11/26] Fix committer id --- vala-compat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 895ebdb..c6628f9 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -227,7 +227,7 @@ done %changelog -* Fri Apr 5 2013 Michel Alexandre Salim - 0.18.1-1 +* Fri Apr 5 2013 Michel Salim - 0.18.1-1 - Update to 0.18.1 - Update description - Ensure tools pull in gobject-introspection-devel, since vapigen From 961bbc2d511942c1f3c609732c6c064eb7733fda Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 5 Apr 2013 16:49:31 +0700 Subject: [PATCH 12/26] Correct source file From 7d8f65d40268f8f169657e6608ca5a836164af11 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 5 Apr 2013 17:07:12 +0700 Subject: [PATCH 13/26] Actually commit correct source file --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 48e67d1..d7a90c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -494c2eaee2cd2bbc78fe3d1e495d1a02 vala-0.18.1.tar.xz +0d684cbddd3a7655fe54c030e4183dbd vala-0.18.1.tar.xz From a7c450aa9d9b6a7678665d401d53d35245f580cd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 00:53:35 -0500 Subject: [PATCH 14/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index c6628f9..c02760b 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.18.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Fri Apr 5 2013 Michel Salim - 0.18.1-1 - Update to 0.18.1 - Update description From ab81db9d814c7f0d40427042ce53e8a67b9908b4 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 22:13:23 -0500 Subject: [PATCH 15/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index c02760b..ba7d530 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 0.18.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 0.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 3239cc938d444f87dd6369999d96b7ae8a844c2c Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 07:25:55 +0000 Subject: [PATCH 16/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index ba7d530..b8ac095 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 0.18.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 0.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From b13906e9ab82fdcf9bc2935cda9326bdf97c0a18 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 01:47:57 +0000 Subject: [PATCH 17/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index b8ac095..4975514 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 0.18.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Aug 18 2014 Fedora Release Engineering - 0.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From dcb4a04bc445ceb423ce973e7be356df517e5f68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:32:08 +0000 Subject: [PATCH 18/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 4975514..9d1d188 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 0.18.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 0.18.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From ecc262e4763c6fa7c93bed5533c70d47a20eb861 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 16:55:05 +0000 Subject: [PATCH 19/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 9d1d188..e64621b 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 0.18.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Feb 05 2016 Fedora Release Engineering - 0.18.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From a731a881acc83c662b09ecced6e18c53c8b15226 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:09:53 +0000 Subject: [PATCH 20/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index e64621b..393a543 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 0.18.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 0.18.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 4a61770c2146d6811577403a54e7d7e00bc6eb44 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 09:57:14 +0000 Subject: [PATCH 21/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 393a543..ecfaebc 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 0.18.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 0.18.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From c5854f86495949468f979d50589d50c49c902fb9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:17:33 +0000 Subject: [PATCH 22/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index ecfaebc..9040a26 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -227,6 +227,9 @@ done %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.18.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 0.18.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 7d81d3bb7206eac9c0f4b3db16db3255e460da85 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:53 +0200 Subject: [PATCH 23/26] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- vala-compat.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vala-compat.spec b/vala-compat.spec index 9040a26..03e867a 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -15,6 +15,7 @@ URL: http://live.gnome.org/Vala # see https://bugzilla.redhat.com/show_bug.cgi?id=609292 Source0: http://download.gnome.org/sources/vala/0.18/vala-%{version}.tar.xz +BuildRequires: gcc BuildRequires: flex BuildRequires: bison BuildRequires: glib2-devel From 49f5a635897063b09c3d5b621a68dde686edc9fa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:24:13 +0000 Subject: [PATCH 24/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index 03e867a..dfb9c69 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -228,6 +228,9 @@ done %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.18.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 0.18.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 9d99577254bc35cf22dc97c9f5444cef22893bca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:04:22 +0000 Subject: [PATCH 25/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vala-compat.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vala-compat.spec b/vala-compat.spec index dfb9c69..70f5493 100644 --- a/vala-compat.spec +++ b/vala-compat.spec @@ -3,7 +3,7 @@ Name: vala-compat Version: 0.18.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A modern programming language for GNOME # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD @@ -228,6 +228,9 @@ done %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.18.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 0.18.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From ca41b4f9ffff1e3cdc5bf11233110b7eb5176c3d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 8 Feb 2019 16:34:16 +0100 Subject: [PATCH 26/26] Old compatibility package, no longer used by anything --- .gitignore | 1 - dead.package | 1 + sources | 1 - vala-compat.spec | 292 ----------------------------------------------- 4 files changed, 1 insertion(+), 294 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 vala-compat.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2208659..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/vala-0.18.1.tar.xz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..7c44464 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Old compatibility package, no longer used by anything diff --git a/sources b/sources deleted file mode 100644 index d7a90c7..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -0d684cbddd3a7655fe54c030e4183dbd vala-0.18.1.tar.xz diff --git a/vala-compat.spec b/vala-compat.spec deleted file mode 100644 index 70f5493..0000000 --- a/vala-compat.spec +++ /dev/null @@ -1,292 +0,0 @@ -%global api_ver 0.18 -%global priority 10 - -Name: vala-compat -Version: 0.18.1 -Release: 12%{?dist} -Summary: A modern programming language for GNOME - -# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD -License: LGPLv2+ and BSD -URL: http://live.gnome.org/Vala -#VCS: git:git://git.gnome.org/vala -# note: do not use a macro for directory name -# as it breaks Colin Walters' automatic build script -# see https://bugzilla.redhat.com/show_bug.cgi?id=609292 -Source0: http://download.gnome.org/sources/vala/0.18/vala-%{version}.tar.xz - -BuildRequires: gcc -BuildRequires: flex -BuildRequires: bison -BuildRequires: glib2-devel -BuildRequires: libxslt -# only if Vala source files are patched -# BuildRequires: vala - -# for tests -# BuildRequires: dbus-x11 - -# alternatives -%global vala_binaries vala valac -%global vala_manpages valac -%global vala_tools_binaries vala-gen-introspect vapicheck vapigen -%global vala_tools_manpages vala-gen-introspect vapigen -Requires(posttrans): %{_sbindir}/alternatives -Requires(preun): %{_sbindir}/alternatives - - -%description -Vala is a new programming language that aims to bring modern programming -language features to GNOME developers without imposing any additional -runtime requirements and without using a different ABI compared to -applications and libraries written in C. - -valac, the Vala compiler, is a self-hosting compiler that translates -Vala source code into C source and header files. It uses the GObject -type system to create classes and interfaces declared in the Vala source -code. It's also planned to generate GIDL files when gobject- -introspection is ready. - -The syntax of Vala is similar to C#, modified to better fit the GObject -type system. - -This package is provided to support applications that require API level -%{api_ver}. - - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -Vala is a new programming language that aims to bring modern programming -language features to GNOME developers without imposing any additional -runtime requirements and without using a different ABI compared to -applications and libraries written in C. - -This package contains development files for %{name} (API level -%{api_ver}). This is not necessary for using the %{name} compiler. - - -%package tools -Summary: Tools for creating projects and bindings for %{name} -License: LGPLv2+ -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: gnome-common intltool libtool pkgconfig -Requires: gobject-introspection-devel - -%description tools -Vala is a new programming language that aims to bring modern programming -language features to GNOME developers without imposing any additional -runtime requirements and without using a different ABI compared to -applications and libraries written in C. - -This package contains tools to generate Vala projects, as well as API -bindings from existing C libraries, allowing access from Vala programs. - - -%package doc -Summary: Documentation for %{name} -License: LGPLv2+ - -BuildArch: noarch -Requires: %{name} = %{version}-%{release} -Requires: devhelp - -%description doc -Vala is a new programming language that aims to bring modern programming -language features to GNOME developers without imposing any additional -runtime requirements and without using a different ABI compared to -applications and libraries written in C. - -This package contains documentation in a devhelp HTML book. - - -%prep -%setup -q -n vala-%{version} - - -%build -%configure -# Don't use rpath! -sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool -make %{?_smp_mflags} - - -%install -make install DESTDIR=$RPM_BUILD_ROOT -# remove symlinks, using alternatives -for f in %{vala_binaries} %{vala_tools_binaries}; -do - rm $RPM_BUILD_ROOT%{_bindir}/$f - touch $RPM_BUILD_ROOT%{_bindir}/$f -done -for f in %{vala_manpages} %{vala_tools_manpages}; -do - rm $RPM_BUILD_ROOT%{_mandir}/man1/$f.1* - touch $RPM_BUILD_ROOT%{_mandir}/man1/$f.1.gz -done -# own this directory for third-party *.vapi files -mkdir -p $RPM_BUILD_ROOT%{_datadir}/vala/vapi -rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la - - -%check -# make check - - -%posttrans -/sbin/ldconfig -for f in %{vala_binaries}; -do - %{_sbindir}/alternatives --install %{_bindir}/$f \ - $f %{_bindir}/$f-%{api_ver} %{priority} -done -for f in %{vala_manpages}; -do - %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ - $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz %{priority} -done - -%posttrans tools -for f in %{vala_tools_binaries}; -do - %{_sbindir}/alternatives --install %{_bindir}/$f \ - $f %{_bindir}/$f-%{api_ver} %{priority} -done -for f in %{vala_tools_manpages}; -do - %{_sbindir}/alternatives --install %{_mandir}/man1/$f.1.gz \ - $f.1.gz %{_mandir}/man1/$f-%{api_ver}.1.gz %{priority} -done - -%preun -/sbin/ldconfig -for f in %{vala_binaries}; -do - %{_sbindir}/alternatives --remove $f \ - %{_bindir}/$f-%{api_ver} -done -for f in %{vala_manpages}; -do - %{_sbindir}/alternatives --remove $f.1.gz \ - %{_mandir}/man1/$f-%{api_ver}.1.gz -done - -%preun tools -for f in %{vala_tools_binaries}; -do - %{_sbindir}/alternatives --remove $f \ - %{_bindir}/$f-%{api_ver} -done -for f in %{vala_tools_manpages}; -do - %{_sbindir}/alternatives --remove $f.1.gz \ - %{_mandir}/man1/$f-%{api_ver}.1.gz -done - - -%files -%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README THANKS -%ghost %{_bindir}/vala -%ghost %{_bindir}/valac -%{_bindir}/vala-%{api_ver} -%{_bindir}/valac-%{api_ver} -# owning only the directories, they should be empty -%dir %{_datadir}/vala -%dir %{_datadir}/vala/vapi -%{_datadir}/vala-%{api_ver} -%{_libdir}/libvala-%{api_ver}.so.* -%ghost %{_mandir}/man1/valac.1.gz -%{_mandir}/man1/valac-%{api_ver}.1.gz - -%files devel -%{_includedir}/vala-%{api_ver} -%{_libdir}/libvala-%{api_ver}.so -%{_libdir}/pkgconfig/libvala-%{api_ver}.pc -# directory owned by filesystem -%{_datadir}/aclocal/vala.m4 -%{_datadir}/vala/Makefile.vapigen - -%files tools -%ghost %{_bindir}/vala-gen-introspect -%ghost %{_bindir}/vapicheck -%ghost %{_bindir}/vapigen -%{_bindir}/vala-gen-introspect-%{api_ver} -%{_bindir}/vapicheck-%{api_ver} -%{_bindir}/vapigen-%{api_ver} -%{_libdir}/vala-%{api_ver} -%{_datadir}/aclocal/vapigen.m4 -%{_datadir}/pkgconfig/vapigen*.pc -%ghost %{_mandir}/man1/vala-gen-introspect.1.gz -%ghost %{_mandir}/man1/vapigen.1.gz -%{_mandir}/man1/vala-gen-introspect-%{api_ver}.1.gz -%{_mandir}/man1/vapigen-%{api_ver}.1.gz - -%files doc -%doc %{_datadir}/devhelp/books/vala-%{api_ver} - - -%changelog -* Sun Feb 03 2019 Fedora Release Engineering - 0.18.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.18.1-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.18.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.18.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.18.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.18.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 0.18.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 0.18.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 0.18.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.18.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.18.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Apr 5 2013 Michel Salim - 0.18.1-1 -- Update to 0.18.1 -- Update description -- Ensure tools pull in gobject-introspection-devel, since vapigen - needs .gir files (from vala-0.19.0-2) - -* Fri Feb 15 2013 Fedora Release Engineering - 0.16.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Tue Sep 4 2012 Michel Salim - 0.16.1-1 -- Update to 0.16.1 - -* Sun Jul 22 2012 Fedora Release Engineering - 0.16.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat May 12 2012 Michel Salim - 0.16.0-4 -- Lower priority of alternatives to 10 (prioritize main vala package) -- Remove upgrade-path workaround inherited from Vala - -* Fri May 11 2012 Michel Salim - 0.16.0-3 -- Remove subpackage-renaming logic; not needed since this is the first - vala-compat release - -* Thu May 10 2012 Michel Salim - 0.16.0-2 -- Reindent description texts to avoid long lines -- Make alternative scriptlet less noisy (Ralph Bean) - -* Sat May 5 2012 Michel Salim - 0.16.0-1 -- Initial package, based on vala-0.16.0-4