]> git.pld-linux.org Git - packages/gnome-subtitles.git/blobdiff - gnome-subtitles.spec
- lt/ac regeneration required to avoid BR: gcc-c++
[packages/gnome-subtitles.git] / gnome-subtitles.spec
index c8aef29f59e3cf180ac9bbebdff7262070dc808b..9e312ab32f31dc532d509f76f0d4d6c03c47ef65 100644 (file)
@@ -1,23 +1,34 @@
 #
 # TODO:        BRs
+#      separate package for libgstreamer_playbin.so
 #
+%include       /usr/lib/rpm/macros.mono
 Summary:       A subtitle editor for the GNOME desktop
 Summary(pl.UTF-8):     Edytor napisów dla środowiska GNOME
 Name:          gnome-subtitles
-Version:       0.4
-Release:       0.1
+Version:       0.8
+Release:       2
 License:       GPL v2
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/gnome-subtitles/%{name}-%{version}.tar.gz
-# Source0-md5: 5ae670478a278e83daf900a73dd906c9
-Patch0:                %{name}-sh_wrapper.patch
+# Source0-md5: 9590389ba91f9cfd94b6b36454dc2420
 URL:           http://gnome-subtitles.sourceforge.net/
-Requires:      mono
-Requires:      dotnet-gnome-sharp
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: dotnet-gnome-sharp-devel >= 2.16
-BuildRequires: dotnet-gtk-sharp2-devel >= 2.10
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.7
+BuildRequires: gnome-doc-utils >= 0.3.2
+BuildRequires: gstreamer-devel >= 0.10
+BuildRequires: gstreamer-plugins-base-devel >= 0.10
+BuildRequires: intltool
+BuildRequires: libtool
+BuildRequires: mono-csharp
+BuildRequires: rpmbuild(monoautodeps)
+BuildRequires: sublib-devel >= 0.9
+Requires:      enchant
+Requires:      dotnet-gnome-sharp >= 2.16
+Requires:      dotnet-gtk-sharp2 >= 2.12.7
+Requires:      gtkspell
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,12 +43,12 @@ modyfikowanie, konwersję i synchronizację napisów.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__aclocal}
+cd gstreamer-playbin-0.2.1
+%{__libtoolize}
 %{__autoconf}
-%{__automake}
+cd ..
 %configure
 %{__make}
 
@@ -47,17 +58,21 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{find_lang} %{name} --with-gnome --with-omf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README TODO
+%doc AUTHORS CREDITS ChangeLog NEWS README
 %config(noreplace) %verify(not md5 mtime size) /etc/gconf/schemas/%{name}.schemas
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*.dll*
 %attr(755,root,root) %{_libdir}/%{name}/*.exe
+%attr(755,root,root) %{_libdir}/%{name}/libgstreamer_playbin.so
+%{_libdir}/%{name}/*.exe.config
 %{_mandir}/man1/*.1*
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*.png
This page took 0.056092 seconds and 4 git commands to generate.