diff --git a/.gnome-dictionary.metadata b/.gnome-dictionary.metadata new file mode 100644 index 0000000..2ac9b99 --- /dev/null +++ b/.gnome-dictionary.metadata @@ -0,0 +1 @@ +04c8740cdf02eba6a6cbc9044e2abdde521f7987 SOURCES/gnome-dictionary-3.8.0.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/gnome-dictionary.spec b/SPECS/gnome-dictionary.spec new file mode 100644 index 0000000..dec23cc --- /dev/null +++ b/SPECS/gnome-dictionary.spec @@ -0,0 +1,113 @@ +%global _changelog_trimtime %(date +%s -d "1 year ago") + +Summary: A dictionary application for GNOME +Name: gnome-dictionary +Version: 3.8.0 +Release: 1%{?dist} +License: GPLv3+ and LGPLv2+ and GFDL +Group: Applications/Text +#VCS: git:git://git.gnome.org/gnome-dictionary +Source: http://download.gnome.org/sources/gnome-dictionary/3.8/gnome-dictionary-%{version}.tar.xz + +URL: http://www.gnome.org/ + +BuildRequires: gtk3-devel +BuildRequires: intltool +BuildRequires: itstool +BuildRequires: scrollkeeper +BuildRequires: desktop-file-utils +BuildRequires: docbook-dtds + +Obsoletes: gnome-utils <= 1:3.3 +Obsoletes: gnome-utils-libs <= 1:3.3 +Obsoletes: gnome-utils-devel <= 1:3.3 + +%description +gnome-dictionary lets you look up words in dictionary sources. + +%package devel +Summary: Development files for using libgdict +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +gnome-dictionary-devel contains header files and others that +are needed to build applications using the libgdict library. + +%prep +%setup -q + +%build +%configure +make %{_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop +%find_lang %{name} --with-gnome + +%post -p /sbin/ldconfig + +%postun +/sbin/ldconfig +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : +fi + +%posttrans +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : + +%files -f %{name}.lang +%doc NEWS AUTHORS README COPYING COPYING.libs COPYING.docs +%{_bindir}/gnome-dictionary +%{_datadir}/applications/gnome-dictionary.desktop +%{_datadir}/gdict-1.0 +%{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml +%{_datadir}/gnome-dictionary +%{_mandir}/man1/gnome-dictionary.1.gz +%{_libdir}/libgdict-1.0.so.* + +%files devel +%{_includedir}/gdict-1.0/ +%{_libdir}/libgdict-1.0.so +%{_libdir}/pkgconfig/gdict-1.0.pc +%{_datadir}/gtk-doc/html/gdict + + +%changelog +* Mon Jul 22 2013 Matthias Clasen - 3.8.0-1 +- Update to 3.8.0 +- Translation updates +- Rewritten help + +* Wed Jun 26 2013 Matthias Clasen - 3.6.0-3 +- Update the man page +- Trim %%changelog + +* Wed Feb 13 2013 Fedora Release Engineering - 3.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Sep 25 2012 Richard Hughes - 3.6.0-1 +- Update to 3.6.0 + +* Thu Jul 19 2012 Fedora Release Engineering - 3.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 07 2012 Richard Hughes - 3.5.2-1 +- Update to 3.5.2 + +* Tue Apr 24 2012 Kalev Lember - 3.4.0-2 +- Silence rpm scriptlet output + +* Tue Mar 27 2012 Kalev Lember - 3.4.0-1 +- Update to 3.4.0 + +* Fri Jan 13 2012 Fedora Release Engineering - 3.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Nov 10 2011 Matthias Clasen - 3.3.2-2 +- Obsolete all gnome-utils subpackages, and handle the epoch + +* Thu Nov 10 2011 Matthias Clasen - 3.3.2-1 +- Initial packaging