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