[521] | 1 | %define captury_version 0.3.0 |
---|
| 2 | |
---|
| 3 | # Tarfile created using git |
---|
| 4 | # git clone git://gitorious.org/libcaptury/mainline.git libcaptury |
---|
| 5 | # cd libcaptury |
---|
| 6 | # git-archive --format=tar --prefix=libcaptury-%{captury_version}/ %{git_version} | bzip2 > libcaptury-%{captury_version}-%{gitdate}.tar.bz2 |
---|
| 7 | |
---|
| 8 | %define gitdate 20080323 |
---|
| 9 | %define git_version cca4e3c |
---|
| 10 | |
---|
| 11 | %define tarfile %{name}-%{captury_version}-%{gitdate}.tar.bz2 |
---|
| 12 | %define snapshot %{gitdate}git%{git_version} |
---|
| 13 | |
---|
| 14 | Summary: A library for X11/OpenGL video capturing framework |
---|
| 15 | Name: libcaptury |
---|
| 16 | Version: %{captury_version} |
---|
[6208] | 17 | Release: 0.%{snapshot}.3%{?_dist_release} |
---|
| 18 | |
---|
[521] | 19 | License: GPLv2+ |
---|
| 20 | Group: System Environment/Libraries |
---|
| 21 | URL: http://gitorious.org/projects/libcaptury/ |
---|
[6208] | 22 | |
---|
[521] | 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 24 | BuildRequires: autoconf |
---|
| 25 | BuildRequires: automake |
---|
| 26 | BuildRequires: libtool |
---|
| 27 | BuildRequires: pkgconfig |
---|
| 28 | BuildRequires: libcapseo-devel |
---|
| 29 | BuildRequires: libX11-devel |
---|
| 30 | BuildRequires: libXfixes-devel |
---|
| 31 | BuildRequires: libogg-devel |
---|
| 32 | |
---|
| 33 | # Fedora specific snapshot no upstream release (yet) |
---|
| 34 | Source0: %{tarfile} |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | Captury is a realtime multimedia capturing framework for currently |
---|
| 38 | OpenGL video (to be extended to XShm and audio/alsa soon). |
---|
| 39 | Its uses are e.g. for capturing video from external OpenGL applications |
---|
| 40 | (via captury itself) and is currently also used by KDE's kwin |
---|
| 41 | to record your desktop efficiently (VideoRecord plugin). |
---|
| 42 | |
---|
| 43 | Captury supports full encoding as well as incremential(!) encoding |
---|
| 44 | by only regions from the screen that have actually changed. |
---|
| 45 | Window managers (like kwin) do know of such areas and can make use of it. |
---|
| 46 | |
---|
| 47 | %package devel |
---|
| 48 | Summary: Developer and header files for captury |
---|
| 49 | Group: Development/Libraries |
---|
| 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | Requires: libcapseo-devel |
---|
| 52 | Requires: libXfixes-devel |
---|
| 53 | Requires: pkgconfig |
---|
| 54 | |
---|
| 55 | %description devel |
---|
| 56 | Developer and header files for the captury movie capturing |
---|
| 57 | framework. |
---|
| 58 | |
---|
| 59 | %prep |
---|
| 60 | %setup -q -n %{name}-%{version} |
---|
| 61 | ./autogen.sh |
---|
| 62 | |
---|
| 63 | %build |
---|
| 64 | %configure --disable-static |
---|
| 65 | make %{?_smp_mflags} |
---|
| 66 | |
---|
| 67 | %install |
---|
| 68 | rm -rf %{buildroot} |
---|
| 69 | make install DESTDIR=%{buildroot} |
---|
| 70 | |
---|
| 71 | rm -rf %{buildroot}/%{_libdir}/*.la |
---|
| 72 | |
---|
| 73 | %clean |
---|
| 74 | rm -rf %{buildroot} |
---|
| 75 | |
---|
| 76 | %post -p /sbin/ldconfig |
---|
| 77 | |
---|
| 78 | %postun -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | %files |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %doc AUTHORS COPYING |
---|
| 83 | %{_libdir}/*.so.* |
---|
| 84 | |
---|
| 85 | %files devel |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | %dir %{_includedir}/captury |
---|
| 88 | %{_includedir}/captury/*.h |
---|
| 89 | %{_libdir}/libcaptury.so |
---|
| 90 | %{_libdir}/pkgconfig/libcaptury.pc |
---|
| 91 | |
---|
| 92 | %changelog |
---|
[6208] | 93 | * Mon May 21 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0.20080323gitcca4e3c.3 |
---|
| 94 | - rebuild with rpm-4.8.1-3 |
---|
| 95 | |
---|
[1901] | 96 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.0-0.20080323gitcca4e3c.2 |
---|
| 97 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 98 | |
---|
[521] | 99 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.0-0.20080323gitcca4e3c.1 |
---|
| 100 | - Initial build for Vine Linux |
---|
| 101 | |
---|
| 102 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-0.4.20080323gitcca4e3c |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-0.3.20080323gitcca4e3c |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> 0.3.0-0.2.20080323gitcca4e3c |
---|
| 109 | - Include /usr/include/captury directory. |
---|
| 110 | |
---|
| 111 | * Sat May 3 2008 Shawn Starr <shawn.starr@rogers.com> 0.3.0-0.1.20080323gitcca4e3c |
---|
| 112 | - Initial Fedora package. |
---|